class DtSimTrigger:
More...
Detailed Description
class DtSimTrigger:
Instances of DtSimTrigger represent pending triggers (triggers that have been registered by execution of a "When" statement).
Constructor & Destructor Documentation
| DtSimTrigger::DtSimTrigger |
( |
| ) |
|
| virtual DtSimTrigger::~DtSimTrigger |
( |
| ) |
|
|
virtual |
Member Function Documentation
Assignment operator (Note: this will NOT copy the plan pointer, and they had better not match!)
| virtual void DtSimTrigger::tick |
( |
| ) |
|
|
virtual |
Test the condition, and activate the trigger if true.
| virtual bool DtSimTrigger::testCondition |
( |
| ) |
|
|
virtual |
Check the current state of the When statement's test.
| virtual void DtSimTrigger::activate |
( |
| ) |
|
|
virtual |
Unconditionally fire the trigger, and set the isDone flag.
| virtual DtString DtSimTrigger::triggerOption |
( |
| ) |
const |
|
virtual |
| virtual void DtSimTrigger::translateInto |
( |
const DtSimBlock & |
newBlock | ) |
|
|
virtual |
Translate the When statement index to point into the new block.
| virtual DtPlan* DtSimTrigger::plan |
( |
| ) |
const |
|
virtual |
| virtual void DtSimTrigger::setPlan |
( |
DtPlan * |
arg | ) |
|
|
virtual |
When the Plan is set, this Trigger will be registered with the new Plan.
| virtual bool DtSimTrigger::enabled |
( |
| ) |
const |
|
virtual |
| virtual void DtSimTrigger::setEnabled |
( |
bool |
arg | ) |
|
|
virtual |
| virtual bool DtSimTrigger::isDone |
( |
| ) |
const |
|
virtual |
This function indicates that the trigger will not fire again and should be deleted by the Plan at the earliest opportunity.
| virtual void DtSimTrigger::setIsDone |
( |
bool |
arg | ) |
|
|
virtual |
| virtual char* DtSimTrigger::netRep |
( |
| ) |
|
|
virtual |
| virtual int DtSimTrigger::netRepSize |
( |
| ) |
const |
|
virtual |
returns the size of the full network representation padded to an 8-byte boundary.
| virtual bool DtSimTrigger::setFromNet |
( |
const char * |
contentBuffer, |
|
|
unsigned |
contentSize |
|
) |
| |
|
virtual |
Fills in the request from the network buffer.
| virtual bool DtSimTrigger::setToNet |
( |
| ) |
|
|
virtual |
Fills in the network buffer (created by base class sim statement) with the set data request contents.
| virtual char* DtSimTrigger::createNetworkBuffer |
( |
| ) |
|
|
protectedvirtual |
| virtual void DtSimTrigger::reregisterIfNeeded |
( |
| ) |
|
|
protectedvirtual |
Member Data Documentation
| bool DtSimTrigger::myEnabled |
|
protected |
| bool DtSimTrigger::myIsDone |
|
protected |
| char* DtSimTrigger::myNetRep |
|
protected |
The documentation for this class was generated from the following file:
- /exports/nfedora7-1/nightly/docs/vrforcesDevelopment.tot/include/vrfplan/simTrigger.h