![]() |
VR-Forces 5.0.3 Developer's Guide
|
DtDetonationTimerData; Container holding a detonation interaction and user data.
DtDetonationTimerData contains a pointer to a detonation interaction and a usr data ptr (usually the 'this' ptr of the instance registering the detonation) to use as user data for a timer. Generally this class is used when a detonation interaction needs to be scheduled for a later time. To make it easier for users of this class to "hand-off" their detonations, this class assumes ownership of the pointers, and will garbage collect them in its destructor.
Public Member Functions | |
| DtDetonationTimerData () | |
| DtDetonationTimerData (const DtDetonationTimerData &orig) | |
| const DtDetonationTimerData & | operator= (const DtDetonationTimerData &orig) |
| virtual | ~DtDetonationTimerData () |
| virtual void * | userData () const |
| virtual void | setUserData (void *userData) |
| virtual makVrfEvents::DtDetonationEvent * | detonation () const |
| virtual void | setDetonation (makVrfEvents::DtDetonationEvent *detonation) |
Protected Attributes | |
| void * | myUserData |
| makVrfEvents::DtDetonationEvent * | myDetonation |
| DtDetonationTimerData::DtDetonationTimerData | ( | ) |
constructor
| DtDetonationTimerData::DtDetonationTimerData | ( | const DtDetonationTimerData & | orig | ) |
copy constructor
|
virtual |
destructor - destroys myDetonation
| const DtDetonationTimerData& DtDetonationTimerData::operator= | ( | const DtDetonationTimerData & | orig | ) |
assignment operator
|
virtual |
Accessor/mutator for myDetonation. DtDetonationTimerData will assume ownership of this pointer and it will be garbage collected in the destructor.
|
virtual |
Accessor/mutator for myDetonation. DtDetonationTimerData will assume ownership of this pointer and it will be garbage collected in the destructor.
|
virtual |
|
virtual |
|
protected |
|
protected |