com.newisys.ova
Class OVAAssertCallback

java.lang.Object
  extended by com.newisys.ova.OVAAssertCallback

public abstract class OVAAssertCallback
extends Object

Class providing basic callback functionality for OVAAssert objects. Classes deriving from this class override run(com.newisys.ova.OVAAssert, com.newisys.ova.OVAAssertEventType, com.newisys.verilog.VerilogTime, long).


Method Summary
 int hashCode()
          
abstract  void run(OVAAssert ovaAssert, OVAAssertEventType eventType, com.newisys.verilog.VerilogTime simTime, long attemptID)
          Contains the actual callback handler code.
 
Methods inherited from class java.lang.Object
equals, getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

run

public abstract void run(OVAAssert ovaAssert,
                         OVAAssertEventType eventType,
                         com.newisys.verilog.VerilogTime simTime,
                         long attemptID)
Contains the actual callback handler code. This handler is registered with an OVAEvent via OVAAssert.addListener(OVAAssertEventType, OVAAssertCallback). Once registered, this method will be called each time the specified event type occurs for that OVAAssert. This handler may be registered with multiple event types and will be called when each type occurs.

Parameters:
ovaAssert - the OVAAssert associated with this callback.
eventType - the event type that occurred for ovaAssert
simTime - the time at which the event occurred
attemptID - the attempt identifier associated with the event

hashCode

public final int hashCode()

Overrides:
hashCode in class Object