VR-Forces 4.6.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Static Protected Attributes | Private Member Functions
DtReflectedExtEntityList Class Reference
Inheritance diagram for DtReflectedExtEntityList:
Inheritance graph
[legend]

Public Member Functions

 DtReflectedExtEntityList (DtExerciseConn *exConn)
 DtReflectedExtEntityList (DtExerciseConn *exConn, const DtDDMRegionSet *regionSetToUse)
 Constructor - obtains the set of object classes to subscribe to from the exConn's fomMapper.
 DtReflectedExtEntityList (DtExerciseConn *exConn, const DtList *handleList, const DtDDMRegionSet *regionSetToUse=0)
 Constructor - only subscribe to the RTI::ObjectClassHandles in handleList.
virtual ~DtReflectedExtEntityList ()
virtual void setWaitForVrfExtendedData (bool)
 Sets whether or not to wait for VRF extended data in readyToAdd.
virtual bool waitForVrfExtendedData () const
virtual DtReflectedExtEntitylookupEE (RTI::ObjectHandle id)
virtual DtReflectedExtEntitylookupEE (const DtGlobalObjectDesignator &objName)
virtual DtReflectedExtEntityfirstEE () const
virtual DtReflectedExtEntitylastEE () const
virtual void addEntityAdditionCallback (DtExtEntityCallbackFunction cb, void *userData)
virtual void removeEntityAdditionCallback (DtExtEntityCallbackFunction cb, void *userData)
virtual void addEntityRemovalCallback (DtExtEntityCallbackFunction cb, void *userData)
virtual void removeEntityRemovalCallback (DtExtEntityCallbackFunction cb, void *userData)

Static Public Member Functions

static void setTimeoutRequestTime (DtTime t)
 Sets the time to timeout on vrf object data request. Default is 2 seconds.
static DtTime timeoutRequestTime ()

Protected Member Functions

void processVrfObjectStateUpdateMessage (DtDataInteraction *interaction)
void processVrfObjectDataMessage (DtDataInteraction *interaction)
virtual void processDataInteraction (DtDataInteraction *i)
virtual DtReflectedObjectnewReflectedObject (DtHlaObject *obj) const
virtual void addToObjectList (DtReflectedObject *refObj)
virtual void cleanupObjectDataMessageHashList ()
virtual bool setupVrfObjectData (DtReflectedObject *object)
virtual void requestVrfObjectData (DtReflectedObject *object)
virtual bool timeOutVrfObjectDataRequest (DtReflectedObject *obj)
 Returns true if the time has been too long in receiving a vrf object data request.
virtual void diguyExtensionsSetup ()
virtual void processObjectAdditionCallbacks (DtReflectedObject *object)
 Override to remove items from internal lists that might not have been caught through other means.

Static Protected Member Functions

static void dataInteractionCallback (DtDataInteraction *i, void *usr)

Protected Attributes

DtHashlist myObjectDataMessageHashlist
DtHashList myObjectDataMessageRequestList
DtHashList myWaitingForVrfObjectData
bool myWaitForVrfExtendedData

Static Protected Attributes

static DtTime theTimeoutRequestTime

Private Member Functions

 DtReflectedExtEntityList (const DtReflectedExtEntityList &orig)
DtReflectedExtEntityListoperator= (const DtReflectedExtEntityList &rhs)

Constructor & Destructor Documentation

DtReflectedExtEntityList::DtReflectedExtEntityList ( DtExerciseConn *  exConn)
DtReflectedExtEntityList::DtReflectedExtEntityList ( DtExerciseConn *  exConn,
const DtDDMRegionSet *  regionSetToUse 
)

Constructor - obtains the set of object classes to subscribe to from the exConn's fomMapper.

DtReflectedExtEntityList::DtReflectedExtEntityList ( DtExerciseConn *  exConn,
const DtList *  handleList,
const DtDDMRegionSet *  regionSetToUse = 0 
)

Constructor - only subscribe to the RTI::ObjectClassHandles in handleList.

virtual DtReflectedExtEntityList::~DtReflectedExtEntityList ( )
virtual
DtReflectedExtEntityList::DtReflectedExtEntityList ( const DtReflectedExtEntityList orig)
private

Member Function Documentation

virtual void DtReflectedExtEntityList::setWaitForVrfExtendedData ( bool  )
virtual

Sets whether or not to wait for VRF extended data in readyToAdd.

Default is true, althought there is a timeout period for this waiting set by theTimeoutRequestTime

virtual bool DtReflectedExtEntityList::waitForVrfExtendedData ( ) const
virtual
virtual DtReflectedExtEntity* DtReflectedExtEntityList::lookupEE ( RTI::ObjectHandle  id)
virtual
virtual DtReflectedExtEntity* DtReflectedExtEntityList::lookupEE ( const DtGlobalObjectDesignator objName)
virtual
virtual DtReflectedExtEntity* DtReflectedExtEntityList::firstEE ( ) const
virtual
virtual DtReflectedExtEntity* DtReflectedExtEntityList::lastEE ( ) const
virtual
virtual void DtReflectedExtEntityList::addEntityAdditionCallback ( DtExtEntityCallbackFunction  cb,
void *  userData 
)
virtual
virtual void DtReflectedExtEntityList::removeEntityAdditionCallback ( DtExtEntityCallbackFunction  cb,
void *  userData 
)
virtual
virtual void DtReflectedExtEntityList::addEntityRemovalCallback ( DtExtEntityCallbackFunction  cb,
void *  userData 
)
virtual
virtual void DtReflectedExtEntityList::removeEntityRemovalCallback ( DtExtEntityCallbackFunction  cb,
void *  userData 
)
virtual
static void DtReflectedExtEntityList::setTimeoutRequestTime ( DtTime  t)
static

Sets the time to timeout on vrf object data request. Default is 2 seconds.

static DtTime DtReflectedExtEntityList::timeoutRequestTime ( )
static
void DtReflectedExtEntityList::processVrfObjectStateUpdateMessage ( DtDataInteraction *  interaction)
protected
void DtReflectedExtEntityList::processVrfObjectDataMessage ( DtDataInteraction *  interaction)
protected
static void DtReflectedExtEntityList::dataInteractionCallback ( DtDataInteraction *  i,
void *  usr 
)
staticprotected
virtual void DtReflectedExtEntityList::processDataInteraction ( DtDataInteraction *  i)
protectedvirtual
virtual DtReflectedObject* DtReflectedExtEntityList::newReflectedObject ( DtHlaObject *  obj) const
protectedvirtual
virtual void DtReflectedExtEntityList::addToObjectList ( DtReflectedObject refObj)
protectedvirtual
virtual void DtReflectedExtEntityList::cleanupObjectDataMessageHashList ( )
protectedvirtual
virtual bool DtReflectedExtEntityList::setupVrfObjectData ( DtReflectedObject object)
protectedvirtual
virtual void DtReflectedExtEntityList::requestVrfObjectData ( DtReflectedObject object)
protectedvirtual
virtual bool DtReflectedExtEntityList::timeOutVrfObjectDataRequest ( DtReflectedObject obj)
protectedvirtual

Returns true if the time has been too long in receiving a vrf object data request.

If this method returns true, will add the entity to the list regardless

virtual void DtReflectedExtEntityList::diguyExtensionsSetup ( )
protectedvirtual
virtual void DtReflectedExtEntityList::processObjectAdditionCallbacks ( DtReflectedObject object)
protectedvirtual

Override to remove items from internal lists that might not have been caught through other means.

Process object addition/removal callbacks.

DtReflectedExtEntityList& DtReflectedExtEntityList::operator= ( const DtReflectedExtEntityList rhs)
private

Member Data Documentation

DtHashlist DtReflectedExtEntityList::myObjectDataMessageHashlist
protected
DtHashList DtReflectedExtEntityList::myObjectDataMessageRequestList
protected
DtHashList DtReflectedExtEntityList::myWaitingForVrfObjectData
protected
DtTime DtReflectedExtEntityList::theTimeoutRequestTime
staticprotected
bool DtReflectedExtEntityList::myWaitForVrfExtendedData
protected

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

Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)