![]() |
VR-Forces 4.10 Class Documentation
|
class DtReflectedExtAggregateList: More...

Public Member Functions | |
| DtReflectedExtEntityList (DtExerciseConn *exConn, const DtRwProperties &stateProps=DtRwProperties::emptyProperties(), const DtRwProperties ¶mProps=DtRwProperties::emptyProperties()) | |
| Constructor - obtains the set of object classes to subscribe to from the exConn's fomMapper. More... | |
| DtReflectedExtEntityList (DtExerciseConn *exConn, const DtDDMRegionSet *regionSetToUse, const DtRwProperties &stateProps=DtRwProperties::emptyProperties(), const DtRwProperties ¶mProps=DtRwProperties::emptyProperties()) | |
| Constructor - obtains the set of object classes to subscribe to from the exConn's fomMapper. More... | |
| DtReflectedExtEntityList (DtExerciseConn *exConn, const DtList *handleList, const DtDDMRegionSet *regionSetToUse=0, const DtRwProperties &stateProps=DtRwProperties::emptyProperties(), const DtRwProperties ¶mProps=DtRwProperties::emptyProperties()) | |
| Constructor - only subscribe to the RTI::ObjectClassHandles in handleList. More... | |
| virtual | ~DtReflectedExtEntityList () |
| Destructor. More... | |
| virtual void | setPropertyPrototypes (const DtRwProperties &stateProps, const DtRwProperties ¶mProps) |
| Sets the prototypes for state and parameter properties. More... | |
| virtual void | setWaitForVrfExtendedData (bool) |
| Sets whether or not to wait for VRF extended data in readyToAdd. More... | |
| virtual bool | waitForVrfExtendedData () const |
| Whether to wait for VRF extended data in readyToAdd. More... | |
| virtual DtReflectedExtEntity * | lookupEE (RTI::ObjectHandle id) |
| Look up entity by handle. More... | |
| virtual DtReflectedExtEntity * | lookupEE (const DtGlobalObjectDesignator &objName) |
| Look up entity by name. More... | |
| virtual DtReflectedExtEntity * | firstEE () const |
| Get the first entity in the list. More... | |
| virtual DtReflectedExtEntity * | lastEE () const |
| Get the last entity in the list. More... | |
| virtual void | addEntityAdditionCallback (DtExtEntityCallbackFunction cb, void *userData) |
| Entity added callback registration. More... | |
| virtual void | removeEntityAdditionCallback (DtExtEntityCallbackFunction cb, void *userData) |
| Entity added callback deregistration. More... | |
| virtual void | addEntityRemovalCallback (DtExtEntityCallbackFunction cb, void *userData) |
| Entity removed callback registration. More... | |
| virtual void | removeEntityRemovalCallback (DtExtEntityCallbackFunction cb, void *userData) |
| Entity removed callback deregistration. More... | |
Static Public Member Functions | |
| static void | setTimeoutRequestTime (DtTime t) |
| Sets the time to timeout on VRF object data request. Default is 2 seconds. More... | |
| static DtTime | timeoutRequestTime () |
| static void | setInitializer (DtExtendedAttributesInitializerPtr init) |
| Set the initializer used by all reflected lists of this type. More... | |
| static DtExtendedAttributesInitializerPtr | initializer () |
| Returns the initializer used by all reflected lists of this type. More... | |
Protected Member Functions | |
| void | initializeExtendedProperties () |
| Determines whether or not extended properties available. Called from constructors. More... | |
| void | processVrfObjectStateUpdateMessage (DtDataInteraction *interaction) |
| void | processVrfObjectDataMessage (DtDataInteraction *interaction) |
| virtual void | processDataInteraction (DtDataInteraction *i) |
| virtual DtReflectedObject * | newReflectedObject (DtHlaObject *obj) const |
| Create a new reflected entity. More... | |
| virtual void | addToObjectList (DtReflectedObject *refObj) |
| virtual void | cleanupObjectDataMessageHashList () |
| Called from destructor. Cleans up myObjectDataMessageHashlist and removed all memory. More... | |
| virtual bool | readyToAdd (DtReflectedObject *obj) |
| Overridden to see if: a) This object is a VRF object b) This object has VRF object data associated with it, via extended attributes or object data message. More... | |
| virtual bool | setupVrfObjectData (DtReflectedObject *object) |
| Sets up extended state repository from cached VRF data (if exists). More... | |
| virtual bool | addObjectIfWaitingForVrfMessage (DtReflectedExtEntity *) |
| Will start the process of adding an object to the reflected list if this object is waiting for a VRF message. More... | |
| virtual void | requestVrfObjectData (DtReflectedObject *object) |
| This routine will request the VRF object data message to be sent for a VRF entity. More... | |
| virtual bool | timeOutVrfObjectDataRequest (DtReflectedObject *obj) |
| Returns true if the time has been too long in receiving a VRF object data request. More... | |
| virtual void | removeAndDelete (DtReflectedObject *obj, char *msg=NULL) |
| Override to remove objects from any waiting lists. More... | |
| virtual void | diguyExtensionsSetup () |
| Sets up the HLA decoders for DI-Guy extensions. More... | |
| virtual void | processObjectAdditionCallbacks (DtReflectedObject *object) |
| Process object addition/removal callbacks. More... | |
| virtual void | entityAdded (DtReflectedEntity *) |
| When an entity is added initialize any extended properties (if supported and available) as well as add update callback for object. More... | |
| virtual void | entityUpdated (DtReflectedEntity *) |
| virtual void | entityRemoved (DtReflectedEntity *) |
Static Protected Member Functions | |
| static void | dataInteractionCallback (DtDataInteraction *i, void *usr) |
| static void | entityUpdatedCallback (DtReflectedEntity *entity, void *userData) |
| When an entity is updated, we will update its state properties. More... | |
| static void | entityRemovedCallback (DtReflectedEntity *entity, void *userData) |
| When an entity is removed we need to de-register our update callback. More... | |
Protected Attributes | |
| DtHashlist | myObjectDataMessageHashlist |
| List to keep the VRF obj data messages that have been found but not associated with new entities yet. More... | |
| DtHashList | myObjectDataMessageRequestList |
| List to keep track of requests for VRF object message data and the time they were sent. More... | |
| DtHashList | myWaitingForVrfObjectData |
| Reflected objects that are waiting for VRF object updates. More... | |
| bool | myWaitForVrfExtendedData |
| DtRwProperties | myStatePropertiesPrototype |
| DtRwProperties | myParameterPropertiesPrototype |
Static Protected Attributes | |
| static DtTime | theTimeoutRequestTime |
| static DtExtendedAttributesInitializerPtr | theInitializer |
Private Member Functions | |
| DtReflectedExtEntityList (const DtReflectedExtEntityList &orig) | |
| Not implemented. More... | |
| DtReflectedExtEntityList & | operator= (const DtReflectedExtEntityList &rhs) |
| Not implemented. More... | |
class DtReflectedExtAggregateList:
Instances of DtReflectedExtAggregateList will manage the list of remote aggregates in the exercise and process any extended VRF data that may be published for these objects.
| DtReflectedExtEntityList::DtReflectedExtEntityList | ( | DtExerciseConn * | exConn, |
| const DtRwProperties & | stateProps = DtRwProperties::emptyProperties(), |
||
| const DtRwProperties & | paramProps = DtRwProperties::emptyProperties() |
||
| ) |
Constructor - obtains the set of object classes to subscribe to from the exConn's fomMapper.
If state and parameter property prototypes are specified, calls setPropertyPrototypes. If not, properties will not be decoded until setPropertyPrototypes is called.
| DtReflectedExtEntityList::DtReflectedExtEntityList | ( | DtExerciseConn * | exConn, |
| const DtDDMRegionSet * | regionSetToUse, | ||
| const DtRwProperties & | stateProps = DtRwProperties::emptyProperties(), |
||
| const DtRwProperties & | paramProps = DtRwProperties::emptyProperties() |
||
| ) |
Constructor - obtains the set of object classes to subscribe to from the exConn's fomMapper.
If state and parameter property prototypes are specified, calls setPropertyPrototypes. If not, properties will not be decoded until setPropertyPrototypes is called.
| DtReflectedExtEntityList::DtReflectedExtEntityList | ( | DtExerciseConn * | exConn, |
| const DtList * | handleList, | ||
| const DtDDMRegionSet * | regionSetToUse = 0, |
||
| const DtRwProperties & | stateProps = DtRwProperties::emptyProperties(), |
||
| const DtRwProperties & | paramProps = DtRwProperties::emptyProperties() |
||
| ) |
Constructor - only subscribe to the RTI::ObjectClassHandles in handleList.
If state and parameter property prototypes are specified, calls setPropertyPrototypes. If not, properties will not be decoded until setPropertyPrototypes is called.
|
virtual |
Destructor.
|
private |
Not implemented.
|
virtual |
Sets the prototypes for state and parameter properties.
Each reflected object will be initialized with this prototype and will therefore decode the included properties.
|
virtual |
Sets whether or not to wait for VRF extended data in readyToAdd.
Default is true, although there is a timeout period for this waiting set by theTimeoutRequestTime
|
virtual |
Whether to wait for VRF extended data in readyToAdd.
|
virtual |
Look up entity by handle.
|
virtual |
Look up entity by name.
|
virtual |
Get the first entity in the list.
|
virtual |
Get the last entity in the list.
|
virtual |
Entity added callback registration.
|
virtual |
Entity added callback deregistration.
|
virtual |
Entity removed callback registration.
|
virtual |
Entity removed callback deregistration.
|
static |
Sets the time to timeout on VRF object data request. Default is 2 seconds.
|
static |
|
static |
Set the initializer used by all reflected lists of this type.
|
static |
Returns the initializer used by all reflected lists of this type.
|
protected |
Determines whether or not extended properties available. Called from constructors.
|
protected |
|
protected |
|
staticprotected |
|
protectedvirtual |
|
protectedvirtual |
Create a new reflected entity.
Reimplemented in makVrf::VRF_PROTOCOL_NAMESPACE::DtVrfVrvExtReflectedEntityList.
|
protectedvirtual |
|
protectedvirtual |
Called from destructor. Cleans up myObjectDataMessageHashlist and removed all memory.
|
protectedvirtual |
Overridden to see if: a) This object is a VRF object b) This object has VRF object data associated with it, via extended attributes or object data message.
If a) is true and b) is false, then, the object will not be added to the reflected list. Instead, a request will be sent out for the VRF object data associated with the object. Once it is received, the object will be added to the reflected list.
|
protectedvirtual |
Sets up extended state repository from cached VRF data (if exists).
If this method returns true, the object was either not an extended object or it had the data correctly set.
|
protectedvirtual |
Will start the process of adding an object to the reflected list if this object is waiting for a VRF message.
Returns true if this object is and was added to the list.
|
protectedvirtual |
This routine will request the VRF object data message to be sent for a VRF entity.
This request will be handled by the entity publisher.
|
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.
|
protectedvirtual |
Override to remove objects from any waiting lists.
Reimplemented in makVrf::VRF_PROTOCOL_NAMESPACE::DtVrfVrvExtReflectedEntityList, and makVrf::VRF_PROTOCOL_NAMESPACE::DtVrfVrvExtReflectedEntityList.
|
protectedvirtual |
Sets up the HLA decoders for DI-Guy extensions.
|
protectedvirtual |
Process object addition/removal callbacks.
|
protectedvirtual |
When an entity is added initialize any extended properties (if supported and available) as well as add update callback for object.
Reimplemented in DtReflectedVrfExtEntityList.
|
staticprotected |
When an entity is updated, we will update its state properties.
|
protectedvirtual |
Reimplemented in DtReflectedVrfExtEntityList.
|
staticprotected |
When an entity is removed we need to de-register our update callback.
|
protectedvirtual |
Reimplemented in DtReflectedVrfExtEntityList.
|
private |
Not implemented.
|
protected |
List to keep the VRF obj data messages that have been found but not associated with new entities yet.
|
protected |
List to keep track of requests for VRF object message data and the time they were sent.
|
protected |
Reflected objects that are waiting for VRF object updates.
|
staticprotected |
|
protected |
|
protected |
|
protected |
|
staticprotected |