![]() |
MAK RTIspy API Documentation for HLA 1.3
|
The object manager class processes the object management services. More...
Collaboration diagram for DtObjectMgr:Public Types | |
| typedef DtObjectMgr *(* | DtObjectMgrCreator )(DtFederateMgr *fedMgr) |
| Object manager creator type. | |
| typedef std::map < DtObjectInstanceHandle, DtAttributeHandleSet > | DtPendingRequestAttrMap |
| Map of requested attributes. | |
Public Member Functions | |
| virtual | ~DtObjectMgr () |
| Destructor. | |
| virtual void | postJoinInit () |
| Post join processing. All managers shall have been created and initialized. | |
| virtual bool | isPostJoined () const |
| Return bool: Was the post join initialization perfomerd? | |
| DtFederateMgr * | federateMgr () |
| Access to the federate manager. | |
| DtFederateMgr * | federateMgr () const |
| DtConnectionMgr * | connectMgr () |
| Returns pointer to network connection mgr. | |
| DtConnectionMgr * | connectMgr () const |
| virtual bool | useHlaNamePrefix () |
| Get switch to use HLA prefix for object names. | |
| virtual DtObjectInstanceHandle | objectHandle (const char *name) |
| Get objectHandle from name. | |
| virtual const char * | objectName (DtObjectInstanceHandle handle) |
| Get object name from handle. | |
| virtual DtObjectClassHandle | objectClass (DtObjectInstanceHandle handle) |
| Get an object's class. | |
| virtual int | subscribed (DtObjectClassHandle handle) |
| Returns 1 if subscribed to the class, 0 otherwise. | |
| virtual int | published (DtObjectClassHandle handle) |
| Returns 1 if published the class, 0 otherwise. | |
| virtual void | publish (DtObjectClassHandle theObject, const DtAttributeHandleSet &attributeList) |
| Publish specified class attributes. | |
| virtual void | unpublishClass (DtObjectClassHandle theObject) |
| Unpublishes all attributes but privilege to delete is implicit. | |
| virtual void | unpublishAttributes (DtObjectClassHandle theClass, DtAttributeHandleSet const &attributeList) |
| Explicit unpublish of specified attributes. | |
| virtual void | unpublishAttributes (DtObjectClassInfo &classDesc, DtAttributeHandleSet const &attributeList, bool implicitlyUnpublishPrivilegeToDelete) |
| Explicit unpublish of specified attributes Except privilege to delete is implicit if so designated. | |
| virtual void | subscribe (DtObjectClassHandle theClass, const DtAttributeHandleSet &attributeList, bool active) |
| Subscribe specified class attributes. | |
| virtual void | unsubscribeClass (DtObjectClassHandle theClass) |
| Unsubscribe from all attributes of specified class. | |
| virtual void | unsubscribeAttributes (DtObjectClassHandle theClass, DtAttributeHandleSet const &attributeList) |
| Unsubscribe specified class attributes. | |
| virtual void | unsubscribeAttributes (DtObjectClassInfo &classDesc, DtAttributeHandleSet const &attributeList) |
| Unsubscribe specified class attributes. | |
| virtual void | reserveObjectInstanceName (std::string const &theObjectInstanceName) |
| Reserve object instance name. | |
| virtual DtObjectInstanceHandle | registerObj (DtObjectClassHandle theClass, const char *name) |
| Register a locally simulated object. | |
| virtual DtObjectInstanceHandle | registerObj (DtObjectClassHandle theClass) |
| Register a locally simulated object. | |
| virtual unsigned long | deleteObj (DtObjectInstanceHandle objectID, RTI::FedTime const *theTime, char const *theTag) |
| Delete a locally simulated object Return retraction handle serial number. | |
| virtual void | localDeleteObj (DtObjectInstanceHandle obj) |
| Implements the localDeleteObjectInstance service. | |
| virtual void | requestObjectUpdate (DtObjectInstanceHandle theObject, const DtAttributeHandleSet &theAttributes, char const *tag=DtRtiMsg::theDefaultTag) |
| Request an attribute value update for an object. | |
| virtual void | requestClassUpdate (DtObjectClassHandle theClass, const DtAttributeHandleSet &theAttributes, char const *tag=DtRtiMsg::theDefaultTag, DtHandle regionSetHandle=DtDefaultRegionSetHandle) |
| Request an attribute value update for a class of objects. | |
| virtual unsigned long | sendUpdate (DtObjectInstanceHandle theObject, const DtAhvps &theAttrs, RTI::FedTime const *theTime, char const *tag) |
| Implements update attribute values Checks attributes definition and ownership Return retraction handle serial number. | |
| virtual unsigned long | sendUpdate (DtRtiObject *theObject, const DtAhvps &theAttrs, RTI::FedTime const *theTime, char const *tag) |
| Generate and transmit update attribute value messages Return retraction handle serial number. | |
| virtual void | acquireAttrs (DtObjectInstanceHandle objHand, const DtAttributeHandleSet &desiredAttributes, bool onlyIfAvail, char const *tag=DtRtiMsg::theDefaultTag) |
| Process an attribute acquisition. | |
| virtual void | cancelAcquire (DtObjectInstanceHandle objHand, const DtAttributeHandleSet &attrs) |
| Cancel an attribute acquisition. | |
| virtual void | divestOwnership (DtObjectInstanceHandle objHand, const DtAttributeHandleSet &attrs, DtDivestCondition condition, char const *tag=DtRtiMsg::theDefaultTag) |
| Process a attribute divestiture. | |
| virtual void | cancelDivest (DtObjectInstanceHandle objHand, const DtAttributeHandleSet &attrs) |
| Cancel an attribute divestiture. | |
| virtual DtAttributeHandleSet * | releaseResponse (DtObjectInstanceHandle objHand, const DtAttributeHandleSet &attrs) |
| Respond to an attribute acquisition. | |
| virtual void | removeFromAllLists (DtRtiObject *object) |
| Remove an object from all lists. | |
| virtual void | queryOwnership (DtObjectInstanceHandle obj, DtAttributeHandle attr) |
| Implements the queryAttributeOwnership service. | |
| virtual bool | isAcquistionPending () |
| Return true if ownership acquistion is pending for remote attrs. | |
| virtual int | evaluateSubscription (DtRtiMsg const &msg) |
| Return bool: is message an update or delete that can generate a reflect or remove callback? Determine if message is update or delete and if so, is it subscribed e.g., would be delivered as callback if processed Returns -1 if not an update/delete, 0 if no delivery expected, 1 if delivery expected. | |
| virtual void | autoProvideAttrValueUpdate () |
| Invoke provide for all owned attributes. | |
| virtual void | sendRegister (DtRtiObject *obj) |
| Sends register information, if DDM is active then this information could include region and region association information. | |
| virtual void | resendRegister (DtRtiObject *obj, DtBitMask *sendMask=0) |
| Re-sends register information, if DDM is active then this information could include region and region association information. | |
| virtual void | resendMultiRegister (DtObjectClassHandle classHandle) |
| Re-sends register information for all objects of a specific class if DDM is active then this information could include region and region association information. | |
| virtual void | addPendingStartUpdates (DtObjectInstanceHandle obj, const DtAttributeHandleSet &attributeList) |
| Add pending startUpdates that will get called during the next tick. | |
| virtual void | addPendingStopUpdates (DtObjectClassHandle theClass, const DtAttributeHandleSet &attributeList) |
| Add pending stopUpdates that will get called during the next tick. | |
| virtual void | addPendingStartReg (DtObjectClassHandle theClass) |
| Add pending startRegistration that will get processed during the next tick. | |
| virtual void | addPendingStopReg (DtObjectClassHandle theClass) |
| Add pending stopRegistration that will get processed during the next tick. | |
| virtual void | addPendingRegister (DtObjectClassHandle theClass, DtFederateHandle fedHandle=0) |
| Add pending Register that will get processed during the next tick. | |
| virtual void | addPendingSubscription (DtObjectClassHandle theClass, DtFederateHandle fedHandle=0) |
| Add pending subscription class retransmissions that will get processed during next tick. | |
| virtual void | addPendingRegisterForObject (DtObjectInstanceHandle objHandle) |
| Add pending Register for the given object that will get processed during next tick. | |
| virtual void | addPendingRemoval (DtObjectInstanceHandle id) |
| Add pending object removals that will get processed during the next tick. | |
| virtual void | addPendingRequestAttrs (DtObjectInstanceHandle objectHandle, DtAttributeHandleSet attributes) |
| Add pending request attribute value that will get processed during the next tick. | |
| virtual void | addPendingDivestNotification (DtObjectInstanceHandle objectHandle, DtAttributeHandleSet attributes) |
| Add pending divest notification that will get processed during the next tick. | |
| virtual void | addPendingDiscovery (DtObjectInstanceHandle objectHandle, DtObjectClassHandle classHandle, DtFederateHandle federate, bool isNonDiscovery) |
| Add pending discovery/non-discovery. | |
| virtual void | processResign (const DtResignMsg &msg) |
| Process the resign message. | |
| virtual void | preTick () |
| Called before processing messages in RTI ambassador tick / evoke callbacks. | |
| virtual void | postTick () |
| Called after processing messages in RTI ambassador tick / evoke callbacks. | |
| virtual void | setClassRelevanceSwitch (bool enableSwitch) |
| Set/Get value of classRelevanceAdvisorySwitch. | |
| virtual bool | classRelevanceSwitch () |
| virtual void | setAttributeRelevanceSwitch (bool enableSwitch) |
| Set/Get value of attributeRelevanceAdvisorySwitch. | |
| virtual bool | attributeRelevanceSwitch () |
| virtual void | setAttributeScopeSwitch (bool enableSwitch) |
| Set/Get value of attributeScopeAdvisorySwitch. | |
| virtual bool | attributeScopeSwitch () |
| virtual void | turnUpdatesOn (DtRtiObject const &object, DtAttributeHandleSet const &oldOnSet) |
| Turn updates on for any attribute now on but it is not in old on set. | |
| virtual void | turnUpdatesOff (DtRtiObject const &object, DtAttributeHandleSet const &oldOnSet) |
| Turn updates off for any attribute now off but it is in old on set. | |
| virtual DtObjectInstanceHandle | uniqueHandle () |
| Returns an ObjectHandle that is unique across the federation. | |
| virtual void | getUniqueName (DtObjectInstanceHandle handle, MAKRti::DtString &objectName) |
| Use the supplied object handle to construct a unique object name and assign a unique name to the supplied string. | |
| virtual bool | objectWasCreatedByFederate (DtRtiObject const &obj, DtFederateHandle const &fedHandle) |
| Query the object manager to determine whether the specified federate was the initial creator of the specified object. | |
| virtual DtRtiObject * | processNewObj (DtObjectInstanceHandle objHand, DtObjectClassHandle realClass, const char *name, const DtAttributeHandleSet &inSet, DtHandle regSetHandle, DtFederateHandle sourceFederate) |
| Assumes we have not yet discovered objHand. | |
| virtual DtObjectClassInfo * | firstSubscribedClass (DtObjectClassInfo *classDesc, DtHandle regSetHandle) |
| Returns most specific superclass of class, to which we are subscribed. | |
| virtual int | numObjectsOwned () |
| return the number of owned objects | |
| virtual void | setAttributeTransportType (DtObjectInstanceHandle theObject, const DtAttributeHandleSet &theAttributes, MAKRti::DtTransportType theType) |
| Set the transport type of the attribute instance. | |
| virtual void | setAttributeOrderType (DtObjectInstanceHandle theObject, const DtAttributeHandleSet &theAttributes, MAKRti::DtOrderType theType) |
| Set the order type of the attribute instance. | |
| virtual bool | save (DtRtiSaveFile &file) |
| DDM. | |
| virtual void | prepareToRestore () |
| Prepare the state information to be restored (i.e., clear out existing data). | |
| virtual bool | restore (DtRtiSaveFile &file) |
| Restore the state information from the given file. | |
| virtual void | sendNotDiscoveredMsgForSmartForwarding (DtObjectInstanceHandle handle, const DtObjectClassInfo &classInfo, DtFederateHandle federate, const DtAttributeHandleSet *attributes=0) |
| Send a message removing this federate from remote federate's smart forwarding list for the given object. | |
| virtual void | sendNotDiscoveredMsgForSmartForwarding (DtObjectInstanceHandle handle, const DtObjectClassInfo &classInfo, DtFederateHandle federate, const DtAhvps *attributes) |
| virtual void | ignoreNextUpdate (DtObjectInstanceHandle hdl) |
| Tells the object manager to ignore the next update for the given object. | |
| DtRIDParameters * | params () |
| Return pointer to RID parameters. | |
| DtRIDParameters * | params () const |
| Return pointer to RID parameters. | |
| DtFomClassMgr * | fom () |
| Return fom pointer. | |
| DtFomClassMgr * | fom () const |
| Return fom pointer. | |
| virtual void | addAllObj (DtRtiObject *obj) |
| Add/Remove/Get objects (superset of all objects including MOM) All objects must be in this set. | |
| virtual void | removeAllObj (DtObjectInstanceHandle obj) |
| Add/Remove/Get objects (superset of all objects including MOM) All objects must be in this set. | |
| virtual const DtRtiObjectMap & | allObjects () const |
| Add/Remove/Get objects (superset of all objects including MOM) All objects must be in this set. | |
| virtual DtRtiObject * | allObj (DtObjectInstanceHandle id) |
| Add/Remove/Get objects (superset of all objects including MOM) All objects must be in this set. | |
| virtual DtRtiObject * | allObj (const char *name) |
| Add/Remove/Get objects (superset of all objects including MOM) All objects must be in this set. | |
| virtual void | addKnownObj (DtRtiObject *obj) |
| Add/Remove/Get known objects (registered or discovered) All registered and discovered objects must be in this set. | |
| virtual void | removeKnownObj (DtObjectInstanceHandle obj) |
| Add/Remove/Get known objects (registered or discovered) All registered and discovered objects must be in this set. | |
| virtual const DtRtiObjectMap & | knownObjects () const |
| Add/Remove/Get known objects (registered or discovered) All registered and discovered objects must be in this set. | |
| virtual DtRtiObject * | knownObj (DtObjectInstanceHandle id) |
| Add/Remove/Get known objects (registered or discovered) All registered and discovered objects must be in this set. | |
| virtual DtRtiObject * | knownObj (const char *name) |
| Add/Remove/Get known objects (registered or discovered) All registered and discovered objects must be in this set. | |
| virtual void | addOwnedObj (DtRtiObject *obj) |
| Add/Remove/Get owned objects (at least one owned attribute) All objects with attributes owned by this federate must be in this set. | |
| virtual void | removeOwnedObj (DtObjectInstanceHandle obj) |
| Add/Remove/Get owned objects (at least one owned attribute) All objects with attributes owned by this federate must be in this set. | |
| virtual const DtRtiObjectMap & | ownedObjects () const |
| Add/Remove/Get owned objects (at least one owned attribute) All objects with attributes owned by this federate must be in this set. | |
| virtual DtRtiObject * | ownedObj (DtObjectInstanceHandle id) |
| Add/Remove/Get owned objects (at least one owned attribute) All objects with attributes owned by this federate must be in this set. | |
| virtual DtRtiObject * | ownedObj (const char *name) |
| Add/Remove/Get owned objects (at least one owned attribute) All objects with attributes owned by this federate must be in this set. | |
| virtual void | addLrcManagedObj (DtRtiObject *obj) |
| Add/Remove/Get lrc managed objects (at least one LRC managed attribute) All objects with attributes owned by this LRC must be in this set. | |
| virtual void | removeLrcManagedObj (DtObjectInstanceHandle obj) |
| Add/Remove/Get lrc managed objects (at least one LRC managed attribute) All objects with attributes owned by this LRC must be in this set. | |
| virtual const DtRtiObjectMap & | lrcManagedObjects () const |
| Add/Remove/Get lrc managed objects (at least one LRC managed attribute) All objects with attributes owned by this LRC must be in this set. | |
| virtual DtRtiObject * | lrcManagedObj (DtObjectInstanceHandle id) |
| Add/Remove/Get lrc managed objects (at least one LRC managed attribute) All objects with attributes owned by this LRC must be in this set. | |
| virtual DtRtiObject * | lrcManagedObj (const char *name) |
| Add/Remove/Get lrc managed objects (at least one LRC managed attribute) All objects with attributes owned by this LRC must be in this set. | |
| void | testResign (RTI::ResignAction const &theAction) |
| Called when resigning from a federation to test conditions and to delete owned objects. | |
| void | prepareToResign (RTI::ResignAction const &theAction) |
| Called when resigning from a federation to test conditions and to delete owned objects. | |
| virtual void | setRestoreInProgress (bool isRestore) |
| Note: The advisory switches are disabled by a restore in progress. | |
| virtual bool | restoreInProgress () const |
| Note: The advisory switches are disabled by a restore in progress. | |
| virtual void | enableClassRelevanceSwitch () |
| Enable/Disable classRelevanceAdvisorySwitch 1516 throws exception if call is redundant. | |
| virtual void | disableClassRelevanceSwitch () |
| Enable/Disable classRelevanceAdvisorySwitch 1516 throws exception if call is redundant. | |
| virtual void | enableAttributeRelevanceSwitch () |
| Enable/Disable attributeRelevanceAdvisorySwitch 1516 throws exception if call is redundant. | |
| virtual void | disableAttributeRelevanceSwitch () |
| Enable/Disable attributeRelevanceAdvisorySwitch 1516 throws exception if call is redundant. | |
| virtual void | enableAttributeScopeSwitch () |
| Enable/Disable attributeScopeAdvisorySwitch 1516 throws exception if call is redundant. | |
| virtual void | disableAttributeScopeSwitch () |
| Enable/Disable attributeScopeAdvisorySwitch 1516 throws exception if call is redundant. | |
Static Public Member Functions | |
| static DtObjectMgr * | create (DtFederateMgr *fedMgr) |
| A Object Manager instance is created and its pointer is returned. | |
| static void | setCreatorFunction (DtObjectMgrCreator creator) |
| Register a creator function. | |
| static void | setInternalCreatorFunction (DtObjectMgrCreator fn) |
| Register alternate internal creators. | |
Protected Types | |
| typedef std::set < DtObjectClassHandle > | DtObjectClassHandleSet |
| typedef std::set < DtObjectInstanceHandle > | DtObjectInstanceHandleSet |
| typedef std::map < DtObjectClassHandle, DtBitMask * > | DtObjectClassMaskMap |
| typedef std::map < DtObjectInstanceHandle, DtBitMask * > | DtObjectInstanceMaskMap |
| typedef std::list< std::pair < DtObjectClassHandle, DtAttributeHandleSet > > | DtObjClassAttrSetPairList |
| typedef std::list< std::pair < DtObjectInstanceHandle, DtAttributeHandleSet > > | DtObjInstAttrSetPairList |
| typedef std::set < DtObjectInstanceHandle > | DtObjHandleSet |
| Pending discoveries and non-discoveries. | |
| typedef std::map < DtObjectClassHandle, DtObjHandleSet > | DtClassToPendingObjDiscMap |
| typedef std::map < DtFederateHandle, DtClassToPendingObjDiscMap > | DtFederateToPendingObjDiscMap |
Protected Member Functions | |
| DtObjectMgr (DtFederateMgr *fedMgr) | |
| Constructor. | |
| virtual void | insertRegBitMask (DtObjectClassHandle classHandle, DtFederateHandle fedHandle) |
| virtual void | insertSubBitMask (DtObjectClassHandle classHandle, DtFederateHandle fedHandle) |
| virtual void | insertDiscBitMask (DtObjectClassHandle classHandle, DtFederateHandle fedHandle) |
| virtual void | insertNonDiscBitMask (DtObjectClassHandle classHandle, DtFederateHandle fedHandle) |
| virtual void | provideAttrValueUpdate (const DtRtiObject *obj, const DtAttributeHandleSet &attrHandles, char const *tag) |
| Make the fedAmb call to provide attrValUpdate for this object. | |
| virtual void | remoteSubscribe (DtObjectClassInfo &classDesc, const DtAttributeHandleSet &attrs, DtFederateHandle fedHandle, bool isReplacement) |
| Add a remote subscription to object known database and determine effects on advisories. | |
| virtual void | remotePassiveSubscribe (DtObjectClassInfo &classDesc, const DtAttributeHandleSet &attrs, DtFederateHandle fedHandle, bool isReplacement) |
| Track passive subscriptions ( no effect on advisories ) | |
| virtual void | remoteUnsubscribe (DtObjectClassHandle classHandle, const DtAttributeHandleSet &attrs, DtFederateHandle fedHandle) |
| Remove a remote subscription to object known database and determine effects on advisories. | |
| virtual void | setDiscoveredClass (DtRtiObject &object, DtFederateHandle federateHandle, DtObjectClassHandle classHandle) |
| Set the remote federate's discovered class and update the object's remote subscription information. | |
| virtual void | processAcquire (DtObjectInstanceHandle objHand, const DtAttributeHandleSet &attrs, DtFederateHandle fed, bool onlyIfAvail, char const *tag) |
| Process a remote attribute acquisition. | |
| virtual void | processCancelAcquire (DtObjectInstanceHandle objHand, const DtAttributeHandleSet &attrs, DtFederateHandle fed) |
| Process a remote cancel attribute acquisition. | |
| virtual void | processConfirmCancelAcquire (DtObjectInstanceHandle objHand, const DtAttributeHandleSet &attrs) |
| Process a remote confirm attribute acquisition. | |
| virtual void | processDivest (DtObjectInstanceHandle objHand, const DtAttributeHandleSet &attrs, DtFederateHandle fed, bool negotiated, char const *tag=DtRtiMsg::theDefaultTag) |
| Process a remote attribute divestiture. | |
| virtual void | notifyDivestedAttributes (DtObjectClassHandle objectClass, DtAttributeHandleSet const &attrs) |
| Find any divested attributes instances that match (is of) the supplied class and set. | |
| virtual void | processQueryOwner (DtObjectInstanceHandle objHand, DtAttributeHandle attr, DtFederateHandle requestor) |
| Process a remote attribute ownership queury. | |
| virtual void | processNotifyAcquire (DtObjectInstanceHandle objHand, const DtAttributeHandleSet &attrs, char const *tag=DtRtiMsg::theDefaultTag, bool forceAcquire=false) |
| Process a remote notify attribute acquisition. | |
| virtual void | processNotifyAcquireForDirectedMessaging (DtFederateHandle fedHandle, DtObjectInstanceHandle objHand, const DtAttributeHandleSet &attrs) |
| Process a remote notify attribute acquisition for directed messaging. | |
| virtual void | processGiveToLrc (DtObjectInstanceHandle objHand, const DtAttributeHandleSet &attrs, char const *tag, DtHandle hand) |
| Give the supplied attributes to the local RTI component. | |
| virtual void | resetOwner (DtFederateHandle fedHandle, DtObjectInstanceHandle objHandle) |
| Reset the owner of the object. | |
| virtual void | sendPendingStartUpdates () |
| Send pending startUpdates. | |
| virtual void | sendPendingStopUpdates () |
| Send pending stopUpdates. | |
| virtual void | sendPendingStartReg () |
| Send pending startRegistration. | |
| virtual void | sendPendingStopReg () |
| Send pending stopRegistration. | |
| virtual void | sendPendingRegister () |
| Send pending Register. | |
| virtual void | sendPendingSubscription () |
| Send pending subscription class retransmissions. | |
| virtual void | sendPendingRemovals () |
| Send pending object removals. | |
| virtual void | sendPendingRequestAttributes () |
| Send pending request attribute value. | |
| virtual void | sendPendingDiscoveries () |
| Send pending discoveries. | |
| virtual void | invokePendingDivestNotification () |
| Invoke pending divest notification. | |
| virtual void | purgeDeletedObjects () |
| Purge entries for recently deleted objects that have timed out. | |
| virtual void | throwIfAcquisitionPending (DtObjectClassHandle classHand, const DtAttributeHandleSet &attrs) |
| If an acquisition request is pending for an attributes in attrs for any objects known at class classHand, throw RTI::OwnershipAcquisitionPending. | |
| virtual void | divestAllInstances (DtObjectClassHandle classHand, const DtAttributeHandleSet &attrs) |
| Divest ownership (unconditionally) of all owned attributes in attrs for each object that's known at class classHand. | |
| virtual void | divestAllInstances () |
| Divest ownership (unconditionally) of all owned attributes of all objects. | |
| virtual void | releaseAllAttributes (DtRtiObject *object) |
| Release (unconditionally) all owned and LRC managed attributes Only used during a resign. | |
| virtual void | releaseOwnership (DtRtiObject *obj, const DtAttributeHandleSet &attrs) |
| Releases ownership of the specified attributes to the LRC Used when unpublishing. | |
| virtual void | sendUpdateMessage (DtUpdateMsg *update, DtObjectClassInfo *classDesc, DtUpdateType updateType, MAKRti::DtTransportType trans, unsigned int numberAttrs, MAKRti::DtInetAddr destAddr=DtInetAddr::inaddrAny(), unsigned int offset=0) |
| Send update message. | |
| virtual void | deleteAllOwnedObjects () |
| Delete all objects for which we own the privilege. | |
| virtual void | deleteObj (DtRtiObject *obj, bool isLocalDelete=false) |
| Remove object from all lists and delete it. | |
| virtual void | retainTsoDeletedObj (DtRtiObject *obj, RTI::FedTime const &time) |
| TSO deleted object was prematurely deleted when regulation disabled Hold onto it until deletion time passes in order to process discovery. | |
| virtual void | retainTsoRemovedObj (DtRtiObject *obj, RTI::FedTime const &time) |
| TSO removed object may be discovered by other federates but should not be rediscovered by this federate. | |
| virtual bool | removedObjectIsRetained (DtObjectInstanceHandle objectHandle) |
| Check list of objects that have been removed via TSO delete and are unknown to the federate but whose delete time has not passed yet. | |
| virtual void | removeObjectAssociations (DtRtiObject &object) |
| Remove associations to this object (e.g., regions) | |
| virtual void | collectRemoteSubscriptions (DtRtiObject &object) |
| Collect existing remote subscriptions and apply them to given object Supports attribute advisories when not distributing discovered class. | |
| virtual DtFederateHandle | federateHandleFromObjectID (DtObjectInstanceHandle id) const |
| Return the federate handle used to construct the given object ID. | |
| virtual unsigned long | nextOffsetId () |
| Return the next offset ID. | |
| virtual DtObjectInstanceHandle | findReusableHandle () |
| Attempt to find an instance handle that can be re-assigned to a new registration Returns a 0 handle if no free handle found. | |
| virtual DtRtiObject * | registerObj (DtObjectClassHandle theClass, DtObjectInstanceHandle objHandle, const char *name) |
| Register a locally simulated object. | |
| virtual DtRtiObject * | processNewObj (DtObjectInstanceHandle objHand, DtObjectClassInfo *actualClass, DtObjectClassInfo *subscribedClass, const char *name, const DtAhvps &inSet, DtHandle regSetHandle, DtFederateHandle sourceFederate) |
| Assumes we have not yet discovered objHand. | |
| virtual DtRtiObject * | discoverObject (DtObjectInstanceHandle objHandle, const char *objName, DtObjectClassInfo *actualClass, DtObjectClassInfo *discoveredClass, const DtAttributeHandleSet &attrSet, DtFederateHandle federateHandle, bool federateOwnsPrivilegeToDelete) |
| Discover this object using the actual and discovered class and the supplied attributes that intersect the federate's subscription(s) Return object if discover successful; otherwise, NULL. | |
| virtual void | invokeReflect (DtFederateHandle federateHandle, DtObjectInstanceHandle objectHandle, DtAhvps const &reflectedValues, DtTransportHandle transportType, DtOrderHandle sentOrder, char const *tag=0, RTI::FedTime const *time=0, unsigned long serialNumber=0) |
| Invoke the reflect attribute values update call. | |
| virtual bool | acceptObjectChannel (unsigned long channel) |
| Return true if the channel (region set handle) should be accepted NOTE: This always returns true when DDM is disabled. | |
| virtual bool | acceptRequestChannel (unsigned long channel) |
| Return true if the channel (region set handle) should be accepted NOTE: This always returns true when DDM is disabled. | |
| virtual bool | saveObjectList (DtRtiSaveFile &file) |
| save out the list of of known and owned objects | |
| virtual bool | restoreObjectList (DtRtiSaveFile &file) |
| restore the list of known and owned objects | |
| virtual void | destroyObjectLists () |
| Destroy all the object lists and their elements. | |
| virtual unsigned long | savePacketLength () |
| Return the length of buffer needed to save the state data. | |
| virtual void | removeFromNotifiedDivestitures (DtObjectInstanceHandle objHdl, const DtAttributeHandleSet &attrs) |
| Removes the attributes from the list of attribute divestitures. | |
| virtual void | processUpdate (const DtUpdateMsg &msg) |
| Process messages. | |
| virtual void | processReserveName (DtReserveNameMsg const &msg) |
| Process messages. | |
| virtual void | processNameReserved (DtNameReservedMsg const &msg) |
| Process messages. | |
| virtual void | processRegister (const DtRegObjMsg &msg) |
| Process messages. | |
| virtual void | processMultiRegister (const DtMultiRegObjMsg &msg) |
| Process messages. | |
| virtual void | processDiscover (const DtDiscObjMsg &msg) |
| Process messages. | |
| virtual void | processRequestDiscover (const DtReqDiscObjMsg &msg) |
| Process messages. | |
| virtual void | processDelete (const DtDeleteRoMsg &msg) |
| Process messages. | |
| virtual void | processLocDelete (const DtLocDelMsg &msg) |
| Process messages. | |
| virtual void | processPub (const DtPubObjMsg &msg) |
| Process messages. | |
| virtual void | processUnpub (const DtUnpubObjMsg &msg) |
| Process messages. | |
| virtual void | processSub (const DtSubObjMsg &msg) |
| Process messages. | |
| virtual void | processUnsub (const DtUnsubObjMsg &msg) |
| Process messages. | |
| virtual void | processRequest (const DtRequestMsg &msg) |
| Process messages. | |
| virtual void | processOwnership (const DtOwnershipMsg &msg) |
| Process messages. | |
| virtual void | sendPublishMsg (DtObjectClassHandle handle, const DtAttributeHandleSet &theSet) |
| Send various types of RTI messages. | |
| virtual void | sendUnpublishMsg (DtObjectInstanceHandle handle, const DtAttributeHandleSet &theSet) |
| Send various types of RTI messages. | |
| virtual void | sendUnsubscribeMsg (DtObjectClassHandle handle, const DtAttributeHandleSet &theSet) |
| Send various types of RTI messages. | |
| virtual void | sendSubscribeMsg (DtObjectClassHandle theObj, bool isPassive, bool replacement, const DtAttributeHandleSet &theSet, DtFederateHandle fedHandle) |
| Send various types of RTI messages. | |
| virtual void | sendSubscribeMsg (DtObjectClassHandle theObj, bool isPassive, bool replacement, const DtAttributeHandleSet &theSet, DtBitMask *sendMask=0) |
| Send various types of RTI messages. | |
| virtual void | sendRegisterMsg (DtRtiObject *object, DtBitMask *sendMask=0) |
| Send various types of RTI messages. | |
| virtual void | sendRegisterMsg (DtRtiMsg *msg, DtRtiObject *object, DtBitMask *sendMask=0) |
| Send various types of RTI messages. | |
| virtual void | sendLocalDeleteMsg (DtObjectInstanceHandle handle) |
| Send various types of RTI messages. | |
| virtual void | sendDiscoverMsg (DtObjectInstanceHandle objHandle, DtObjectClassHandle classHandle, DtFederateHandle owner) |
| Send various types of RTI messages. | |
| virtual void | sendDiscoverMsg (DtObjectInstanceHandle objHandle, DtObjectClassHandle classHandle, DtFederateHandle owner, DtBitMask *fedHandles) |
| Send various types of RTI messages. | |
| virtual void | sendRequestDiscoverMsg (DtObjectInstanceHandle objHandle, DtObjectClassHandle classHandle) |
| Send various types of RTI messages. | |
| virtual void | sendRemoveDiscoverMsg (DtObjectInstanceHandle objHandle, DtObjectClassHandle classHandle, DtFederateHandle fedHandle) |
| Send various types of RTI messages. | |
| virtual void | sendReserveNameMsg (std::string const &theObjectInstanceName) |
| Send various types of RTI messages. | |
| virtual void | addClassMulticast (DtObjectClassInfo *classDesc, float rate=-1.0) |
| Recursively add and remove the DM multicast address of this class and all its subclasses The Rate determines which update rate multicast offsets to join and drop A rate less than zero indicates rate should be retrieved from class A rate equal zero indicates no rate should be used and all offsets are affected. | |
| virtual void | removeClassMulticast (DtObjectClassInfo *classDesc, float rate=-1.0) |
| Recursively add and remove the DM multicast address of this class and all its subclasses The Rate determines which update rate multicast offsets to join and drop A rate less than zero indicates rate should be retrieved from class A rate equal zero indicates no rate should be used and all offsets are affected. | |
Static Protected Member Functions | |
| static void | processUpdate (const DtUpdateMsg &msg, void *usr) |
| Message callback methods to register with connection manager. | |
| static void | processReserveName (DtReserveNameMsg const &msg, void *usr) |
| Message callback methods to register with connection manager. | |
| static void | processNameReserved (DtNameReservedMsg const &msg, void *usr) |
| Message callback methods to register with connection manager. | |
| static void | processRegister (const DtRegObjMsg &msg, void *usr) |
| Message callback methods to register with connection manager. | |
| static void | processMultiRegister (const DtMultiRegObjMsg &msg, void *usr) |
| Message callback methods to register with connection manager. | |
| static void | processDiscover (const DtDiscObjMsg &msg, void *usr) |
| Message callback methods to register with connection manager. | |
| static void | processRequestDiscover (const DtReqDiscObjMsg &msg, void *usr) |
| Message callback methods to register with connection manager. | |
| static void | processDelete (const DtDeleteRoMsg &msg, void *usr) |
| Message callback methods to register with connection manager. | |
| static void | processLocDelete (const DtLocDelMsg &msg, void *usr) |
| Message callback methods to register with connection manager. | |
| static void | processPub (const DtPubObjMsg &msg, void *usr) |
| Message callback methods to register with connection manager. | |
| static void | processUnpub (const DtUnpubObjMsg &msg, void *usr) |
| Message callback methods to register with connection manager. | |
| static void | processSub (const DtSubObjMsg &msg, void *usr) |
| Message callback methods to register with connection manager. | |
| static void | processUnsub (const DtUnsubObjMsg &msg, void *usr) |
| Message callback methods to register with connection manager. | |
| static void | processRequest (const DtRequestMsg &msg, void *usr) |
| Message callback methods to register with connection manager. | |
| static void | processOwnership (const DtOwnershipMsg &msg, void *usr) |
| Message callback methods to register with connection manager. | |
Protected Attributes | |
| DtFederateMgr * | myFederateMgr |
| Access to the federate manager. | |
| std::set< std::string > | myReservedNames |
| These names are reserved by this federate but have not been used. | |
| std::set< std::string > | myUsedNames |
| These names have been used by this federate to register an object instance. | |
| std::set< std::string > | myFailedNames |
| Reservation of these names failed (i.e., reserved by another federate). | |
| MAKRti::DtString | myHlaNamePrefix |
| The HLA object instance name prefix. | |
| DtRtiObjectMap | myObjects |
| List of all objects by handle. | |
| std::map< MAKRti::DtString, DtRtiObject * > | myObjectsByName |
| List of all objects by name. | |
| DtRtiObjectMap | myKnownObjs |
| List of known objects by handle. | |
| std::map< MAKRti::DtString, DtRtiObject * > | myKnownObjsByName |
| List of known objects by name. | |
| DtRtiObjectMap | myOwnedObjs |
| List of owned objects by handle. | |
| std::map< MAKRti::DtString, DtRtiObject * > | myOwnedObjsByName |
| List of owned objects by name. | |
| DtRtiObjectMap | myLrcManagedObjs |
| List of LRC owned objects by handle. | |
| std::map< MAKRti::DtString, DtRtiObject * > | myLrcManagedObjsByName |
| List of LRC owned objects by name. | |
| DtAddrMap | myAddrMap |
| Map of routing addresses by region set handle. | |
| std::map < DtObjectInstanceHandle, MAKRti::DtTime > | myDeletedObjects |
| Set of objects that have been recently deleted that will not be discovered via update. | |
| DtHandle | myFreeObjHandle |
| The next free object handle. | |
| bool | myIsJoined |
| Manager has performed join processing. | |
| bool | myRestoreInProgress |
| Status of restore. | |
| bool | myReuseIds |
| Unique object IDs have been exhausted, attempt to reuse IDs. | |
| MAKRti::DtClock | myClock |
| Clock for timing. | |
| DtFederateToPendingObjDiscMap | myPendingDiscoveries |
| DtObjectClassMaskMap | myPendingDiscoveriesMaskList |
| DtFederateToPendingObjDiscMap | myPendingNonDiscoveries |
| DtObjectClassMaskMap | myPendingNonDiscoveriesMaskList |
| DtTime | myNextPendingDiscTime |
| Next time we should send pending discovery messages. | |
| DtObjHandleSet | myIgnoreObjects |
| Set of object handles whose next updates should be ignored. | |
| bool | myForceBestEffort |
| Send everything best effort. | |
| std::set< DtRtiMsgKind > | myConstrainedUpdateKinds |
| std::set< DtRtiMsgKind > | myConstrainedDeleteKinds |
| DtObjectClassHandleSet | myRetransmitSubClass |
| Post processing lists. | |
| DtObjectClassMaskMap | myRetransmitSubClassMask |
| Post processing lists. | |
| DtObjectInstanceHandleSet | myLocalDeletedObjects |
| Post processing lists. | |
| DtObjInstAttrSetPairList | myPendingStartUpdatesList |
| Post processing lists. | |
| DtObjClassAttrSetPairList | myPendingStopUpdatesList |
| Post processing lists. | |
| DtObjectClassHandleSet | myPendingStartRegList |
| Post processing lists. | |
| DtObjectClassHandleSet | myPendingStopRegList |
| Post processing lists. | |
| DtObjectClassHandleSet | myPendingRegisterList |
| Post processing lists. | |
| DtObjectClassMaskMap | myPendingRegisterMaskList |
| Post processing lists. | |
| DtObjectInstanceHandleSet | myPendingInstRegisterList |
| Post processing lists. | |
| MAKRti::DtList | myPendingRemovals |
| Post processing lists. | |
| DtPendingRequestAttrMap | myPendingRequestAttrs |
| Post processing lists. | |
| DtPendingRequestAttrMap | myPendingDivestNotifications |
| Post processing lists. | |
| DtPendingRequestAttrMap | myNotifiedDivestitures |
| Post processing lists. | |
| bool | myClassRelevanceSwitch |
| Advisory switches. | |
| bool | myAttributeRelevanceSwitch |
| Advisory switches. | |
| bool | myAttributeScopeSwitch |
| Advisory switches. | |
Static Protected Attributes | |
| static DtObjectMgrCreator | theCreator |
| The plugin creator. | |
| static DtObjectMgrCreator | theInternalCreator |
| The internal creator. | |
Private Member Functions | |
| DtObjectMgr (DtObjectMgr const &) | |
| Copy Constructor not implemented – Copy Not Allowed! | |
| DtObjectMgr & | operator= (DtObjectMgr const &) |
| Assignment not implemented – Assignment Not Allowed! | |
The object manager class processes the object management services.
The object manager manages all the objects in a federation. It handles registers, discovers, updates, reflects, subscriptions, publications, and ownership management.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
| typedef DtObjectMgr*(* DtObjectMgr::DtObjectMgrCreator)(DtFederateMgr *fedMgr) |
Object manager creator type.
|
protected |
Pending discoveries and non-discoveries.
|
protected |
| typedef std::map<DtObjectInstanceHandle, DtAttributeHandleSet> DtObjectMgr::DtPendingRequestAttrMap |
Map of requested attributes.
|
protected |
Constructor.
|
virtual |
Destructor.
|
private |
Copy Constructor not implemented – Copy Not Allowed!
|
protectedvirtual |
Return true if the channel (region set handle) should be accepted NOTE: This always returns true when DDM is disabled.
|
protectedvirtual |
Return true if the channel (region set handle) should be accepted NOTE: This always returns true when DDM is disabled.
|
virtual |
Process an attribute acquisition.
|
virtual |
Add/Remove/Get objects (superset of all objects including MOM) All objects must be in this set.
|
protectedvirtual |
Recursively add and remove the DM multicast address of this class and all its subclasses The Rate determines which update rate multicast offsets to join and drop A rate less than zero indicates rate should be retrieved from class A rate equal zero indicates no rate should be used and all offsets are affected.
|
virtual |
Add/Remove/Get known objects (registered or discovered) All registered and discovered objects must be in this set.
|
virtual |
Add/Remove/Get lrc managed objects (at least one LRC managed attribute) All objects with attributes owned by this LRC must be in this set.
|
virtual |
Add/Remove/Get owned objects (at least one owned attribute) All objects with attributes owned by this federate must be in this set.
|
virtual |
Add pending discovery/non-discovery.
|
virtual |
Add pending divest notification that will get processed during the next tick.
|
virtual |
Add pending Register that will get processed during the next tick.
|
virtual |
Add pending Register for the given object that will get processed during next tick.
|
virtual |
Add pending object removals that will get processed during the next tick.
|
virtual |
Add pending request attribute value that will get processed during the next tick.
|
virtual |
Add pending startRegistration that will get processed during the next tick.
|
virtual |
Add pending startUpdates that will get called during the next tick.
|
virtual |
Add pending stopRegistration that will get processed during the next tick.
|
virtual |
Add pending stopUpdates that will get called during the next tick.
|
virtual |
Add pending subscription class retransmissions that will get processed during next tick.
|
virtual |
Add/Remove/Get objects (superset of all objects including MOM) All objects must be in this set.
|
virtual |
Add/Remove/Get objects (superset of all objects including MOM) All objects must be in this set.
|
virtual |
Add/Remove/Get objects (superset of all objects including MOM) All objects must be in this set.
|
virtual |
|
virtual |
|
virtual |
Invoke provide for all owned attributes.
|
virtual |
Cancel an attribute acquisition.
|
virtual |
Cancel an attribute divestiture.
|
virtual |
|
protectedvirtual |
Collect existing remote subscriptions and apply them to given object Supports attribute advisories when not distributing discovered class.
Actually can report more attributes than required.
|
inline |
Returns pointer to network connection mgr.
|
inline |
|
static |
A Object Manager instance is created and its pointer is returned.
A registered creator is used if present; otherwise, an internal class is instantiated.
|
protectedvirtual |
Delete all objects for which we own the privilege.
|
virtual |
Delete a locally simulated object Return retraction handle serial number.
|
protectedvirtual |
Remove object from all lists and delete it.
|
protectedvirtual |
Destroy all the object lists and their elements.
|
virtual |
Enable/Disable attributeRelevanceAdvisorySwitch 1516 throws exception if call is redundant.
|
virtual |
Enable/Disable attributeScopeAdvisorySwitch 1516 throws exception if call is redundant.
|
virtual |
Enable/Disable classRelevanceAdvisorySwitch 1516 throws exception if call is redundant.
|
protectedvirtual |
Discover this object using the actual and discovered class and the supplied attributes that intersect the federate's subscription(s) Return object if discover successful; otherwise, NULL.
|
protectedvirtual |
Divest ownership (unconditionally) of all owned attributes in attrs for each object that's known at class classHand.
|
protectedvirtual |
Divest ownership (unconditionally) of all owned attributes of all objects.
|
virtual |
Process a attribute divestiture.
|
virtual |
Enable/Disable attributeRelevanceAdvisorySwitch 1516 throws exception if call is redundant.
|
virtual |
Enable/Disable attributeScopeAdvisorySwitch 1516 throws exception if call is redundant.
|
virtual |
Enable/Disable classRelevanceAdvisorySwitch 1516 throws exception if call is redundant.
|
virtual |
Return bool: is message an update or delete that can generate a reflect or remove callback? Determine if message is update or delete and if so, is it subscribed e.g., would be delivered as callback if processed Returns -1 if not an update/delete, 0 if no delivery expected, 1 if delivery expected.
|
protectedvirtual |
Return the federate handle used to construct the given object ID.
|
inline |
Access to the federate manager.
|
inline |
|
protectedvirtual |
Attempt to find an instance handle that can be re-assigned to a new registration Returns a 0 handle if no free handle found.
|
virtual |
Returns most specific superclass of class, to which we are subscribed.
|
inline |
Return fom pointer.
|
inline |
Return fom pointer.
|
virtual |
Use the supplied object handle to construct a unique object name and assign a unique name to the supplied string.
|
virtual |
Tells the object manager to ignore the next update for the given object.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Invoke pending divest notification.
|
protectedvirtual |
Invoke the reflect attribute values update call.
|
virtual |
Return true if ownership acquistion is pending for remote attrs.
|
virtual |
Return bool: Was the post join initialization perfomerd?
|
virtual |
Add/Remove/Get known objects (registered or discovered) All registered and discovered objects must be in this set.
|
virtual |
Add/Remove/Get known objects (registered or discovered) All registered and discovered objects must be in this set.
|
virtual |
Add/Remove/Get known objects (registered or discovered) All registered and discovered objects must be in this set.
|
virtual |
Implements the localDeleteObjectInstance service.
|
virtual |
Add/Remove/Get lrc managed objects (at least one LRC managed attribute) All objects with attributes owned by this LRC must be in this set.
|
virtual |
Add/Remove/Get lrc managed objects (at least one LRC managed attribute) All objects with attributes owned by this LRC must be in this set.
|
virtual |
Add/Remove/Get lrc managed objects (at least one LRC managed attribute) All objects with attributes owned by this LRC must be in this set.
|
protectedvirtual |
Return the next offset ID.
An invalid ID of 0 is returned if this next offset exceeded the maximum.
|
protectedvirtual |
Find any divested attributes instances that match (is of) the supplied class and set.
Send a notify divest for them.
|
virtual |
return the number of owned objects
|
virtual |
Get an object's class.
|
virtual |
Get objectHandle from name.
|
virtual |
Get object name from handle.
Returns pointer to internal memory.
|
virtual |
Query the object manager to determine whether the specified federate was the initial creator of the specified object.
|
private |
Assignment not implemented – Assignment Not Allowed!
|
virtual |
Add/Remove/Get owned objects (at least one owned attribute) All objects with attributes owned by this federate must be in this set.
|
virtual |
Add/Remove/Get owned objects (at least one owned attribute) All objects with attributes owned by this federate must be in this set.
|
virtual |
Add/Remove/Get owned objects (at least one owned attribute) All objects with attributes owned by this federate must be in this set.
|
inline |
Return pointer to RID parameters.
|
inline |
Return pointer to RID parameters.
|
virtual |
Post join processing. All managers shall have been created and initialized.
|
virtual |
Called after processing messages in RTI ambassador tick / evoke callbacks.
| void DtObjectMgr::prepareToResign | ( | RTI::ResignAction const & | theAction | ) |
Called when resigning from a federation to test conditions and to delete owned objects.
|
virtual |
Prepare the state information to be restored (i.e., clear out existing data).
|
virtual |
Called before processing messages in RTI ambassador tick / evoke callbacks.
|
protectedvirtual |
Process a remote attribute acquisition.
|
protectedvirtual |
Process a remote cancel attribute acquisition.
|
protectedvirtual |
Process a remote confirm attribute acquisition.
|
protectedvirtual |
Process messages.
|
staticprotected |
Message callback methods to register with connection manager.
|
protectedvirtual |
Process messages.
|
staticprotected |
Message callback methods to register with connection manager.
|
protectedvirtual |
Process a remote attribute divestiture.
|
protectedvirtual |
Give the supplied attributes to the local RTI component.
|
protectedvirtual |
Process messages.
|
staticprotected |
Message callback methods to register with connection manager.
|
protectedvirtual |
Process messages.
|
staticprotected |
Message callback methods to register with connection manager.
|
protectedvirtual |
Process messages.
|
staticprotected |
Message callback methods to register with connection manager.
|
virtual |
Assumes we have not yet discovered objHand.
If the object meets our discovery criteria, create a new object, add to the list of known objects, and call discover RTI service. Returns the new object if discovered; otherwise, NULL.
|
protectedvirtual |
Assumes we have not yet discovered objHand.
If the object meets our discovery criteria, create a new object, add to the list of known objects, and call discover RTI service. Returns the new object if discovered; otherwise, NULL.
|
protectedvirtual |
Process a remote notify attribute acquisition.
|
protectedvirtual |
Process a remote notify attribute acquisition for directed messaging.
|
protectedvirtual |
Process messages.
|
staticprotected |
Message callback methods to register with connection manager.
|
protectedvirtual |
Process messages.
|
staticprotected |
Message callback methods to register with connection manager.
|
protectedvirtual |
Process a remote attribute ownership queury.
|
protectedvirtual |
Process messages.
|
staticprotected |
Message callback methods to register with connection manager.
|
protectedvirtual |
Process messages.
|
staticprotected |
Message callback methods to register with connection manager.
|
protectedvirtual |
Process messages.
|
staticprotected |
Message callback methods to register with connection manager.
|
protectedvirtual |
Process messages.
|
staticprotected |
Message callback methods to register with connection manager.
|
virtual |
Process the resign message.
|
protectedvirtual |
Process messages.
|
staticprotected |
Message callback methods to register with connection manager.
|
protectedvirtual |
Process messages.
|
staticprotected |
Message callback methods to register with connection manager.
|
protectedvirtual |
Process messages.
|
staticprotected |
Message callback methods to register with connection manager.
|
protectedvirtual |
Process messages.
|
staticprotected |
Message callback methods to register with connection manager.
|
protectedvirtual |
Make the fedAmb call to provide attrValUpdate for this object.
|
virtual |
Publish specified class attributes.
|
virtual |
Returns 1 if published the class, 0 otherwise.
|
protectedvirtual |
Purge entries for recently deleted objects that have timed out.
|
virtual |
Implements the queryAttributeOwnership service.
|
virtual |
Register a locally simulated object.
|
virtual |
Register a locally simulated object.
|
protectedvirtual |
Register a locally simulated object.
|
protectedvirtual |
Release (unconditionally) all owned and LRC managed attributes Only used during a resign.
|
protectedvirtual |
Releases ownership of the specified attributes to the LRC Used when unpublishing.
|
virtual |
Respond to an attribute acquisition.
|
protectedvirtual |
Track passive subscriptions ( no effect on advisories )
|
protectedvirtual |
Add a remote subscription to object known database and determine effects on advisories.
|
protectedvirtual |
Remove a remote subscription to object known database and determine effects on advisories.
|
virtual |
Add/Remove/Get objects (superset of all objects including MOM) All objects must be in this set.
|
protectedvirtual |
Recursively add and remove the DM multicast address of this class and all its subclasses The Rate determines which update rate multicast offsets to join and drop A rate less than zero indicates rate should be retrieved from class A rate equal zero indicates no rate should be used and all offsets are affected.
|
protectedvirtual |
Check list of objects that have been removed via TSO delete and are unknown to the federate but whose delete time has not passed yet.
Return boolean: is the specified object retained?
|
virtual |
Remove an object from all lists.
|
protectedvirtual |
Removes the attributes from the list of attribute divestitures.
|
virtual |
Add/Remove/Get known objects (registered or discovered) All registered and discovered objects must be in this set.
|
virtual |
Add/Remove/Get lrc managed objects (at least one LRC managed attribute) All objects with attributes owned by this LRC must be in this set.
|
protectedvirtual |
Remove associations to this object (e.g., regions)
|
virtual |
Add/Remove/Get owned objects (at least one owned attribute) All objects with attributes owned by this federate must be in this set.
|
virtual |
Request an attribute value update for a class of objects.
|
virtual |
Request an attribute value update for an object.
|
virtual |
Re-sends register information for all objects of a specific class if DDM is active then this information could include region and region association information.
Overridden in DtObjectDataDistMgr
|
virtual |
Re-sends register information, if DDM is active then this information could include region and region association information.
Overridden in DtObjectDataDistMgr
|
virtual |
Reserve object instance name.
|
protectedvirtual |
Reset the owner of the object.
|
virtual |
Restore the state information from the given file.
|
virtual |
Note: The advisory switches are disabled by a restore in progress.
They are restored to saved state upon completion of restore. Set/Get restore in progress status
|
protectedvirtual |
restore the list of known and owned objects
|
protectedvirtual |
TSO deleted object was prematurely deleted when regulation disabled Hold onto it until deletion time passes in order to process discovery.
|
protectedvirtual |
TSO removed object may be discovered by other federates but should not be rediscovered by this federate.
Hold onto it until deletion time passes in order to prevent rediscovery
|
virtual |
DDM.
Save the state information to the given file
|
protectedvirtual |
save out the list of of known and owned objects
|
protectedvirtual |
Return the length of buffer needed to save the state data.
|
protectedvirtual |
Send various types of RTI messages.
|
protectedvirtual |
Send various types of RTI messages.
|
protectedvirtual |
Send various types of RTI messages.
|
virtual |
Send a message removing this federate from remote federate's smart forwarding list for the given object.
|
virtual |
|
protectedvirtual |
Send pending discoveries.
|
protectedvirtual |
Send pending Register.
|
protectedvirtual |
Send pending object removals.
|
protectedvirtual |
Send pending request attribute value.
|
protectedvirtual |
Send pending startRegistration.
|
protectedvirtual |
Send pending startUpdates.
|
protectedvirtual |
Send pending stopRegistration.
|
protectedvirtual |
Send pending stopUpdates.
|
protectedvirtual |
Send pending subscription class retransmissions.
|
protectedvirtual |
Send various types of RTI messages.
|
virtual |
Sends register information, if DDM is active then this information could include region and region association information.
Overridden in DtObjectDataDistMgr
|
protectedvirtual |
Send various types of RTI messages.
|
protectedvirtual |
Send various types of RTI messages.
|
protectedvirtual |
Send various types of RTI messages.
|
protectedvirtual |
Send various types of RTI messages.
|
protectedvirtual |
Send various types of RTI messages.
|
protectedvirtual |
Send various types of RTI messages.
|
protectedvirtual |
Send various types of RTI messages.
|
protectedvirtual |
Send various types of RTI messages.
|
protectedvirtual |
Send various types of RTI messages.
|
virtual |
Implements update attribute values Checks attributes definition and ownership Return retraction handle serial number.
|
virtual |
Generate and transmit update attribute value messages Return retraction handle serial number.
|
protectedvirtual |
Send update message.
|
virtual |
Set the order type of the attribute instance.
|
virtual |
Set/Get value of attributeRelevanceAdvisorySwitch.
|
virtual |
Set/Get value of attributeScopeAdvisorySwitch.
|
virtual |
Set the transport type of the attribute instance.
|
virtual |
Set/Get value of classRelevanceAdvisorySwitch.
|
static |
Register a creator function.
When set, it will be used to create the Object Manager.
|
protectedvirtual |
Set the remote federate's discovered class and update the object's remote subscription information.
|
static |
Register alternate internal creators.
The RTI proper uses this function to choose from various internal implementations. This function should not be used by plugins as the assignment may be overridden internally. Use the setCreatorFunction.
|
virtual |
Note: The advisory switches are disabled by a restore in progress.
They are restored to saved state upon completion of restore. Set/Get restore in progress status
|
virtual |
Subscribe specified class attributes.
|
virtual |
Returns 1 if subscribed to the class, 0 otherwise.
| void DtObjectMgr::testResign | ( | RTI::ResignAction const & | theAction | ) |
Called when resigning from a federation to test conditions and to delete owned objects.
|
protectedvirtual |
If an acquisition request is pending for an attributes in attrs for any objects known at class classHand, throw RTI::OwnershipAcquisitionPending.
|
virtual |
Turn updates off for any attribute now off but it is in old on set.
|
virtual |
Turn updates on for any attribute now on but it is not in old on set.
|
virtual |
Returns an ObjectHandle that is unique across the federation.
Uniqueness isn't truly guaranteed unless you're using rtiexec mode.
|
virtual |
Explicit unpublish of specified attributes.
|
virtual |
Explicit unpublish of specified attributes Except privilege to delete is implicit if so designated.
|
virtual |
Unpublishes all attributes but privilege to delete is implicit.
|
virtual |
Unsubscribe specified class attributes.
|
virtual |
Unsubscribe specified class attributes.
|
virtual |
Unsubscribe from all attributes of specified class.
|
virtual |
Get switch to use HLA prefix for object names.
|
protected |
Map of routing addresses by region set handle.
|
protected |
Advisory switches.
|
protected |
Advisory switches.
|
protected |
Advisory switches.
|
protected |
Clock for timing.
|
protected |
|
protected |
|
protected |
Set of objects that have been recently deleted that will not be discovered via update.
|
protected |
Reservation of these names failed (i.e., reserved by another federate).
|
protected |
Access to the federate manager.
|
protected |
Send everything best effort.
|
protected |
The next free object handle.
|
protected |
The HLA object instance name prefix.
|
protected |
Set of object handles whose next updates should be ignored.
|
protected |
Manager has performed join processing.
|
protected |
List of known objects by handle.
|
protected |
List of known objects by name.
|
protected |
Post processing lists.
|
protected |
List of LRC owned objects by handle.
|
protected |
List of LRC owned objects by name.
|
protected |
Next time we should send pending discovery messages.
|
protected |
Post processing lists.
|
protected |
List of all objects by handle.
|
protected |
List of all objects by name.
|
protected |
List of owned objects by handle.
|
protected |
List of owned objects by name.
|
protected |
|
protected |
|
protected |
Post processing lists.
|
protected |
Post processing lists.
|
protected |
|
protected |
|
protected |
Post processing lists.
|
protected |
Post processing lists.
|
protected |
Post processing lists.
|
protected |
Post processing lists.
|
protected |
Post processing lists.
|
protected |
Post processing lists.
|
protected |
Post processing lists.
|
protected |
Post processing lists.
|
protected |
These names are reserved by this federate but have not been used.
|
protected |
Status of restore.
|
protected |
Post processing lists.
|
protected |
Post processing lists.
|
protected |
Unique object IDs have been exhausted, attempt to reuse IDs.
|
protected |
These names have been used by this federate to register an object instance.
|
staticprotected |
The plugin creator.
|
staticprotected |
The internal creator.