VR-Link API Documentation for HLA 1516
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Attributes
DtReflectedPointObject Class Reference

class DtReflectedPointObject: More...

+ Inheritance diagram for DtReflectedPointObject:
+ Collaboration diagram for DtReflectedPointObject:

Public Types

typedef DtPointObjectRepository *(* DtStateRepCreator )()
 Function prototype for functions that create DtPointObjectRepositories. More...
 
- Public Types inherited from DtReflectedObject
typedef DtStateRepository *(* DtBaseStateRepCreator )()
 Function prototype for functions that create DtStateRepositories. More...
 

Public Member Functions

 DtReflectedPointObject (DtHlaObject *obj, DtExerciseConn *conn)
 constructor More...
 
virtual ~DtReflectedPointObject ()
 destructor More...
 
virtual DtPointObjectRepositorypointObjectRep () const
 Get the point object's state repository. More...
 
virtual DtPointObjectRepositoryposr () const
 Synonym for pointObjectRep(). More...
 
virtual DtReflectedPointObjectnext () const
 Get the next remote point object. More...
 
virtual DtReflectedPointObjectprev () const
 Get the previous remote point object. More...
 
virtual DtReflectedPointObjectwrapNext () const
 Get the next remote point object. More...
 
virtual DtReflectedPointObjectwrapPrev () const
 Get the previous remote point object. More...
 
virtual void addPostUpdateCallback (DtPointObjectCallbackFunction cb, void *userData)
 Point object state callback registration/deregistration. More...
 
virtual void removePostUpdateCallback (DtPointObjectCallbackFunction cb, void *userData)
 
- Public Member Functions inherited from DtReflectedObject
 DtReflectedObject (DtExerciseConn *conn, DtStateRepository *stateRep)
 Primary constructor. More...
 
 DtReflectedObject (DtHlaObject *obj, DtExerciseConn *conn, DtBaseStateRepCreator creator)
 Older constructor. More...
 
 DtReflectedObject (const DtObjectId &id, const DtGlobalObjectDesignator &des, DtExerciseConn *conn, DtBaseStateRepCreator creator)
 Older constructor. More...
 
virtual ~DtReflectedObject ()
 destructor More...
 
virtual DtStateRepositorystateRep () const
 Returns a pointer to the StateRepository - through which you can inspect current state information. More...
 
virtual DtStateRepositorysr () const
 Synonym for stateRep(). More...
 
virtual DtHlaStateDecoderdecoder ()
 Returns a pointer to the Decoder being used to decode state messages into our SR. More...
 
virtual DtHlaObjectWithStateRephlaObject () const
 Get the entity's hlaObject (DtHlaObjectWithStateRep is derived from DtHlaObject). More...
 
virtual const DtObjectIdobjectId () const
 Get the HLA object's id. More...
 
virtual const DtObjectIdid () const
 Get the HLA object's id (local ID). More...
 
virtual const DtObjectIdlocalId () const
 Get the HLA object's id (local ID). More...
 
virtual const DtStringname () const
 Get the HLA object name. More...
 
virtual const
DtGlobalObjectDesignator
globalId () const
 Get the HLA object's global object designator - the object name in HLA. More...
 
virtual DtTime lastSimTimeUpdated () const
 Returns the value of simulation time at the time an update was last received for the entity. More...
 
virtual DtTime lastReceivedTimeStamp () const
 Returns the value of the time send in the last Update received for this entity. More...
 
virtual void baseAddPostUpdateCallback (DtReflectedObjectCallbackFunction cb, void *userData)
 Object state callback registration/deregistration. More...
 
virtual void baseRemovePostUpdateCallback (DtReflectedObjectCallbackFunction cb, void *userData)
 
virtual DtReflectedObjectnextObj () const
 Get the next remote object. More...
 
virtual DtReflectedObjectprevObj () const
 Get the previous remote object. More...
 
virtual DtReflectedObjectwrapNextObj () const
 Get the next remote object. More...
 
virtual DtReflectedObjectwrapPrevObj () const
 Get the previous remote object. More...
 
void setHlaObject (DtHlaObject *obj, DtHlaStateDecoder *decoder=NULL)
 Start reflecting this object, using this decoder. More...
 
virtual void setNoHlaObject (const DtObjectId &id, const DtGlobalObjectDesignator &des)
 Used to set up a proxy DtReflectedEntity - one that is not actually managing a real reflected HLA object. More...
 
void detachHlaObject ()
 Ends managing of current HLA object. More...
 
virtual void requestUpdate ()
 Request that the owner of this entity send an attribute update. More...
 

Static Public Member Functions

static DtStateRepCreator setStateRepCreator (DtStateRepCreator creator)
 Give us a function to be used for creating SRs. More...
 

Protected Member Functions

 DtReflectedPointObject (const DtReflectedPointObject &orig)
 copy constructor More...
 
DtReflectedPointObjectoperator= (const DtReflectedPointObject &orig)
 assignment operator More...
 
- Protected Member Functions inherited from DtReflectedObject
 DtReflectedObject (const DtReflectedObject &orig)
 copy constructor – Not Implemented More...
 
DtReflectedObjectoperator= (const DtReflectedObject &orig)
 assignment operator – Not Implemented More...
 
virtual void processPostUpdateCallbacks ()
 Process the post update callbacks. More...
 

Static Protected Attributes

static DtStateRepCreator theStateRepCreator
 

Additional Inherited Members

- Static Protected Member Functions inherited from DtReflectedObject
static void requestUpdatePostDrainCb (void *usr)
 Calls requestUpdate. More...
 
static void processPostUpdateCallbacksCb (const DtStateMsg &stateMsg, DtHlaObject *obj, void *usr)
 Callback from HlaObject to process post update callbacks. More...
 
- Protected Attributes inherited from DtReflectedObject
DtExerciseConnmyExConn
 
DtHlaObjectWithStateRepmyHlaObj
 
DtStateRepositorymyStateRep
 
DtHlaStateDecodermyDecoder
 
bool myRequestCbRegistered
 
DtIntrusiveList myStateUpdateCallbacks
 
DtObjectId myId
 
DtString myName
 
DtRefHlaObjectMap::iterator myReflIterator
 
DtRefHlaObjectMapmyReflMap
 

Detailed Description

class DtReflectedPointObject:

Instances of DtReflectedPointObject are used to represent HLA Point Object instances, which were remotely published.

Member Typedef Documentation

typedef DtPointObjectRepository*(* DtReflectedPointObject::DtStateRepCreator)()

Function prototype for functions that create DtPointObjectRepositories.

Constructor & Destructor Documentation

DtReflectedPointObject::DtReflectedPointObject ( DtHlaObject obj,
DtExerciseConn conn 
)

constructor

virtual DtReflectedPointObject::~DtReflectedPointObject ( )
virtual

destructor

DtReflectedPointObject::DtReflectedPointObject ( const DtReflectedPointObject orig)
protected

copy constructor

Member Function Documentation

virtual void DtReflectedPointObject::addPostUpdateCallback ( DtPointObjectCallbackFunction  cb,
void *  userData 
)
virtual

Point object state callback registration/deregistration.

virtual DtReflectedPointObject* DtReflectedPointObject::next ( ) const
virtual

Get the next remote point object.

DtReflectedPointObject& DtReflectedPointObject::operator= ( const DtReflectedPointObject orig)
protected

assignment operator

DtPointObjectRepository * DtReflectedPointObject::pointObjectRep ( ) const
inlinevirtual

Get the point object's state repository.

References DtReflectedObject::myStateRep.

DtPointObjectRepository * DtReflectedPointObject::posr ( ) const
inlinevirtual
virtual DtReflectedPointObject* DtReflectedPointObject::prev ( ) const
virtual

Get the previous remote point object.

virtual void DtReflectedPointObject::removePostUpdateCallback ( DtPointObjectCallbackFunction  cb,
void *  userData 
)
virtual
static DtStateRepCreator DtReflectedPointObject::setStateRepCreator ( DtStateRepCreator  creator)
static

Give us a function to be used for creating SRs.

virtual DtReflectedPointObject* DtReflectedPointObject::wrapNext ( ) const
virtual

Get the next remote point object.

Will cycle back to the first remote point object.

virtual DtReflectedPointObject* DtReflectedPointObject::wrapPrev ( ) const
virtual

Get the previous remote point object.

Will cycle back to the last remote point object.

Member Data Documentation

DtStateRepCreator DtReflectedPointObject::theStateRepCreator
staticprotected

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

Document ID: Generated on Tue Feb 2 21:02:17 EST 2021 from SVN revision 223668
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)