![]() |
VR-Link API Documentation for DIS
|
Instances of DtReflectedDesignator represent designator object simulated by remote applications. More...
Inheritance diagram for DtReflectedDesignator:
Collaboration diagram for DtReflectedDesignator:Public Types | |
| typedef DtDesignatorRepository *(* | DtStateRepCreator )() |
| Function prototype for functions that create DtDesignatorRepositories. | |
Public Member Functions | |
| DtReflectedDesignator (DtExerciseConn *conn, const DtGlobalObjectDesignator &designatingEntity, int designatorCode) | |
| Constructor. | |
| virtual | ~DtReflectedDesignator () |
| Destructor. | |
| virtual DtDesignatorRepository * | designatorRep () const |
| Get the designator's state repository. | |
| virtual DtDesignatorRepository * | dsr () const |
| Synonym for designatorRep(). | |
| virtual DtStateRepository * | stateRep () const |
| Returns a pointer to the StateRepository through which you can inspect current state information. | |
| virtual DtDesignatorDecoder * | decoder () |
| Returns a pointer to the Decoder being used to decode state messages. | |
| virtual void | processStateMessage (const DtStateMsg &msg) |
| Overrides the implementation of the base class. | |
| virtual DtReflectedDesignator * | next () const |
| Get the next remote designator. | |
| virtual DtReflectedDesignator * | prev () const |
| Get the previous remote designator. | |
| virtual DtReflectedDesignator * | wrapNext () const |
| Get the next remote designator. | |
| virtual DtReflectedDesignator * | wrapPrev () const |
| Get the previous remote designator. | |
| virtual void | addPostUpdateCallback (DtDesignatorCallbackFunction cb, void *userData) |
| Designator state callback registration/deregistration. | |
| virtual void | removePostUpdateCallback (DtDesignatorCallbackFunction cb, void *userData) |
| virtual const DtBaseHashKey & | hashKey () const |
| Get a hash key for this object. | |
| virtual DtString | idString () const |
| Get a string identification of this object. | |
| virtual const DtGlobalObjectDesignator & | globalId () const |
| Get the designator entityId - for DIS, it's the same as its DtEntityIdentifier. | |
Static Public Member Functions | |
| static void | setStateRepCreator (DtStateRepCreator creator) |
| Give us a function to be used for creating SRs. | |
| static DtStateRepCreator | stateRepCreator (void) |
Protected Member Functions | |
| DtReflectedDesignator (const DtReflectedDesignator &) | |
| Copy constructor - not implemented. | |
| DtReflectedDesignator & | operator= (const DtReflectedDesignator &) |
| Assignment operator - not implemented. | |
Protected Attributes | |
| DtSystemHashKey | myHashKey |
| DtString | myIdString |
| DtDesignatorRepository * | myStateRepository |
| DtDesignatorDecoder | myDecoder |
Static Protected Attributes | |
| static DtStateRepCreator | theStateRepCreator |
Instances of DtReflectedDesignator represent designator object simulated by remote applications.
State data can be viewed through its state repository.
Function prototype for functions that create DtDesignatorRepositories.
| DtReflectedDesignator::DtReflectedDesignator | ( | DtExerciseConn * | conn, |
| const DtGlobalObjectDesignator & | designatingEntity, | ||
| int | designatorCode | ||
| ) |
Constructor.
| virtual DtReflectedDesignator::~DtReflectedDesignator | ( | ) | [virtual] |
Destructor.
| DtReflectedDesignator::DtReflectedDesignator | ( | const DtReflectedDesignator & | ) | [protected] |
Copy constructor - not implemented.
| virtual void DtReflectedDesignator::addPostUpdateCallback | ( | DtDesignatorCallbackFunction | cb, |
| void * | userData | ||
| ) | [virtual] |
Designator state callback registration/deregistration.
| virtual DtDesignatorDecoder* DtReflectedDesignator::decoder | ( | ) | [inline, virtual] |
Returns a pointer to the Decoder being used to decode state messages.
| virtual DtDesignatorRepository* DtReflectedDesignator::designatorRep | ( | ) | const [inline, virtual] |
Get the designator's state repository.
| virtual DtDesignatorRepository* DtReflectedDesignator::dsr | ( | ) | const [inline, virtual] |
Synonym for designatorRep().
| virtual const DtGlobalObjectDesignator& DtReflectedDesignator::globalId | ( | ) | const [virtual] |
Get the designator entityId - for DIS, it's the same as its DtEntityIdentifier.
Implements DtReflectedObject.
| virtual const DtBaseHashKey& DtReflectedDesignator::hashKey | ( | ) | const [inline, virtual] |
Get a hash key for this object.
Implements DtReflectedObject.
| virtual DtString DtReflectedDesignator::idString | ( | ) | const [inline, virtual] |
Get a string identification of this object.
Implements DtReflectedObject.
| virtual DtReflectedDesignator* DtReflectedDesignator::next | ( | ) | const [virtual] |
Get the next remote designator.
Reimplemented from DtListedObj.
| DtReflectedDesignator& DtReflectedDesignator::operator= | ( | const DtReflectedDesignator & | ) | [protected] |
Assignment operator - not implemented.
| virtual DtReflectedDesignator* DtReflectedDesignator::prev | ( | ) | const [virtual] |
Get the previous remote designator.
Reimplemented from DtListedObj.
| virtual void DtReflectedDesignator::processStateMessage | ( | const DtStateMsg & | msg | ) | [virtual] |
Overrides the implementation of the base class.
Processes a Designator PDU.
Reimplemented from DtReflectedObject.
| virtual void DtReflectedDesignator::removePostUpdateCallback | ( | DtDesignatorCallbackFunction | cb, |
| void * | userData | ||
| ) | [virtual] |
| static void DtReflectedDesignator::setStateRepCreator | ( | DtStateRepCreator | creator | ) | [static] |
Give us a function to be used for creating SRs.
| virtual DtStateRepository* DtReflectedDesignator::stateRep | ( | ) | const [inline, virtual] |
Returns a pointer to the StateRepository through which you can inspect current state information.
Implementation for abstract base class.
Implements DtReflectedObject.
| static DtStateRepCreator DtReflectedDesignator::stateRepCreator | ( | void | ) | [static] |
| virtual DtReflectedDesignator* DtReflectedDesignator::wrapNext | ( | ) | const [virtual] |
Get the next remote designator.
If at the end, it will cycle back to the first remote designator.
Reimplemented from DtListedObj.
| virtual DtReflectedDesignator* DtReflectedDesignator::wrapPrev | ( | ) | const [virtual] |
Get the previous remote designator.
If at the beginning, it will cycle back to the last remote designator.
Reimplemented from DtListedObj.
DtDesignatorDecoder DtReflectedDesignator::myDecoder [protected] |
DtSystemHashKey DtReflectedDesignator::myHashKey [protected] |
DtString DtReflectedDesignator::myIdString [protected] |
DtStateRepCreator DtReflectedDesignator::theStateRepCreator [static, protected] |