![]() |
VR-Link API Documentation for HLA 1516
|
Instances of DtReflectedEntity are used to represent a simulation entity reflected across a network (i.e. More...
Inheritance diagram for DtReflectedEntity:
Collaboration diagram for DtReflectedEntity:Public Types | |
| typedef DtEntityStateRepository *(* | DtStateRepCreator )() |
| Function prototype for functions that create DtEntityStateRepositories. | |
| typedef DtStateRepCreator | DtEsrCreator |
Public Member Functions | |
| DtReflectedEntity (DtHlaObject *obj, DtExerciseConn *conn) | |
| constructor | |
| DtReflectedEntity (DtExerciseConn *conn, DtEntityStateRepository *esrToUse) | |
| Constructor with state rep to use passed in Note that setHlaObject() should be called after a reflected entity is created with this method. | |
| DtReflectedEntity (DtHlaObject *obj, DtExerciseConn *conn, DtBaseStateRepCreator esrToUse) | |
| Constructor with entity state repository creator passed in. | |
| virtual | ~DtReflectedEntity () |
| destructor | |
| virtual DtEntityStateRepository * | entityStateRep () const |
| Returns a pointer to the EntityStateRepository - through which you can inspect current state information. | |
| virtual DtEntityStateRepository * | esr () const |
| Synonym for entityStateRep(). | |
| virtual DtReflectedEntity * | next () const |
| Get the next remote entity. | |
| virtual DtReflectedEntity * | prev () const |
| Get the previous remote entity. | |
| virtual DtReflectedEntity * | wrapNext () const |
| Get the next remote entity. | |
| virtual DtReflectedEntity * | wrapPrev () const |
| Get the previous remote entity. | |
| virtual void | addPostUpdateCallback (DtEntityCallbackFunction cb, void *userData) |
| Entity state callback registration/deregistration. | |
| virtual void | removePostUpdateCallback (DtEntityCallbackFunction cb, void *userData) |
| virtual RTI::ObjectInstanceHandle | entityObjectId () const |
| For backwards compatibility. Use id() instead. | |
Static Public Member Functions | |
| static DtStateRepCreator | setStateRepCreator (DtStateRepCreator creator) |
| Give us a function to be used for creating SRs. | |
| static DtEsrCreator | setEsrCreator (DtEsrCreator creator) |
| For backwards compatibility. | |
Protected Member Functions | |
| DtReflectedEntity (const DtReflectedEntity &orig) | |
| copy constructor -- Not Implemented | |
| DtReflectedEntity & | operator= (const DtReflectedEntity &orig) |
| assignment operator -- Not Implemented | |
Static Protected Attributes | |
| static DtStateRepCreator | theStateRepCreator |
Instances of DtReflectedEntity are used to represent a simulation entity reflected across a network (i.e.
this is not a full simulation running on this machine).
| typedef DtEntityStateRepository*(* DtReflectedEntity::DtStateRepCreator)() |
Function prototype for functions that create DtEntityStateRepositories.
| DtReflectedEntity::DtReflectedEntity | ( | DtHlaObject * | obj, |
| DtExerciseConn * | conn | ||
| ) |
constructor
| DtReflectedEntity::DtReflectedEntity | ( | DtExerciseConn * | conn, |
| DtEntityStateRepository * | esrToUse | ||
| ) |
Constructor with state rep to use passed in Note that setHlaObject() should be called after a reflected entity is created with this method.
| DtReflectedEntity::DtReflectedEntity | ( | DtHlaObject * | obj, |
| DtExerciseConn * | conn, | ||
| DtBaseStateRepCreator | esrToUse | ||
| ) |
Constructor with entity state repository creator passed in.
| virtual DtReflectedEntity::~DtReflectedEntity | ( | ) | [virtual] |
destructor
| DtReflectedEntity::DtReflectedEntity | ( | const DtReflectedEntity & | orig | ) | [protected] |
copy constructor -- Not Implemented
| virtual void DtReflectedEntity::addPostUpdateCallback | ( | DtEntityCallbackFunction | cb, |
| void * | userData | ||
| ) | [virtual] |
Entity state callback registration/deregistration.
| virtual RTI::ObjectInstanceHandle DtReflectedEntity::entityObjectId | ( | ) | const [virtual] |
For backwards compatibility. Use id() instead.
| DtEntityStateRepository * DtReflectedEntity::entityStateRep | ( | ) | const [inline, virtual] |
Returns a pointer to the EntityStateRepository - through which you can inspect current state information.
References DtReflectedObject::myStateRep.
| DtEntityStateRepository * DtReflectedEntity::esr | ( | ) | const [inline, virtual] |
Synonym for entityStateRep().
References DtReflectedObject::myStateRep.
| virtual DtReflectedEntity* DtReflectedEntity::next | ( | ) | const [virtual] |
Get the next remote entity.
Reimplemented from DtListedObj.
| DtReflectedEntity& DtReflectedEntity::operator= | ( | const DtReflectedEntity & | orig | ) | [protected] |
assignment operator -- Not Implemented
| virtual DtReflectedEntity* DtReflectedEntity::prev | ( | ) | const [virtual] |
Get the previous remote entity.
Reimplemented from DtListedObj.
| virtual void DtReflectedEntity::removePostUpdateCallback | ( | DtEntityCallbackFunction | cb, |
| void * | userData | ||
| ) | [virtual] |
| static DtEsrCreator DtReflectedEntity::setEsrCreator | ( | DtEsrCreator | creator | ) | [static] |
For backwards compatibility.
Use setStateRepCreator instead. method setEsrCreator is deprecated and will be removed in the future
| static DtStateRepCreator DtReflectedEntity::setStateRepCreator | ( | DtStateRepCreator | creator | ) | [static] |
Give us a function to be used for creating SRs.
| virtual DtReflectedEntity* DtReflectedEntity::wrapNext | ( | ) | const [virtual] |
Get the next remote entity.
Will cycle back to the first remote entity.
Reimplemented from DtListedObj.
| virtual DtReflectedEntity* DtReflectedEntity::wrapPrev | ( | ) | const [virtual] |
Get the previous remote entity.
Will cycle back to the last remote entity.
Reimplemented from DtListedObj.
DtStateRepCreator DtReflectedEntity::theStateRepCreator [static, protected] |