![]() |
MAK RTIspy API Documentation for HLA 1516
|
The RTI object maintains the internal RTI object state. More...
Collaboration diagram for DtRtiObject:Public Member Functions | |
| virtual | ~DtRtiObject () |
| Destructor. | |
| DtRtiObject (const DtRtiObject &orig) | |
| Copy constructor Copies object state only! | |
| const DtRtiObject & | operator= (const DtRtiObject &orig) |
| assignment operator Assigned object state only! | |
| void | initUpdateRates (const MAKRti::DtUpdateRateSetT rates) |
| push update rates into each object attribute | |
| virtual const char * | objName () const |
| Set/Get my name. | |
| virtual void | setObjName (const char *name) |
| virtual DtObjectClassHandle | actualClassHandle () const |
| Returns class handle of the object. | |
| virtual DtObjectClassHandle | knownClassHandle () const |
| Returns class handle indicating class by which the federate knows the object. | |
| virtual void | setKnownClass (DtObjectClassInfo *classInfo) |
| Set the known class. | |
| virtual DtObjectClassInfo * | knownClass () |
| Returns the known class of the object. | |
| virtual DtObjectClassInfo * | actualClass () |
| Returns the actual (registered) class of the object. | |
| virtual int | owned (DtAttributeHandle handle) const |
| Returns 1 if handle is owned by the object, 0 otherwise. | |
| virtual bool | ownPriviledgeToDelete () |
| Returns true if the priviledgeToDelete attribute is locally owned, false otherwise. | |
| virtual DtFederateHandle | ownerHandle () const |
| Set/Get the federate who owns the priviledgeToDelete attribute. | |
| virtual void | setOwnerHandle (DtFederateHandle handle) |
| virtual void | setIsKnown (bool isKnownValue) |
| Set/Get known status of object This status can not be determined by status of attributes. | |
| virtual bool | isKnown () const |
| DtUpdateType | updateType () const |
| Return the object's update type. | |
| virtual void | setDiscoveredClass (DtFederateHandle remoteFedHandle, DtObjectClassInfo const &classInfo) |
| Set the discovery class for the remote federate As a result, the remote federates subscription information is reset with this class and attribute advisory status may change. | |
| virtual void | removeDiscoveredClass (DtFederateHandle remoteFedHandle) |
| Remove the discovery class for the remote federate As a result, the remote federates subscription information is removed and attribute advisory status may change. | |
| virtual DtObjectClassHandle | discoveredClass (DtFederateHandle remoteFedHandle) |
| Get the discovery class for the remote federate. | |
| virtual bool | isDiscovered (DtFederateHandle remoteFedHandle) |
| Return bool: is object discovered by federate? | |
| virtual bool | hasBeenUpdated () const |
| Returns bool: has object been updated by this federate. | |
| virtual void | markAsUpdated () |
| Mark object as having been updated by this federate. | |
| virtual bool | hasBeenReflected () const |
| Returns bool: has object been reflected by this federate. | |
| virtual void | markAsReflected () |
| Mark object as having been reflected by this federate. | |
| virtual int | rtiOwned (DtAttributeHandle handle) const |
| Returns 1 if handle is owned by the RTI, 0 otherwise. | |
| virtual int | lrcManaged (DtAttributeHandle handle) const |
| Returns 1 if handle is unowned, and managed by the LRC, 0 otherwise. | |
| virtual void | takeFromLrc (const DtAttributeHandleSet &set) |
| Transfer ownership from local LRC to local federate. | |
| virtual void | giveToLrc (const DtAttributeHandleSet &set) |
| Transfer attributes from local federate to local LRC as unowned. | |
| virtual void | divestToLrc (const DtAttributeHandleSet &set) |
| Transfer attributes from local federate to local LRC as divested. | |
| virtual void | giveToRti (const DtAttributeHandleSet &set) |
| Transfer ownership to local RTI. | |
| virtual void | lrcUnmanage (const DtAttributeHandleSet &set) |
| Remove the elements of set from the set of attributes managed by the local LRC. | |
| virtual void | addRemoteRequest (const DtAttributeHandleSet &requestSet, DtFederateHandle fed) |
| Call to indicate that a remote federate has requested ownership of requestSet. | |
| virtual void | removeRemoteRequest (const DtAttributeHandleSet &requestSet, DtFederateHandle fed) |
| Call to indicate that the local federate has denied ownership of requestSet. | |
| virtual void | addSkipPendingConfirm (const DtAttributeHandleSet &requestSet, DtFederateHandle fed) |
| virtual void | removeSkipPendingConfirm (const DtAttributeHandleSet &requestSet, DtFederateHandle fed) |
| virtual DtFederateHandle | pendingSkipConfirm (DtAttributeHandle hand) const |
| virtual DtAttributeHandleSet const & | pendingSkipConfirmAttributes () const |
| virtual DtAttributeHandleSet | pendingSkipConfirmByFed (DtFederateHandle fed) const |
| virtual void | removePendingSkipConfirm (const DtAttributeHandleSet &set) |
| virtual void | cancelDivest (const DtAttributeHandleSet &set) |
| Cancel a divest. | |
| virtual void | cancelRemoteRequest (const DtAttributeHandleSet &requestSet, DtFederateHandle fed) |
| Cancel the remote request. | |
| virtual void | cancelAllRemoteRequests (const DtAttributeHandleSet &requestSet) |
| Cancel all remote requests for supplied attributes. | |
| virtual void | removeCanceledRequests (DtAttributeHandleSet const &requestSet) |
| Get the cancelled request set. | |
| virtual DtAttributeHandleSet | canceledRequestSet () const |
| Get the cancelled request set. | |
| virtual bool | isRequestCanceled (DtAttributeHandle hand) |
| Returns boolean: is there a canceled request for the attribute for which the federate has not responded? | |
| virtual int | requestCount () const |
| Returns the number of request by all federates. | |
| virtual DtAttributeHandleSet const & | requestedAttributes () const |
| Return the set of requested attributes. | |
| virtual int | confirmCount () const |
| Returns the number of attributes pending divestiture confirmation. | |
| virtual DtAttributeHandleSet const & | pendingConfirmAttributes () const |
| Return the set of pedning confirmed attributes. | |
| virtual DtFederateHandle | pendingRemoteRequest (DtAttributeHandle hand) |
| Returns the handle of the federate that has most recently requested ownership of this attribute. | |
| virtual DtFederateHandle | pendingConfirm (DtAttributeHandle hand) const |
| Returns the handle of the federate that will get ownership of attribute when confirmed. | |
| virtual DtFederateHandle | releaseRequested (const DtAttributeHandleSet &inSet, DtAttributeHandleSet *releasedSet, bool keepForConfirm) |
| Calls to this method with the attributes provided in inSet will release and return in releaseSet any matching requested attributes from a single requesting federate, whose handle is the return argument. | |
| virtual DtFederateHandle | releaseConfirm (const DtAttributeHandleSet &inSet, DtAttributeHandleSet *releasedSet) |
| Calls to this method with the attributes provided in inSet will release and return in releaseSet any matching pending confirm attributes assigned to a single requesting federate, whose handle is the return argument. | |
| virtual DtAttributeHandleSet | requestedByFed (DtFederateHandle fed, bool includePendingConfirm=false) |
| Returns the set of attributes most recently requested by fed. | |
| virtual DtAttributeHandleSet | pendingConfirmByFed (DtFederateHandle fed) const |
| Returns only the current set of attributes that are pending confirm for fed. | |
| virtual DtFederateHandle | unavailablePendingRequests (DtAttributeHandleSet *invalidatedSet) |
| Get the next federate with requests that have become unavailable and the invalidated attrs. | |
| virtual void | releaseAttrs (const DtAttributeHandleSet &releaseSet) |
| Release ownership of these attributes. | |
| virtual void | takeAttrs (const DtAttributeHandleSet &takeSet) |
| Take ownership of these attributes. | |
| virtual bool | okToReceive (DtHandle attrHandle, float tolerance) |
| Update Rate Reduction receive-side test. | |
| virtual unsigned int | computeAttrOffset (DtHandle attrHandle) |
| Compute Update Rate Reduction send-side mcast destination address. | |
| virtual const DtAttributeHandleSet & | filterOwned (const DtAttributeHandleSet &inSet) const |
| Returns a set that contains those members of inSet that are owned by the federate. | |
| virtual int | expectedCount (const DtAhvps &inSet, DtHandle regSetHandle) const |
| Returns the number of attributes in inSet that are expected (subscribed) by the federate. | |
| virtual void | selectExpected (DtAhvps &outSet, const DtAhvps &inSet, DtHandle regSetHandle) const |
| Fills the outSet with the attributes in inSet that are expected (subscribed) by the federate. | |
| virtual void | removeUnexpected (DtAhvps &attrSet, DtHandle regSetHandle) const |
| Remove those members of attrSet that are not expected (subscribed) by the federate. | |
| virtual int | isOfActualClass (DtAttributeHandle handle) const |
| Return 1 if the object is of actualclass handle, or is of a class that's a subclass of handle. | |
| virtual int | isOfKnownClass (DtAttributeHandle handle) const |
| Return 1 if the object is of known class handle, or is of a class that's a subclass of handle. | |
| virtual int | expecting (DtAttributeHandle handle, DtHandle regSetHandle) const |
| Returns 1 if we are expected (subscribed to) this attribute, else 0. | |
| virtual const DtAttributeHandleSet & | lrcManagedAttrs () |
| Returns the set of unowned attributes managed by our LRC. | |
| virtual const DtAttributeHandleSet & | ownedAttrs () |
| Returns the set of owned attributes managed by our LRC. | |
| virtual const DtAttributeHandleSet & | rtiOwnedAttrs () |
| Returns the set of rti owned attributes managed by our LRC. | |
| virtual const DtAttributeHandleSet & | divestingAttrs () |
| Returns the set of attributes currently being divested. | |
| virtual const DtAttributeHandleSet & | divestedAttrs () |
| Returns the set of attributes unconditionaly divested and managed by LRC. | |
| virtual const DtAttributeHandleSet & | uncondRequestedAttrs () |
| Returns the set of attributes currently being unconditionally requested. | |
| virtual const DtAttributeHandleSet & | ifAvailRequestedAttrs () |
| Returns the set of attributes currently being if available requested. | |
| virtual int | inScope (DtAttributeHandle handle) const |
| Returns boolean: is attribute in scope? | |
| virtual const DtAttributeHandleSet & | inScopeAttrs () |
| Returns the set of attributes that are in scope. | |
| virtual bool | inScope () const |
| Returns boolean: is any attribute in scope? | |
| virtual void | addToScope (DtAttributeHandle handle) |
| Add the attributes to scope. | |
| virtual void | addToScope (const DtAttributeHandleSet &attrs) |
| Add the attributes to scope. | |
| virtual void | removeFromScope (DtAttributeHandle handle) |
| Remove the attributes from scope. | |
| virtual void | removeFromScope (const DtAttributeHandleSet &attrs) |
| Remove the attributes from scope. | |
| virtual void | acquireRemoteSubscriptions (const DtAttributeHandleSet &attrs, DtFomClassMgr *fom) |
| Collect the remote subscriptions that match these acquired attributes. | |
| virtual void | getBaseClassDestinations (DtBitMask &dest, const DtAhvpBase &attrs, DtObjectClassInfo *baseClass) const |
| Updates the destinations given with the base class subscriptions This will continue to update until the base class is NULL. | |
| virtual void | overrideDestinations (DtBitMask const &mask) |
| Override the destinations with this mask. | |
| virtual void | setAllDestinations () |
| Adds all destinations to all attributes. | |
| virtual void | divestRemoteSubscriptions (const DtAttributeHandleSet &attrs) |
| Remove the remote subscription status for each of these divested attrs. | |
| virtual bool | isUpdateOn (DtAttributeHandle handle) const |
| Returns boolean: is attribute update on? | |
| virtual DtAttributeHandleSet | updateOnAttrs () const |
| Returns the set of owned attributes that are turned on. | |
| virtual DtAttributeHandleSet | updateOffAttrs () const |
| Returns the set of owned attributes that are turned off. | |
| virtual bool | isUpdateOn () const |
| Returns boolean: is any attribute turned on? | |
| virtual MAKRti::DtTransportType | attrTransport (DtAttributeHandle theHandle) |
| Get attribute transport type from handle. | |
| virtual MAKRti::DtOrderType | attrOrder (DtAttributeHandle theHandle) |
| Get attribute order from handle. | |
| virtual void | setAttrTransport (DtAttributeHandle theHandle, MAKRti::DtTransportType transport) |
| Set attribute transport type from handle. | |
| virtual void | setAttrOrder (DtAttributeHandle theHandle, MAKRti::DtOrderType order) |
| Set attribute order from handle. | |
| virtual bool | attrHasDimensions (DtAttributeHandle attrHandle) const |
| Return bool: attribute has associated DDM dimensions (where DM default region has all dimensions)? | |
| virtual bool | decode (const char *buff, DtFomClassMgr *fom) |
| Decode object data for restore Return: data successfully decoded? | |
| void | setTimeToUseDestinations (MAKRti::DtTime timeVal) |
| Set time to use attribute destinations. | |
| MAKRti::DtTime | timeToUseDestinations () const |
| Get time to use attribute destinations. | |
| void | addAttributeOwner (DtFederateHandle fedHandle, const DtAttributeHandleSet &attrs) |
| add Attribute Owners (in response to acquires) | |
| virtual DtBitMask * | getAttributeOwnerDestinationMask (DtBitMask *bitMask=NULL) const |
| Get the destination mask for owners of the objects attributes. | |
| virtual void | setObjHandle (DtObjectInstanceHandle handle) |
| Set/Get my object handle. | |
| virtual DtObjectInstanceHandle | objHandle () const |
| Set/Get my object handle. | |
| virtual DtObjectInstanceHandle | id () const |
| Set/Get my object handle. | |
| virtual void | addRequest (const DtAttributeHandleSet &requestSet, bool ifAvail) |
| Add/Remove these to the set of attributes that we have requested, where the request is pending. | |
| virtual void | removeRequest (const DtAttributeHandleSet &set) |
| Add/Remove these to the set of attributes that we have requested, where the request is pending. | |
| virtual void | addDivesting (const DtAttributeHandleSet &divestSet) |
| Add/Remove these to the set of attributes for which a divest is pending. | |
| virtual void | removeDivesting (const DtAttributeHandleSet &set) |
| Add/Remove these to the set of attributes for which a divest is pending. | |
| virtual void | addPendingConfirm (const DtAttributeHandleSet &attrs, DtFederateHandle fed) |
| Add/Remove these to the set of attributes for which a confirm divest is pending. | |
| virtual void | removePendingConfirm (const DtAttributeHandleSet &requestSet, DtFederateHandle fed) |
| Add/Remove these to the set of attributes for which a confirm divest is pending. | |
| virtual void | removePendingConfirm (const DtAttributeHandleSet &set) |
| Add/Remove these to the set of attributes for which a confirm divest is pending. | |
| virtual bool | pendingUncondRequest (DtAttributeHandle hand) |
| Returns true if there's already a request pending that we've made for this attribute. | |
| virtual bool | pendingRequestIfAvail (DtAttributeHandle hand) |
| Returns true if there's already a request pending that we've made for this attribute. | |
| virtual void | remoteSubscribe (DtFederateHandle fedHandle, const DtAttributeHandleSet &attrs) |
| Add remote DM subscriptions. | |
| virtual void | remoteSubscribe (DtFederateHandle fedHandle, DtAttributeHandle attributeHandle) |
| Add remote DM subscriptions. | |
| virtual void | remotePassiveSubscribe (DtFederateHandle fedHandle, DtAttributeHandle attrHandle) |
| Add remote DM passive subscriptions. | |
| virtual void | remotePassiveSubscribe (DtFederateHandle fedHandle, const DtAttributeHandleSet &attrs) |
| Add remote DM passive subscriptions. | |
| virtual void | remoteUnsubscribe (DtFederateHandle fedHandle, DtAttributeHandle attrHandle) |
| Remove remote DM subscriptions. | |
| virtual void | remoteUnsubscribe (DtFederateHandle fedHandle, const DtAttributeHandleSet &attrs) |
| Remove remote DM subscriptions. | |
| virtual void | remoteUnsubscribe (DtFederateHandle fedHandle) |
| Remove remote DM subscriptions. | |
| virtual DtBitMask | getDestinations () const |
| Get the list of remote subscribers to the class = update destinations. | |
| virtual DtBitMask | getDestinations (const DtAttributeHandleSet &attrs) const |
| Get the list of remote subscribers to the class = update destinations. | |
| virtual DtBitMask | getDestinations (const DtAhvpBase &attrs) const |
| Get the list of remote subscribers to the class = update destinations. | |
| virtual void | turnUpdateOn (DtAttributeHandle handle) |
| Turn update on for given attribute(s) | |
| virtual void | turnUpdateOn (const DtAttributeHandleSet &attrs) |
| Turn update on for given attribute(s) | |
| virtual void | turnUpdateOff (DtAttributeHandle handle) |
| Turn update off for given attribute(s) | |
| virtual void | turnUpdateOff (const DtAttributeHandleSet &attrs) |
| Turn update off for given attribute(s) | |
| virtual DtHandle | regionSetHandle (DtAttributeHandle attrHandle) |
| virtual unsigned int | encodedLength () const |
| Encode object for save. | |
| virtual void | encode (const char *buff) |
| Encode object for save. | |
Static Public Member Functions | |
| static DtRtiObject * | createEmptyObject () |
| Creator for Empty Object. | |
| static DtRtiObject * | createRegisteredObject (DtObjectInstanceHandle id, const char *name, DtObjectClassInfo *classDesc, DtUpdateType updateType=DtUpdateFederateObject) |
| Creator for Registered Object. | |
| static DtRtiObject * | createDiscoveredObject (DtObjectInstanceHandle id, const char *name, DtObjectClassInfo *classDesc, DtObjectClassInfo *discoveredClass, DtUpdateType updateType=DtUpdateFederateObject) |
| Creator for Discovered Object. | |
| static void | setEmptyCreatorFunction (DtEmptyRtiObjectCreator fn) |
| Used to override the default Empty Creator Function. | |
| static void | setRegisteredCreatorFunction (DtRegisteredRtiObjectCreator fn) |
| Used to override the default Registered Creator Function. | |
| static void | setDiscoveredCreatorFunction (DtDiscoveredRtiObjectCreator fn) |
| Used to override the deafult Discovered Creator Function. | |
| static void | setUseDiscoveredClass (bool yesNo) |
| Set to false when not exchanging discovered class information The object will return the known class instead. | |
Protected Member Functions | |
| DtRtiObject () | |
| Constructors are now protected. | |
| DtRtiObject (DtObjectInstanceHandle id, const char *name, DtObjectClassInfo *classDesc, DtUpdateType updateType=DtUpdateFederateObject) | |
| Constructor for registered objects. | |
| DtRtiObject (DtObjectInstanceHandle id, const char *objName, DtObjectClassInfo *actualClass, DtObjectClassInfo *discoveredClass, DtUpdateType updateType=DtUpdateFederateObject) | |
| Constructor for discovered objects. | |
| DtRtiObject * | self () const |
| Casts away const-ness. | |
| virtual void | addRemoteSubscribe (DtFederateHandle fedHandle, DtAttributeHandle attrHandle) |
| Add the remote subscription of the given attribute by the given federate. | |
| virtual void | removeRemoteSubscribe (DtFederateHandle fedHandle, DtAttributeHandle attrHandle) |
| Remove the remote subscription of the given attribute by the given federate. | |
Protected Attributes | |
| DtObjectInstanceHandle | myId |
| The object instance handle. | |
| DtObjectClassHandle | myActualHandle |
| The actual object class handle. | |
| DtObjectClassHandle | myKnownHandle |
| The federate knows the object as this class. | |
| char * | myObjName |
| The object instance name. | |
| DtAttributeHandleSet | myOwnedSet |
| The set of attributes owned by this federate. | |
| DtAttributeHandleSet | myOutHandleSet |
| Temporary set holds owned attributes of a given set. | |
| bool | myIsKnown |
| Indicates if the federate knows about this object. | |
| DtFederateHandle | myOwnerHandle |
| The federate who owns the privilege to delete. | |
| bool | myHasBeenUpdated |
| Indicates if this object has been updated. | |
| bool | myHasBeenReflected |
| Indicates if this object has been reflected. | |
| DtUpdateType | myUpdateType |
| Indicates the update type. | |
| DtAttributeHandleSet | myLrcManagedSet |
| Union of attributes that are not owned by anyone and managed by LRC. | |
| DtAttributeHandleSet | myUnownedSet |
| Attributes never owned or divested through unpublish and managed by LRC. | |
| DtAttributeHandleSet | myDivestedSet |
| Attributes unconditionally divested and managed by LRC These attributes must be actively divested by the RTI. | |
| DtAttributeHandleSet | myRtiOwnedSet |
| Attributes owned by the RTI (MOM attributes) | |
| DtAttributeHandleSet | myPendingRequestSet |
| Attributes that we've requested, whose requests are pending. | |
| DtAttributeHandleSet | myPendingReqIfAvailSet |
| DtAttributeHandleSet | myDivestingSet |
| Attributes for which we have initiated a negotiated divestiture. | |
| DtRequestDatabase | myRemoteReqDb |
| Database of remote request information. These attributes are owned. | |
| DtObjectClassInfo * | myActualClass |
| Actual class info. | |
| DtObjectClassInfo * | myKnownClass |
| Known class info. | |
| DtAttributeHandleSet | myInScopeAttrs |
| Attribute in scope advisory status. | |
| DtAttributeHandleSet | myUpdateOnAttrs |
| Attribute update on advisory status. | |
| std::map< DtFederateHandle, DtObjectClassHandle > | myDiscoveredClass |
| For each remote federate that discovered this object, contains the discovery class handle. | |
| DtBitMask * | myOverideDestinationsMask |
| Create this bit mask to override remote subscrbie destinations. | |
| DtObjectAttrInfo * | myAttrs |
| List of attributes and information about them. | |
| unsigned | myNumAttrs |
| Number of attributes. | |
| MAKRti::DtTime | myTimeToUseDestinations |
| Time that smart forwarding destinations should take effect Before this time, RTI is waiting for discovery updates to determine destinations. | |
| DtObjectClassHandleByFederateHandleMap | myKnownAttributeOwnersMap |
| This contains attribute owner information. | |
| std::map< float, DtObjectAttrInfo::tuple > | myUpdateRateHold |
| Helper class for calculating update rate reduction values. Kept here for performance reasons. | |
Static Protected Attributes | |
| static bool | theUseDiscoveredClass |
| Indicates if discovered class should be used. | |
| static DtEmptyRtiObjectCreator | theEmptyCreator |
| Static Creator Method for Empty RTI Objects. | |
| static DtRegisteredRtiObjectCreator | theRegisteredCreator |
| Static Creator Method for Registered RTI Objects. | |
| static DtDiscoveredRtiObjectCreator | theDiscoveredCreator |
| Static Creator Method for Discovered RTI Objects. | |
The RTI object maintains the internal RTI object state.
The RTI object maintains information about instance handle, instance name, registered/discovered class, attribute ownership/transport/order, advisories, etc.
|
protected |
Constructors are now protected.
New RTI objects will be created through creator functions. Constructor
|
protected |
Constructor for registered objects.
Set of owned attributes is initialized to the set of published attributes.
|
protected |
Constructor for discovered objects.
|
virtual |
Destructor.
| DtRtiObject::DtRtiObject | ( | const DtRtiObject & | orig | ) |
Copy constructor Copies object state only!
|
virtual |
Collect the remote subscriptions that match these acquired attributes.
|
virtual |
Returns the actual (registered) class of the object.
|
virtual |
Returns class handle of the object.
| void DtRtiObject::addAttributeOwner | ( | DtFederateHandle | fedHandle, |
| const DtAttributeHandleSet & | attrs | ||
| ) |
add Attribute Owners (in response to acquires)
|
virtual |
Add/Remove these to the set of attributes for which a divest is pending.
|
virtual |
Add/Remove these to the set of attributes for which a confirm divest is pending.
|
virtual |
Call to indicate that a remote federate has requested ownership of requestSet.
If an attribute is passed to this function more than once, the more recent request takes precedence. That is, when it's time to divest, we will divest the attribute to the most recent requesting federate.
|
protectedvirtual |
Add the remote subscription of the given attribute by the given federate.
|
virtual |
Add/Remove these to the set of attributes that we have requested, where the request is pending.
|
virtual |
|
virtual |
Add the attributes to scope.
|
virtual |
Add the attributes to scope.
|
virtual |
Return bool: attribute has associated DDM dimensions (where DM default region has all dimensions)?
|
virtual |
Get attribute order from handle.
|
virtual |
Get attribute transport type from handle.
|
virtual |
Cancel all remote requests for supplied attributes.
|
virtual |
Cancel a divest.
|
virtual |
Get the cancelled request set.
|
virtual |
Cancel the remote request.
|
virtual |
Compute Update Rate Reduction send-side mcast destination address.
|
virtual |
Returns the number of attributes pending divestiture confirmation.
|
static |
Creator for Discovered Object.
|
static |
Creator for Empty Object.
Is used to create empty object for restore, then decode is called on the object.
|
static |
Creator for Registered Object.
|
virtual |
Decode object data for restore Return: data successfully decoded?
|
virtual |
Get the discovery class for the remote federate.
|
virtual |
Returns the set of attributes unconditionaly divested and managed by LRC.
|
virtual |
Returns the set of attributes currently being divested.
|
virtual |
Remove the remote subscription status for each of these divested attrs.
|
virtual |
Transfer attributes from local federate to local LRC as divested.
|
virtual |
Encode object for save.
|
virtual |
Encode object for save.
|
virtual |
Returns the number of attributes in inSet that are expected (subscribed) by the federate.
|
virtual |
Returns 1 if we are expected (subscribed to) this attribute, else 0.
|
virtual |
Returns a set that contains those members of inSet that are owned by the federate.
|
virtual |
Get the destination mask for owners of the objects attributes.
|
virtual |
Updates the destinations given with the base class subscriptions This will continue to update until the base class is NULL.
|
virtual |
Get the list of remote subscribers to the class = update destinations.
|
virtual |
Get the list of remote subscribers to the class = update destinations.
|
virtual |
Get the list of remote subscribers to the class = update destinations.
|
virtual |
Transfer attributes from local federate to local LRC as unowned.
|
virtual |
Transfer ownership to local RTI.
|
virtual |
Returns bool: has object been reflected by this federate.
|
virtual |
Returns bool: has object been updated by this federate.
|
virtual |
Set/Get my object handle.
|
virtual |
Returns the set of attributes currently being if available requested.
| void DtRtiObject::initUpdateRates | ( | const MAKRti::DtUpdateRateSetT | rates | ) |
push update rates into each object attribute
|
virtual |
Returns boolean: is attribute in scope?
|
virtual |
Returns boolean: is any attribute in scope?
|
virtual |
Returns the set of attributes that are in scope.
|
virtual |
Return bool: is object discovered by federate?
|
virtual |
|
virtual |
Return 1 if the object is of actualclass handle, or is of a class that's a subclass of handle.
|
virtual |
Return 1 if the object is of known class handle, or is of a class that's a subclass of handle.
|
virtual |
Returns boolean: is there a canceled request for the attribute for which the federate has not responded?
|
virtual |
Returns boolean: is attribute update on?
|
virtual |
Returns boolean: is any attribute turned on?
|
virtual |
Returns the known class of the object.
|
virtual |
Returns class handle indicating class by which the federate knows the object.
|
virtual |
Returns 1 if handle is unowned, and managed by the LRC, 0 otherwise.
|
virtual |
Returns the set of unowned attributes managed by our LRC.
|
virtual |
Remove the elements of set from the set of attributes managed by the local LRC.
|
virtual |
Mark object as having been reflected by this federate.
|
virtual |
Mark object as having been updated by this federate.
|
virtual |
Set/Get my object handle.
|
virtual |
Set/Get my name.
|
virtual |
Update Rate Reduction receive-side test.
| const DtRtiObject& DtRtiObject::operator= | ( | const DtRtiObject & | orig | ) |
assignment operator Assigned object state only!
|
virtual |
Override the destinations with this mask.
|
virtual |
Returns 1 if handle is owned by the object, 0 otherwise.
|
virtual |
Returns the set of owned attributes managed by our LRC.
|
virtual |
Set/Get the federate who owns the priviledgeToDelete attribute.
|
virtual |
Returns true if the priviledgeToDelete attribute is locally owned, false otherwise.
|
virtual |
Returns the handle of the federate that will get ownership of attribute when confirmed.
|
virtual |
Return the set of pedning confirmed attributes.
|
virtual |
Returns only the current set of attributes that are pending confirm for fed.
|
virtual |
Returns the handle of the federate that has most recently requested ownership of this attribute.
|
virtual |
Returns true if there's already a request pending that we've made for this attribute.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Returns true if there's already a request pending that we've made for this attribute.
|
virtual |
|
virtual |
Release ownership of these attributes.
|
virtual |
Calls to this method with the attributes provided in inSet will release and return in releaseSet any matching pending confirm attributes assigned to a single requesting federate, whose handle is the return argument.
The method should be called repeatedly until it returns 0 to release all the matching attributes. Not all the attributes may match a pending confirm.
|
virtual |
Calls to this method with the attributes provided in inSet will release and return in releaseSet any matching requested attributes from a single requesting federate, whose handle is the return argument.
The method should be called repeatedly until it returns 0 to release all the matching attributes. In 1516 negotiated divest, these attributes are not fully released. Set the bool value to move them to a pending confirm status (see releaseConfirm below). Not all the attributes may match a request.
|
virtual |
Add remote DM passive subscriptions.
|
virtual |
Add remote DM passive subscriptions.
|
virtual |
Add remote DM subscriptions.
|
virtual |
Add remote DM subscriptions.
|
virtual |
Remove remote DM subscriptions.
|
virtual |
Remove remote DM subscriptions.
|
virtual |
Remove remote DM subscriptions.
|
virtual |
Get the cancelled request set.
|
virtual |
Remove the discovery class for the remote federate As a result, the remote federates subscription information is removed and attribute advisory status may change.
|
virtual |
Add/Remove these to the set of attributes for which a divest is pending.
|
virtual |
Remove the attributes from scope.
|
virtual |
Remove the attributes from scope.
|
virtual |
Add/Remove these to the set of attributes for which a confirm divest is pending.
|
virtual |
Add/Remove these to the set of attributes for which a confirm divest is pending.
|
virtual |
|
virtual |
Call to indicate that the local federate has denied ownership of requestSet.
This should only be called in response to attribute ownership release denied service call.
|
protectedvirtual |
Remove the remote subscription of the given attribute by the given federate.
|
virtual |
Add/Remove these to the set of attributes that we have requested, where the request is pending.
|
virtual |
|
virtual |
Remove those members of attrSet that are not expected (subscribed) by the federate.
|
virtual |
Returns the number of request by all federates.
|
virtual |
Return the set of requested attributes.
|
virtual |
Returns the set of attributes most recently requested by fed.
|
virtual |
Returns 1 if handle is owned by the RTI, 0 otherwise.
|
virtual |
Returns the set of rti owned attributes managed by our LRC.
|
virtual |
Fills the outSet with the attributes in inSet that are expected (subscribed) by the federate.
|
inlineprotected |
Casts away const-ness.
|
virtual |
Adds all destinations to all attributes.
|
virtual |
Set attribute order from handle.
|
virtual |
Set attribute transport type from handle.
|
virtual |
Set the discovery class for the remote federate As a result, the remote federates subscription information is reset with this class and attribute advisory status may change.
|
static |
Used to override the deafult Discovered Creator Function.
|
static |
Used to override the default Empty Creator Function.
|
virtual |
Set/Get known status of object This status can not be determined by status of attributes.
|
virtual |
Set the known class.
|
virtual |
Set/Get my object handle.
|
virtual |
|
virtual |
|
static |
Used to override the default Registered Creator Function.
| void DtRtiObject::setTimeToUseDestinations | ( | MAKRti::DtTime | timeVal | ) |
Set time to use attribute destinations.
|
static |
Set to false when not exchanging discovered class information The object will return the known class instead.
|
virtual |
Take ownership of these attributes.
|
virtual |
Transfer ownership from local LRC to local federate.
| MAKRti::DtTime DtRtiObject::timeToUseDestinations | ( | ) | const |
Get time to use attribute destinations.
|
virtual |
Turn update off for given attribute(s)
|
virtual |
Turn update off for given attribute(s)
|
virtual |
Turn update on for given attribute(s)
|
virtual |
Turn update on for given attribute(s)
|
virtual |
Get the next federate with requests that have become unavailable and the invalidated attrs.
|
virtual |
Returns the set of attributes currently being unconditionally requested.
|
virtual |
Returns the set of owned attributes that are turned off.
|
virtual |
Returns the set of owned attributes that are turned on.
| DtUpdateType DtRtiObject::updateType | ( | ) | const |
Return the object's update type.
|
protected |
Actual class info.
|
protected |
The actual object class handle.
|
protected |
List of attributes and information about them.
|
protected |
For each remote federate that discovered this object, contains the discovery class handle.
|
protected |
Attributes unconditionally divested and managed by LRC These attributes must be actively divested by the RTI.
|
protected |
Attributes for which we have initiated a negotiated divestiture.
These attributes are still owned, though.
|
protected |
Indicates if this object has been reflected.
|
protected |
Indicates if this object has been updated.
|
protected |
The object instance handle.
|
protected |
Attribute in scope advisory status.
|
protected |
Indicates if the federate knows about this object.
|
protected |
This contains attribute owner information.
Note that any attribute that is not a key in the map means that it shares the same owner as the myOwnerHandle
|
protected |
Known class info.
|
protected |
The federate knows the object as this class.
|
protected |
Union of attributes that are not owned by anyone and managed by LRC.
|
protected |
Number of attributes.
|
protected |
The object instance name.
|
protected |
Temporary set holds owned attributes of a given set.
|
protected |
Create this bit mask to override remote subscrbie destinations.
|
protected |
The set of attributes owned by this federate.
|
protected |
The federate who owns the privilege to delete.
|
protected |
|
protected |
Attributes that we've requested, whose requests are pending.
All members are unowned.
|
protected |
Database of remote request information. These attributes are owned.
|
protected |
Attributes owned by the RTI (MOM attributes)
|
protected |
Time that smart forwarding destinations should take effect Before this time, RTI is waiting for discovery updates to determine destinations.
|
protected |
Attributes never owned or divested through unpublish and managed by LRC.
|
protected |
Attribute update on advisory status.
|
protected |
Helper class for calculating update rate reduction values. Kept here for performance reasons.
|
protected |
Indicates the update type.
|
staticprotected |
Static Creator Method for Discovered RTI Objects.
|
staticprotected |
Static Creator Method for Empty RTI Objects.
|
staticprotected |
Static Creator Method for Registered RTI Objects.
|
staticprotected |
Indicates if discovered class should be used.