![]() |
VR-Link API Documentation for HLA 1516
|
Instances of DtReflectAttributeValuesCbList are used to provide a list of callbacks (DtReflectAttributeValuesCbInfo) which are called when attributes change for an object in a federation. More...
Collaboration diagram for DtReflectAttributeValuesCbList:Public Member Functions | |
| DtReflectAttributeValuesCbList () | |
| default constructor | |
| virtual | ~DtReflectAttributeValuesCbList () |
| destructor | |
| DtReflectAttributeValuesCbList (const DtReflectAttributeValuesCbList &orig) | |
| copy constructor | |
| DtReflectAttributeValuesCbList & | operator= (const DtReflectAttributeValuesCbList &orig) |
| assignment operator | |
| virtual int | add (RTI::ObjectInstanceHandle id, DtReflectAttributeValuesCb cb, void *usr) |
| Add/Remove a reflect attribute callback to/from the list. | |
| virtual int | remove (RTI::ObjectInstanceHandle id, DtReflectAttributeValuesCb cb, void *usr) |
| virtual void | clear () |
| Remove all callbacks from the list. | |
| virtual void | apply (const DtStateMsg &msg) |
| State messages are for a specific object id. | |
Protected Member Functions | |
| void | dtorClear () |
| Remove all callbacks from the list. | |
| void | ctorCopyList (const DtReflectAttributeValuesCbList &orig) |
| Copy another callback list into this object's callback list. | |
Protected Attributes | |
| DtList | myList |
Instances of DtReflectAttributeValuesCbList are used to provide a list of callbacks (DtReflectAttributeValuesCbInfo) which are called when attributes change for an object in a federation.
default constructor
| virtual DtReflectAttributeValuesCbList::~DtReflectAttributeValuesCbList | ( | ) | [virtual] |
destructor
| DtReflectAttributeValuesCbList::DtReflectAttributeValuesCbList | ( | const DtReflectAttributeValuesCbList & | orig | ) |
copy constructor
| virtual int DtReflectAttributeValuesCbList::add | ( | RTI::ObjectInstanceHandle | id, |
| DtReflectAttributeValuesCb | cb, | ||
| void * | usr | ||
| ) | [virtual] |
Add/Remove a reflect attribute callback to/from the list.
Returns whether add/remove took place.
| virtual void DtReflectAttributeValuesCbList::apply | ( | const DtStateMsg & | msg | ) | [virtual] |
State messages are for a specific object id.
Callbacks are for a particular object id. Call any callbacks in the list for the object id specified in the state message.
| virtual void DtReflectAttributeValuesCbList::clear | ( | ) | [virtual] |
Remove all callbacks from the list.
| void DtReflectAttributeValuesCbList::ctorCopyList | ( | const DtReflectAttributeValuesCbList & | orig | ) | [protected] |
Copy another callback list into this object's callback list.
Non-virtual, since meant to be called from ctor.
| void DtReflectAttributeValuesCbList::dtorClear | ( | ) | [protected] |
Remove all callbacks from the list.
Non-virtual, since meant to be called from dtor, otherwise should call clear().
| DtReflectAttributeValuesCbList& DtReflectAttributeValuesCbList::operator= | ( | const DtReflectAttributeValuesCbList & | orig | ) |
assignment operator
| virtual int DtReflectAttributeValuesCbList::remove | ( | RTI::ObjectInstanceHandle | id, |
| DtReflectAttributeValuesCb | cb, | ||
| void * | usr | ||
| ) | [virtual] |
DtList DtReflectAttributeValuesCbList::myList [protected] |