engine
Class ValueChangeMonitor
java.lang.Object
|
+--engine.ValueChangeMonitor
- class ValueChangeMonitor
- extends java.lang.Object
- implements Monitor
It's is a monitor that watches for the change of an expression,
and then wakes up the associated thread (and, now and then,
it gets stuck, i don't jnow why...)
|
Method Summary |
(package private) void |
attach(java.lang.Object semaphore)
|
(package private) void |
consume()
|
(package private) void |
detach()
|
(package private) boolean |
isTriggd()
|
java.lang.String |
toString()
|
void |
trigger()
|
| Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
wait,
wait,
wait |
ns
NameSpace ns
target
Expression target
lastValue
BitVector lastValue
curValue
BitVector curValue
lastTime
long lastTime
waiter
java.lang.Object waiter
isOn
volatile boolean isOn
EVT_CHANGE
static final int EVT_CHANGE
EVT_POSEDGE
static final int EVT_POSEDGE
EVT_NEGEDGE
static final int EVT_NEGEDGE
mask
int mask
ValueChangeMonitor
ValueChangeMonitor(NameSpace ns,
Expression target,
int mask)
trigger
public void trigger()
throws InterpretTimeException
- Specified by:
- trigger in interface Monitor
attach
void attach(java.lang.Object semaphore)
consume
void consume()
detach
void detach()
isTriggd
boolean isTriggd()
toString
public java.lang.String toString()
- Overrides:
- toString in class java.lang.Object