VR-Link API Documentation for DIS
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes
DtReflectedDesignator Class Reference

Instances of DtReflectedDesignator represent designator object simulated by remote applications. More...

+ Inheritance diagram for DtReflectedDesignator:
+ Collaboration diagram for DtReflectedDesignator:

List of all members.

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 DtDesignatorRepositorydesignatorRep () const
 Get the designator's state repository.
virtual DtDesignatorRepositorydsr () const
 Synonym for designatorRep().
virtual DtStateRepositorystateRep () const
 Returns a pointer to the StateRepository through which you can inspect current state information.
virtual DtDesignatorDecoderdecoder ()
 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 DtReflectedDesignatornext () const
 Get the next remote designator.
virtual DtReflectedDesignatorprev () const
 Get the previous remote designator.
virtual DtReflectedDesignatorwrapNext () const
 Get the next remote designator.
virtual DtReflectedDesignatorwrapPrev () 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 DtBaseHashKeyhashKey () 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.
DtReflectedDesignatoroperator= (const DtReflectedDesignator &)
 Assignment operator - not implemented.

Protected Attributes

DtSystemHashKey myHashKey
DtString myIdString
DtDesignatorRepositorymyStateRepository
DtDesignatorDecoder myDecoder

Static Protected Attributes

static DtStateRepCreator theStateRepCreator

Detailed Description

Instances of DtReflectedDesignator represent designator object simulated by remote applications.

State data can be viewed through its state repository.


Member Typedef Documentation

Function prototype for functions that create DtDesignatorRepositories.


Constructor & Destructor Documentation

DtReflectedDesignator::DtReflectedDesignator ( DtExerciseConn conn,
const DtGlobalObjectDesignator designatingEntity,
int  designatorCode 
)

Constructor.

Destructor.

Copy constructor - not implemented.


Member Function Documentation

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]

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.

Get the next remote designator.

If at the end, it will cycle back to the first remote designator.

Reimplemented from DtListedObj.

Get the previous remote designator.

If at the beginning, it will cycle back to the last remote designator.

Reimplemented from DtListedObj.


Member Data Documentation


The documentation for this class was generated from the following file:

Document ID: Generated on Mon May 14 08:06:18 EDT 2012 from SVN revision 114750
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)