![]() |
MAK RTIspy API Documentation for HLA Evolved
|
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 | 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 | 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. | |
| 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 DtAhvps &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. | |
| MAKRti::DtHashlist | 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. | |
Static Protected Attributes | |
| static bool | theUseDiscoveredClass |
| Indicates if discovered class should be used. | |
| static DtEmptyRtiObjectCreator | theEmptyCreator = NULL |
| Static Creator Method for Empty RTI Objects. | |
| static DtRegisteredRtiObjectCreator | theRegisteredCreator = NULL |
| Static Creator Method for Registered RTI Objects. | |
| static DtDiscoveredRtiObjectCreator | theDiscoveredCreator = NULL |
| 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.
| DtRtiObject::DtRtiObject | ( | ) | [protected] |
Constructors are now protected.
New RTI objects will be created through creator functions. Constructor
Referenced by createDiscoveredObject(), createEmptyObject(), and createRegisteredObject().
| DtRtiObject::DtRtiObject | ( | DtObjectInstanceHandle | id, |
| const char * | name, | ||
| DtObjectClassInfo * | classDesc, | ||
| DtUpdateType | updateType = DtUpdateFederateObject |
||
| ) | [protected] |
Constructor for registered objects.
Set of owned attributes is initialized to the set of published attributes.
References DtObjectClassInfo::allAttrs(), DtObjectClassInfo::attrOrder(), DtObjectClassInfo::attrTransport(), DtDefaultRegionSetHandle, myActualClass, myAttrs, myLrcManagedSet, myNumAttrs, myOwnedSet, myUnownedSet, NULL, DtObjectClassInfo::numAttributes(), DtObjectAttrInfo::order, DtObjectClassInfo::publishedAttrs(), DtObjectAttrInfo::regionSet, DtObjectAttrInfo::regionSetHandle, DtObjectAttrInfo::remoteSubscriberMask, DtAttributeHandleSet::removeSetIntersection(), DtBitMask::reset(), and DtObjectAttrInfo::transport.
| DtRtiObject::DtRtiObject | ( | DtObjectInstanceHandle | id, |
| const char * | objName, | ||
| DtObjectClassInfo * | actualClass, | ||
| DtObjectClassInfo * | discoveredClass, | ||
| DtUpdateType | updateType = DtUpdateFederateObject |
||
| ) | [protected] |
Constructor for discovered objects.
References DtObjectClassInfo::attrOrder(), DtObjectClassInfo::attrTransport(), DtDefaultRegionSetHandle, myActualClass, myAttrs, myNumAttrs, NULL, DtObjectClassInfo::numAttributes(), DtObjectAttrInfo::order, DtObjectAttrInfo::regionSet, DtObjectAttrInfo::regionSetHandle, DtObjectAttrInfo::remoteSubscriberMask, DtBitMask::reset(), and DtObjectAttrInfo::transport.
| DtRtiObject::~DtRtiObject | ( | ) | [virtual] |
Destructor.
References myAttrs, myObjName, myOverideDestinationsMask, and NULL.
| DtRtiObject::DtRtiObject | ( | const DtRtiObject & | orig | ) |
Copy constructor Copies object state only!
References getDestinations(), myAttrs, myNumAttrs, myOverideDestinationsMask, DtObjectAttrInfo::order, DtObjectAttrInfo::regionSet, DtObjectAttrInfo::regionSetHandle, DtObjectAttrInfo::remoteSubscriberMask, and DtObjectAttrInfo::transport.
| void DtRtiObject::acquireRemoteSubscriptions | ( | const DtAttributeHandleSet & | attrs, |
| DtFomClassMgr * | fom | ||
| ) | [virtual] |
Collect the remote subscriptions that match these acquired attributes.
References DtFomClassMgr::classByHandle(), discoveredClass(), myDiscoveredClass, NULL, remoteSubscribe(), and DtObjectClassInfo::remoteSubscription().
Referenced by DtObjectMgr::acquireAttrs(), and DtObjectMgr::processNotifyAcquire().
| DtObjectClassInfo * DtRtiObject::actualClass | ( | ) | [virtual] |
Returns the actual (registered) class of the object.
References myActualClass.
Referenced by createDiscoveredObject(), createRegisteredObject(), decode(), encode(), getDestinations(), DtObjectMgr::notifyDivestedAttributes(), DtObjectMgr::sendBestEffortUpdateMsg(), DtObjectMgr::sendPendingRegister(), DtObjectMgr::sendReliableUpdateMsg(), and DtObjectMgr::sendUpdate().
| DtObjectClassHandle DtRtiObject::actualClassHandle | ( | ) | const [virtual] |
Returns class handle of the object.
References myActualHandle.
Referenced by DtObjectMgr::acquireAttrs(), DtObjOwnershipInfoXmlBlock::addObject(), encode(), DtObjectMgr::processNotifyAcquire(), DtObjectMgr::releaseAllAttributes(), DtObjectMgr::sendBestEffortUpdateMsg(), and DtObjectMgr::sendReliableUpdateMsg().
| void DtRtiObject::addDivesting | ( | const DtAttributeHandleSet & | divestSet | ) | [virtual] |
Add/Remove these to the set of attributes for which a divest is pending.
References myDivestingSet, and DtAttributeHandleSet::setUnion().
Referenced by DtObjectMgr::divestOwnership().
| void DtRtiObject::addPendingConfirm | ( | const DtAttributeHandleSet & | attrs, |
| DtFederateHandle | fed | ||
| ) | [virtual] |
Add/Remove these to the set of attributes for which a confirm divest is pending.
References DtRequestDatabase::addPendingConfirm(), and myRemoteReqDb.
Referenced by decode(), and DtObjectMgr::processAcquire().
| void DtRtiObject::addRemoteRequest | ( | const DtAttributeHandleSet & | requestSet, |
| DtFederateHandle | fed | ||
| ) | [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.
References DtRequestDatabase::addRemoteRequest(), and myRemoteReqDb.
Referenced by decode(), and DtObjectMgr::processAcquire().
| void DtRtiObject::addRemoteSubscribe | ( | DtFederateHandle | fedHandle, |
| DtAttributeHandle | attrHandle | ||
| ) | [protected, virtual] |
Add the remote subscription of the given attribute by the given federate.
References DtRtiMtdDestinationList::destinationIndex(), myAttrs, DtObjectAttrInfo::remoteSubscriberMask, DtObjectAttrInfo::remoteSubscriptions, DtBitMask::setBit(), DtRtiMsg::smartForwardingEnabled(), and turnUpdateOn().
Referenced by remoteSubscribe().
| void DtRtiObject::addRequest | ( | const DtAttributeHandleSet & | requestSet, |
| bool | ifAvail | ||
| ) | [virtual] |
Add/Remove these to the set of attributes that we have requested, where the request is pending.
References myPendingReqIfAvailSet, myPendingRequestSet, DtAttributeHandleSet::removeSetIntersection(), and DtAttributeHandleSet::setUnion().
Referenced by DtObjectMgr::acquireAttrs().
| void DtRtiObject::addToScope | ( | DtAttributeHandle | handle | ) | [virtual] |
Add the attributes to scope.
References DtAttributeHandleSet::add(), and myInScopeAttrs.
| void DtRtiObject::addToScope | ( | const DtAttributeHandleSet & | attrs | ) | [virtual] |
Add the attributes to scope.
References myInScopeAttrs, and DtAttributeHandleSet::setUnion().
| bool DtRtiObject::attrHasDimensions | ( | DtAttributeHandle | attrHandle | ) | const [virtual] |
Return bool: attribute has associated DDM dimensions (where DM default region has all dimensions)?
Referenced by DtObjectMgr::sendUpdate().
| MAKRti::DtOrderType DtRtiObject::attrOrder | ( | DtAttributeHandle | theHandle | ) | [virtual] |
Get attribute order from handle.
References myAttrs, and DtObjectAttrInfo::order.
Referenced by DtObjectMgr::deleteObj(), encode(), and takeAttrs().
| MAKRti::DtTransportType DtRtiObject::attrTransport | ( | DtAttributeHandle | theHandle | ) | [virtual] |
Get attribute transport type from handle.
References myAttrs, and DtObjectAttrInfo::transport.
Referenced by encode(), DtObjectMgr::processOwnership(), and takeAttrs().
| void DtRtiObject::cancelAllRemoteRequests | ( | const DtAttributeHandleSet & | requestSet | ) | [virtual] |
Cancel all remote requests for supplied attributes.
References DtRequestDatabase::cancelAllRemoteRequest(), and myRemoteReqDb.
Referenced by decode(), and DtObjectMgr::processResign().
| void DtRtiObject::cancelDivest | ( | const DtAttributeHandleSet & | set | ) | [virtual] |
Cancel a divest.
References removeDivesting(), and removePendingConfirm().
Referenced by DtObjectMgr::cancelDivest().
| DtAttributeHandleSet DtRtiObject::canceledRequestSet | ( | ) | const [virtual] |
Get the cancelled request set.
References DtRequestDatabase::canceledRequestSet(), and myRemoteReqDb.
Referenced by decode(), and DtObjectMgr::processAcquire().
| void DtRtiObject::cancelRemoteRequest | ( | const DtAttributeHandleSet & | requestSet, |
| DtFederateHandle | fed | ||
| ) | [virtual] |
Cancel the remote request.
References DtRequestDatabase::cancelRemoteRequest(), and myRemoteReqDb.
Referenced by DtObjectMgr::processCancelAcquire().
| unsigned int DtRtiObject::computeAttrOffset | ( | DtHandle | attrHandle | ) | [virtual] |
Compute Update Rate Reduction send-side mcast destination address.
References myAttrs, and DtObjectAttrInfo::offsets.
| int DtRtiObject::confirmCount | ( | ) | const [virtual] |
Returns the number of attributes pending divestiture confirmation.
References DtRequestDatabase::confirmCount(), and myRemoteReqDb.
| DtRtiObject * DtRtiObject::createDiscoveredObject | ( | DtObjectInstanceHandle | id, |
| const char * | name, | ||
| DtObjectClassInfo * | classDesc, | ||
| DtObjectClassInfo * | discoveredClass, | ||
| DtUpdateType | updateType = DtUpdateFederateObject |
||
| ) | [static] |
Creator for Discovered Object.
References actualClass(), discoveredClass(), DtRtiObject(), id(), objName(), theDiscoveredCreator, and updateType().
Referenced by DtObjectMgr::discoverObject(), and DtObjectMgr::processGiveToLrc().
| DtRtiObject * DtRtiObject::createEmptyObject | ( | ) | [static] |
Creator for Empty Object.
Is used to create empty object for restore, then decode is called on the object.
References DtRtiObject(), and theEmptyCreator.
Referenced by DtObjectMgr::restoreObjectList().
| DtRtiObject * DtRtiObject::createRegisteredObject | ( | DtObjectInstanceHandle | id, |
| const char * | name, | ||
| DtObjectClassInfo * | classDesc, | ||
| DtUpdateType | updateType = DtUpdateFederateObject |
||
| ) | [static] |
Creator for Registered Object.
References actualClass(), DtRtiObject(), id(), objName(), theRegisteredCreator, and updateType().
Referenced by DtObjectMgr::registerObj().
| bool DtRtiObject::decode | ( | const char * | buff, |
| DtFomClassMgr * | fom | ||
| ) | [virtual] |
Decode object data for restore Return: data successfully decoded?
References actualClass(), DtAttributeHandleSet::add(), addPendingConfirm(), addRemoteRequest(), cancelAllRemoteRequests(), DtObjectPacket::canceledRequests, canceledRequestSet(), DtFomClassMgr::classByHandle(), DtObjectPacket::classHandle, DtRequestDatabase::clearAll(), DtObjectPacket::divested, DtObjectPacket::divesting, DtDefaultRegionSetHandle, DtRtiSaveObjectType, DtObjectPacket::header, DtObjectPacket::inScope, DtObjectPacket::isKnown, DtObjectPacket::knownHandle, DtObjectPacket::lrcManaged, myActualClass, myActualHandle, myAttrs, myDiscoveredClass, myDivestedSet, myDivestingSet, DtObjectPacket::myId, myId, myInScopeAttrs, myIsKnown, myKnownClass, myKnownHandle, myLrcManagedSet, myNumAttrs, myObjName, myOwnedSet, myPendingReqIfAvailSet, myPendingRequestSet, myRemoteReqDb, myRtiOwnedSet, myUnownedSet, myUpdateOnAttrs, NULL, DtObjectClassInfo::numAttributes(), DtObjectPacket::numPendingConfirm, DtObjectPacket::numRemoteDiscover, DtObjectPacket::numRemoteRequest, DtObjectPacket::order, DtObjectAttrInfo::order, DtObjectPacket::owned, DtObjectPacket::ownerHandle, DtSaveDataHeader::packetType, DtObjectPacket::pendingRequest, DtObjectPacket::pendingRequestAvail, DtObjectAttrInfo::regionSet, DtObjectAttrInfo::regionSetHandle, DtObjectPacket::rtiOwned, setDiscoveredClass(), setOwnerHandle(), DtObjectPacket::trans, DtObjectAttrInfo::transport, DtObjectPacket::unowned, and DtObjectPacket::updateOn.
Referenced by DtObjectMgr::restoreObjectList().
| DtObjectClassHandle DtRtiObject::discoveredClass | ( | DtFederateHandle | remoteFedHandle | ) | [virtual] |
Get the discovery class for the remote federate.
References knownClassHandle(), myDiscoveredClass, and theUseDiscoveredClass.
Referenced by acquireRemoteSubscriptions(), and createDiscoveredObject().
| const DtAttributeHandleSet & DtRtiObject::divestedAttrs | ( | ) | [virtual] |
Returns the set of attributes unconditionaly divested and managed by LRC.
References myDivestedSet.
Referenced by DtObjectMgr::notifyDivestedAttributes().
| const DtAttributeHandleSet & DtRtiObject::divestingAttrs | ( | ) | [virtual] |
Returns the set of attributes currently being divested.
References myDivestingSet.
Referenced by DtObjectMgr::cancelDivest(), DtObjectMgr::divestOwnership(), DtObjectMgr::processAcquire(), and DtObjectMgr::processCancelAcquire().
| void DtRtiObject::divestRemoteSubscriptions | ( | const DtAttributeHandleSet & | attrs | ) | [virtual] |
Remove the remote subscription status for each of these divested attrs.
References DtAttributeHandleSet::getHandle(), myAttrs, DtObjectAttrInfo::remoteSubscriberMask, DtObjectAttrInfo::remoteSubscriptionRegions, DtObjectAttrInfo::remoteSubscriptionRegionsByFederate, DtObjectAttrInfo::remoteSubscriptions, DtBitMask::reset(), DtAttributeHandleSet::size(), and turnUpdateOff().
Referenced by DtObjectMgr::divestOwnership(), DtObjectMgr::processAcquire(), and DtObjectMgr::releaseOwnership().
| void DtRtiObject::divestToLrc | ( | const DtAttributeHandleSet & | set | ) | [virtual] |
Transfer attributes from local federate to local LRC as divested.
References myDivestedSet, myLrcManagedSet, releaseAttrs(), and DtAttributeHandleSet::setUnion().
Referenced by DtObjectMgr::divestOwnership().
| void DtRtiObject::encode | ( | const char * | buff | ) | [virtual] |
Encode object for save.
References actualClass(), actualClassHandle(), attrOrder(), attrTransport(), DtObjectPacket::canceledRequests, DtRequestDatabase::canceledRequestSet(), DtObjectPacket::classHandle, DtRequestDatabase::confirmCount(), DtObjectPacket::divested, DtObjectPacket::divesting, DtRtiSaveObjectType, DtAttributeHandleSet::encode(), encodedLength(), DtObjectPacket::header, DtObjectPacket::inScope, DtObjectPacket::isKnown, isKnown(), knownClassHandle(), DtObjectPacket::knownHandle, DtObjectPacket::lrcManaged, myDiscoveredClass, myDivestedSet, myDivestingSet, DtObjectPacket::myId, myInScopeAttrs, myLrcManagedSet, myOwnedSet, myPendingReqIfAvailSet, myPendingRequestSet, myRemoteReqDb, myRtiOwnedSet, myUnownedSet, myUpdateOnAttrs, DtObjectPacket::nameLength, DtObjectClassInfo::numAttributes(), DtObjectPacket::numPendingConfirm, DtObjectPacket::numRemoteDiscover, DtObjectPacket::numRemoteRequest, objName(), DtObjectPacket::order, DtObjectPacket::owned, DtObjectPacket::ownerHandle, ownerHandle(), DtSaveDataHeader::packetSize, DtSaveDataHeader::packetType, pendingConfirm(), pendingRemoteRequest(), DtObjectPacket::pendingRequest, DtObjectPacket::pendingRequestAvail, requestCount(), DtObjectPacket::rtiOwned, DtObjectPacket::trans, DtObjectPacket::unowned, and DtObjectPacket::updateOn.
Referenced by DtObjectMgr::saveObjectList().
| unsigned int DtRtiObject::encodedLength | ( | ) | const [virtual] |
Encode object for save.
References DtRequestDatabase::confirmCount(), myDiscoveredClass, myRemoteReqDb, objName(), and requestCount().
Referenced by encode(), and DtObjectMgr::saveObjectList().
| int DtRtiObject::expectedCount | ( | const DtAhvps & | inSet, |
| DtHandle | regSetHandle | ||
| ) | const [virtual] |
Returns the number of attributes in inSet that are expected (subscribed) by the federate.
References expecting().
| int DtRtiObject::expecting | ( | DtAttributeHandle | handle, |
| DtHandle | regSetHandle | ||
| ) | const [virtual] |
Returns 1 if we are expected (subscribed to) this attribute, else 0.
References DtAttributeHandleSet::isMember(), myKnownClass, and DtObjectClassInfo::subscribedAttrs().
Referenced by expectedCount(), removeUnexpected(), and selectExpected().
| const DtAttributeHandleSet & DtRtiObject::filterOwned | ( | const DtAttributeHandleSet & | inSet | ) | const [virtual] |
Returns a set that contains those members of inSet that are owned by the federate.
References myOutHandleSet, myOwnedSet, and DtAttributeHandleSet::setIntersection().
Referenced by DtObjectMgr::processRequest(), DtObjectMgr::provideAttrValueUpdate(), and DtObjectMgr::sendPendingRequestAttributes().
| DtBitMask DtRtiObject::getDestinations | ( | ) | const [virtual] |
Get the list of remote subscribers to the class = update destinations.
References actualClass(), DtObjectClassInfo::getForcedDestinations(), DtRtiMtdDestinationList::getMaxDestinations(), myAttrs, myNumAttrs, myOverideDestinationsMask, DtObjectAttrInfo::remoteSubscriberMask, DtBitMask::reset(), and timeToUseDestinations().
Referenced by DtRtiObject(), operator=(), DtObjectMgr::sendBestEffortUpdateMsg(), and DtObjectMgr::sendReliableUpdateMsg().
| DtBitMask DtRtiObject::getDestinations | ( | const DtAttributeHandleSet & | attrs | ) | const [virtual] |
Get the list of remote subscribers to the class = update destinations.
References actualClass(), DtObjectClassInfo::getForcedDestinations(), DtAttributeHandleSet::getHandle(), DtRtiMtdDestinationList::getMaxDestinations(), myAttrs, myOverideDestinationsMask, DtObjectAttrInfo::remoteSubscriberMask, DtBitMask::reset(), DtAttributeHandleSet::size(), and timeToUseDestinations().
| DtBitMask DtRtiObject::getDestinations | ( | const DtAhvps & | attrs | ) | const [virtual] |
Get the list of remote subscribers to the class = update destinations.
References actualClass(), DtObjectClassInfo::getForcedDestinations(), DtRtiMtdDestinationList::getMaxDestinations(), myAttrs, myOverideDestinationsMask, DtObjectAttrInfo::remoteSubscriberMask, DtBitMask::reset(), and timeToUseDestinations().
| void DtRtiObject::giveToLrc | ( | const DtAttributeHandleSet & | set | ) | [virtual] |
Transfer attributes from local federate to local LRC as unowned.
References myLrcManagedSet, myUnownedSet, releaseAttrs(), and DtAttributeHandleSet::setUnion().
Referenced by DtObjectMgr::divestOwnership(), DtObjectMgr::processGiveToLrc(), and DtObjectMgr::releaseOwnership().
| void DtRtiObject::giveToRti | ( | const DtAttributeHandleSet & | set | ) | [virtual] |
Transfer ownership to local RTI.
References myDivestedSet, myLrcManagedSet, myOwnedSet, myRtiOwnedSet, myUnownedSet, DtAttributeHandleSet::removeSetIntersection(), and DtAttributeHandleSet::setUnion().
| bool DtRtiObject::hasBeenReflected | ( | ) | const [virtual] |
Returns bool: has object been reflected by this federate.
References myHasBeenReflected.
| bool DtRtiObject::hasBeenUpdated | ( | ) | const [virtual] |
Returns bool: has object been updated by this federate.
References myHasBeenUpdated.
| DtObjectInstanceHandle DtRtiObject::id | ( | ) | const [virtual] |
Set/Get my object handle.
References myId.
Referenced by DtObjectMgr::acquireAttrs(), createDiscoveredObject(), createRegisteredObject(), DtObjectMgr::objectWasCreatedByFederate(), DtObjectMgr::prepareToResign(), and DtObjectMgr::processResign().
| const DtAttributeHandleSet & DtRtiObject::ifAvailRequestedAttrs | ( | ) | [virtual] |
Returns the set of attributes currently being if available requested.
References myPendingReqIfAvailSet.
Referenced by DtObjectMgr::isAcquistionPending(), DtObjectMgr::localDeleteObj(), DtObjectMgr::prepareToResign(), DtObjectMgr::processNotifyAcquire(), DtObjectMgr::processOwnership(), and DtObjectMgr::throwIfAcquisitionPending().
| void DtRtiObject::initUpdateRates | ( | const MAKRti::DtUpdateRateSetT | rates | ) |
push update rates into each object attribute
References myAttrs, myNumAttrs, and DtObjectAttrInfo::offsets.
Referenced by DtObjectMgr::registerObj().
| int DtRtiObject::inScope | ( | DtAttributeHandle | handle | ) | const [virtual] |
Returns boolean: is attribute in scope?
References DtAttributeHandleSet::isMember(), and myInScopeAttrs.
| bool DtRtiObject::inScope | ( | ) | const [virtual] |
Returns boolean: is any attribute in scope?
References myInScopeAttrs, and DtAttributeHandleSet::size().
| const DtAttributeHandleSet & DtRtiObject::inScopeAttrs | ( | ) | [virtual] |
Returns the set of attributes that are in scope.
References myInScopeAttrs.
| bool DtRtiObject::isDiscovered | ( | DtFederateHandle | remoteFedHandle | ) | [virtual] |
Return bool: is object discovered by federate?
References myDiscoveredClass, NULL, and theUseDiscoveredClass.
Referenced by DtObjectMgr::remoteUnsubscribe().
| bool DtRtiObject::isKnown | ( | ) | const [virtual] |
References myIsKnown.
Referenced by encode(), and DtObjectMgr::restoreObjectList().
| int DtRtiObject::isOfActualClass | ( | DtAttributeHandle | handle | ) | const [virtual] |
Return 1 if the object is of actualclass handle, or is of a class that's a subclass of handle.
References DtObjectClassInfo::isOfClass(), and myActualClass.
Referenced by DtObjectMgr::processRequest().
| int DtRtiObject::isOfKnownClass | ( | DtAttributeHandle | handle | ) | const [virtual] |
Return 1 if the object is of known class handle, or is of a class that's a subclass of handle.
References DtObjectClassInfo::isOfClass(), and myKnownClass.
| bool DtRtiObject::isRequestCanceled | ( | DtAttributeHandle | hand | ) | [virtual] |
Returns boolean: is there a canceled request for the attribute for which the federate has not responded?
References DtRequestDatabase::isRequestCanceled(), and myRemoteReqDb.
Referenced by DtObjectMgr::releaseResponse().
| bool DtRtiObject::isUpdateOn | ( | DtAttributeHandle | handle | ) | const [virtual] |
Returns boolean: is attribute update on?
References DtAttributeHandleSet::isMember(), and myUpdateOnAttrs.
| bool DtRtiObject::isUpdateOn | ( | ) | const [virtual] |
Returns boolean: is any attribute turned on?
References myUpdateOnAttrs, and DtAttributeHandleSet::size().
| DtObjectClassInfo * DtRtiObject::knownClass | ( | ) | [virtual] |
Returns the known class of the object.
References myKnownClass.
Referenced by DtObjectMgr::acquireAttrs(), DtObjectMgr::cancelAcquire(), DtObjectMgr::cancelDivest(), DtObjectMgr::divestOwnership(), okToReceive(), DtObjectMgr::processDivest(), DtObjectMgr::processNotifyAcquire(), DtObjectMgr::processUpdate(), DtObjectMgr::queryOwnership(), DtObjectMgr::releaseResponse(), DtObjectMgr::requestObjectUpdate(), and takeAttrs().
| DtObjectClassHandle DtRtiObject::knownClassHandle | ( | ) | const [virtual] |
Returns class handle indicating class by which the federate knows the object.
References myKnownHandle.
Referenced by DtObjOwnershipInfoXmlBlock::addObject(), discoveredClass(), DtObjectMgr::discoverObject(), DtObjectMgr::divestAllInstances(), encode(), DtObjectMgr::objectClass(), DtObjectMgr::sendPendingStopUpdates(), and DtObjectMgr::throwIfAcquisitionPending().
| int DtRtiObject::lrcManaged | ( | DtAttributeHandle | handle | ) | const [virtual] |
Returns 1 if handle is unowned, and managed by the LRC, 0 otherwise.
References DtAttributeHandleSet::isMember(), and myUnownedSet.
Referenced by DtObjectMgr::processQueryOwner(), and DtObjectMgr::queryOwnership().
| const DtAttributeHandleSet & DtRtiObject::lrcManagedAttrs | ( | ) | [virtual] |
Returns the set of unowned attributes managed by our LRC.
References myLrcManagedSet.
Referenced by DtObjectMgr::acquireAttrs(), DtObjectMgr::processAcquire(), DtObjectMgr::processOwnership(), DtObjectMgr::registerObj(), DtObjectMgr::releaseAllAttributes(), and DtObjectMgr::restoreObjectList().
| void DtRtiObject::lrcUnmanage | ( | const DtAttributeHandleSet & | set | ) | [virtual] |
Remove the elements of set from the set of attributes managed by the local LRC.
References myDivestedSet, myLrcManagedSet, myUnownedSet, and DtAttributeHandleSet::removeSetIntersection().
Referenced by DtObjectMgr::processAcquire(), and takeFromLrc().
| void DtRtiObject::markAsReflected | ( | ) | [virtual] |
Mark object as having been reflected by this federate.
References myHasBeenReflected.
Referenced by DtObjectMgr::processUpdate().
| void DtRtiObject::markAsUpdated | ( | ) | [virtual] |
Mark object as having been updated by this federate.
References myHasBeenUpdated.
| DtObjectInstanceHandle DtRtiObject::objHandle | ( | ) | const [virtual] |
Set/Get my object handle.
References myId.
Referenced by DtObjectMgr::acquireAttrs(), DtObjectMgr::addAllObj(), DtObjectMgr::addKnownObj(), DtObjectMgr::addLrcManagedObj(), DtObjOwnershipInfoXmlBlock::addObject(), DtObjectMgr::addOwnedObj(), DtObjectMgr::deleteAllOwnedObjects(), DtObjectMgr::deleteObj(), DtObjectMgr::destroyObjectLists(), DtObjectMgr::divestOwnership(), DtObjectMgr::notifyDivestedAttributes(), DtObjectMgr::objectHandle(), DtObjectMgr::prepareToResign(), DtObjectMgr::processAcquire(), DtObjectMgr::processDelete(), DtObjectMgr::processDiscover(), DtObjectMgr::processGiveToLrc(), DtObjectMgr::processNotifyAcquire(), DtObjectMgr::processOwnership(), DtObjectMgr::processRequest(), DtObjectMgr::processRequestDiscover(), DtObjectMgr::provideAttrValueUpdate(), DtObjectMgr::registerObj(), DtObjectMgr::releaseAllAttributes(), DtObjectMgr::releaseOwnership(), DtObjectMgr::removeAllObj(), DtObjectMgr::removeFromAllLists(), DtObjectMgr::removeKnownObj(), DtObjectMgr::removeLrcManagedObj(), DtObjectMgr::removeOwnedObj(), DtObjectMgr::retainTsoDeletedObj(), DtObjectMgr::retainTsoRemovedObj(), DtObjectMgr::sendBestEffortUpdateMsg(), DtObjectMgr::sendPendingRequestAttributes(), DtObjectMgr::sendPendingStartUpdates(), DtObjectMgr::sendPendingStopUpdates(), DtObjectMgr::sendRegisterMsg(), DtObjectMgr::sendReliableUpdateMsg(), and DtObjectMgr::setAttributeTransportType().
| const char * DtRtiObject::objName | ( | ) | const [virtual] |
Set/Get my name.
References myObjName.
Referenced by DtObjectMgr::addAllObj(), DtObjectMgr::addKnownObj(), DtObjectMgr::addLrcManagedObj(), DtObjOwnershipInfoXmlBlock::addObject(), DtObjectMgr::addOwnedObj(), createDiscoveredObject(), createRegisteredObject(), DtObjectMgr::deleteObj(), encode(), encodedLength(), DtObjectMgr::objectName(), DtObjectMgr::prepareToResign(), DtObjectMgr::releaseAllAttributes(), DtObjectMgr::removeAllObj(), DtObjectMgr::removeKnownObj(), DtObjectMgr::removeLrcManagedObj(), DtObjectMgr::removeOwnedObj(), DtObjectMgr::sendBestEffortUpdateMsg(), and DtObjectMgr::sendReliableUpdateMsg().
| bool DtRtiObject::okToReceive | ( | DtHandle | attrHandle, |
| float | tolerance | ||
| ) | [virtual] |
Update Rate Reduction receive-side test.
References DtObjectClassInfo::attrByHandle(), knownClass(), myAttrs, DtObjectAttrInfo::myNextReceiveTime, and DtAttrInfo::subscribedRate().
Referenced by DtUpdateMsg::fillFromNetAttrs(), and DtUpdateMsg::fillFromNetBigAttrs().
| const DtRtiObject & DtRtiObject::operator= | ( | const DtRtiObject & | orig | ) |
assignment operator Assigned object state only!
References getDestinations(), myActualClass, myActualHandle, myAttrs, myDivestedSet, myDivestingSet, myHasBeenReflected, myHasBeenUpdated, myId, myIsKnown, myKnownClass, myKnownHandle, myLrcManagedSet, myNumAttrs, myObjName, myOverideDestinationsMask, myOwnedSet, myPendingReqIfAvailSet, myPendingRequestSet, myRtiOwnedSet, myUnownedSet, DtObjectAttrInfo::order, DtObjectAttrInfo::regionSet, DtObjectAttrInfo::regionSetHandle, DtObjectAttrInfo::remoteSubscriberMask, and DtObjectAttrInfo::transport.
| void DtRtiObject::overrideDestinations | ( | DtBitMask const & | mask | ) | [virtual] |
Override the destinations with this mask.
References myOverideDestinationsMask.
| int DtRtiObject::owned | ( | DtAttributeHandle | handle | ) | const [virtual] |
Returns 1 if handle is owned by the object, 0 otherwise.
References DtAttributeHandleSet::isMember(), and myOwnedSet.
Referenced by DtObjectMgr::acquireAttrs(), DtObjectMgr::cancelAcquire(), DtObjectMgr::cancelDivest(), DtObjectMgr::divestOwnership(), ownPriviledgeToDelete(), DtObjectMgr::processOwnership(), DtObjectMgr::processQueryOwner(), DtObjectMgr::queryOwnership(), DtObjectMgr::releaseResponse(), remotePassiveSubscribe(), remoteSubscribe(), DtObjectMgr::sendUpdate(), DtObjectMgr::setAttributeOrderType(), and DtObjectMgr::setAttributeTransportType().
| const DtAttributeHandleSet & DtRtiObject::ownedAttrs | ( | ) | [virtual] |
Returns the set of owned attributes managed by our LRC.
References myOwnedSet.
Referenced by DtObjectMgr::acquireAttrs(), DtObjectMgr::divestAllInstances(), DtObjectMgr::divestOwnership(), DtObjectMgr::localDeleteObj(), DtObjectMgr::prepareToResign(), DtObjectMgr::processAcquire(), DtObjectMgr::processCancelAcquire(), DtObjectMgr::processLocDelete(), DtObjectMgr::processNotifyAcquire(), DtObjectMgr::processOwnership(), DtObjectMgr::processResign(), DtObjectMgr::releaseAllAttributes(), DtObjectMgr::releaseOwnership(), removeDiscoveredClass(), DtObjectMgr::restoreObjectList(), DtObjectMgr::sendPendingStartUpdates(), DtObjectMgr::sendPendingStopUpdates(), DtObjectMgr::sendRegisterMsg(), and setDiscoveredClass().
| DtFederateHandle DtRtiObject::ownerHandle | ( | ) | const [virtual] |
Set/Get the federate who owns the priviledgeToDelete attribute.
References myOwnerHandle.
Referenced by encode(), DtObjectMgr::processDiscover(), and DtObjectMgr::processResign().
| bool DtRtiObject::ownPriviledgeToDelete | ( | ) | [virtual] |
Returns true if the priviledgeToDelete attribute is locally owned, false otherwise.
References DtPrivilegeToDelete, and owned().
Referenced by DtObjectMgr::deleteAllOwnedObjects(), DtObjectMgr::deleteObj(), DtObjectMgr::numObjectsOwned(), DtObjectMgr::prepareToResign(), DtObjectMgr::processNotifyAcquire(), and DtObjectMgr::registerObj().
| DtFederateHandle DtRtiObject::pendingConfirm | ( | DtAttributeHandle | hand | ) | const [virtual] |
Returns the handle of the federate that will get ownership of attribute when confirmed.
References myRemoteReqDb, and DtRequestDatabase::pendingConfirm().
Referenced by encode().
| DtAttributeHandleSet const & DtRtiObject::pendingConfirmAttributes | ( | ) | const [virtual] |
Return the set of pedning confirmed attributes.
References myRemoteReqDb, and DtRequestDatabase::pendingConfirmAttributes().
Referenced by DtObjectMgr::processAcquire().
| DtAttributeHandleSet DtRtiObject::pendingConfirmByFed | ( | DtFederateHandle | fed | ) | const [virtual] |
Returns only the current set of attributes that are pending confirm for fed.
References myRemoteReqDb, and DtRequestDatabase::pendingConfirmByFed().
Referenced by DtObjectMgr::processAcquire().
| DtFederateHandle DtRtiObject::pendingRemoteRequest | ( | DtAttributeHandle | hand | ) | [virtual] |
Returns the handle of the federate that has most recently requested ownership of this attribute.
References myRemoteReqDb, and DtRequestDatabase::pendingRemoteRequest().
Referenced by encode(), and DtObjectMgr::releaseResponse().
| bool DtRtiObject::pendingRequestIfAvail | ( | DtAttributeHandle | hand | ) | [virtual] |
Returns true if there's already a request pending that we've made for this attribute.
References DtAttributeHandleSet::isMember(), and myPendingReqIfAvailSet.
| bool DtRtiObject::pendingUncondRequest | ( | DtAttributeHandle | hand | ) | [virtual] |
Returns true if there's already a request pending that we've made for this attribute.
References DtAttributeHandleSet::isMember(), and myPendingRequestSet.
Referenced by DtObjectMgr::acquireAttrs(), and DtObjectMgr::cancelAcquire().
| DtHandle DtRtiObject::regionSetHandle | ( | DtAttributeHandle | attrHandle | ) | [virtual] |
References DtDefaultRegionSetHandle, myAttrs, and DtObjectAttrInfo::regionSet.
Referenced by DtObjectMgr::sendUpdate(), and setDiscoveredClass().
| void DtRtiObject::releaseAttrs | ( | const DtAttributeHandleSet & | releaseSet | ) | [virtual] |
Release ownership of these attributes.
References myOwnedSet, myRemoteReqDb, DtRequestDatabase::removeCanceledRequests(), removeDivesting(), DtRequestDatabase::removeRemoteRequest(), and DtAttributeHandleSet::removeSetIntersection().
Referenced by divestToLrc(), giveToLrc(), DtObjectMgr::processAcquire(), releaseConfirm(), and releaseRequested().
| DtFederateHandle DtRtiObject::releaseConfirm | ( | const DtAttributeHandleSet & | inSet, |
| DtAttributeHandleSet * | releasedSet | ||
| ) | [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.
References myRemoteReqDb, releaseAttrs(), and DtRequestDatabase::releaseConfirm().
| DtFederateHandle DtRtiObject::releaseRequested | ( | const DtAttributeHandleSet & | inSet, |
| DtAttributeHandleSet * | releasedSet, | ||
| bool | keepForConfirm | ||
| ) | [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.
References myRemoteReqDb, releaseAttrs(), and DtRequestDatabase::releaseRequested().
Referenced by DtObjectMgr::divestOwnership(), DtObjectMgr::releaseOwnership(), and DtObjectMgr::releaseResponse().
| void DtRtiObject::remotePassiveSubscribe | ( | DtFederateHandle | fedHandle, |
| DtAttributeHandle | attrHandle | ||
| ) | [virtual] |
Add remote DM passive subscriptions.
References DtRtiMtdDestinationList::destinationIndex(), DtIsFound(), myAttrs, owned(), DtObjectAttrInfo::remoteSubscriberMask, DtObjectAttrInfo::remoteSubscriptions, DtBitMask::setBit(), and DtRtiMsg::smartForwardingEnabled().
Referenced by remotePassiveSubscribe().
| void DtRtiObject::remotePassiveSubscribe | ( | DtFederateHandle | fedHandle, |
| const DtAttributeHandleSet & | attrs | ||
| ) | [virtual] |
Add remote DM passive subscriptions.
References DtAttributeHandleSet::getHandle(), remotePassiveSubscribe(), and DtAttributeHandleSet::size().
| void DtRtiObject::remoteSubscribe | ( | DtFederateHandle | fedHandle, |
| const DtAttributeHandleSet & | attrs | ||
| ) | [virtual] |
Add remote DM subscriptions.
References addRemoteSubscribe(), DtIsFound(), DtAttributeHandleSet::getHandle(), myAttrs, myNumAttrs, owned(), DtObjectAttrInfo::remoteSubscriptions, and DtAttributeHandleSet::size().
Referenced by acquireRemoteSubscriptions(), and setDiscoveredClass().
| void DtRtiObject::remoteSubscribe | ( | DtFederateHandle | fedHandle, |
| DtAttributeHandle | attributeHandle | ||
| ) | [virtual] |
Add remote DM subscriptions.
References addRemoteSubscribe(), DtIsFound(), myAttrs, and owned().
| void DtRtiObject::remoteUnsubscribe | ( | DtFederateHandle | fedHandle, |
| DtAttributeHandle | attrHandle | ||
| ) | [virtual] |
Remove remote DM subscriptions.
References removeRemoteSubscribe().
Referenced by DtObjectMgr::remoteSubscribe(), and remoteUnsubscribe().
| void DtRtiObject::remoteUnsubscribe | ( | DtFederateHandle | fedHandle, |
| const DtAttributeHandleSet & | attrs | ||
| ) | [virtual] |
Remove remote DM subscriptions.
References DtAttributeHandleSet::getHandle(), remoteUnsubscribe(), and DtAttributeHandleSet::size().
| void DtRtiObject::remoteUnsubscribe | ( | DtFederateHandle | fedHandle | ) | [virtual] |
Remove remote DM subscriptions.
References myNumAttrs, and remoteUnsubscribe().
| void DtRtiObject::removeCanceledRequests | ( | DtAttributeHandleSet const & | requestSet | ) | [virtual] |
Get the cancelled request set.
References myRemoteReqDb, and DtRequestDatabase::removeCanceledRequests().
| void DtRtiObject::removeDiscoveredClass | ( | DtFederateHandle | remoteFedHandle | ) | [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.
References DtRtiMtdDestinationList::destinationIndex(), DtAttributeHandleSet::getHandle(), myAttrs, myDiscoveredClass, ownedAttrs(), DtObjectAttrInfo::remoteSubscriberMask, DtObjectAttrInfo::remoteSubscriptionRegions, DtObjectAttrInfo::remoteSubscriptionRegionsByFederate, DtObjectAttrInfo::remoteSubscriptions, DtBitMask::setBit(), DtAttributeHandleSet::size(), DtRtiMsg::smartForwardingEnabled(), and turnUpdateOff().
Referenced by DtObjectMgr::processResign().
| void DtRtiObject::removeDivesting | ( | const DtAttributeHandleSet & | set | ) | [virtual] |
Add/Remove these to the set of attributes for which a divest is pending.
References myDivestingSet, and DtAttributeHandleSet::removeSetIntersection().
Referenced by cancelDivest(), and releaseAttrs().
| void DtRtiObject::removeFromScope | ( | DtAttributeHandle | handle | ) | [virtual] |
Remove the attributes from scope.
References myInScopeAttrs, and DtAttributeHandleSet::remove().
| void DtRtiObject::removeFromScope | ( | const DtAttributeHandleSet & | attrs | ) | [virtual] |
Remove the attributes from scope.
References myInScopeAttrs, and DtAttributeHandleSet::removeSetIntersection().
| void DtRtiObject::removePendingConfirm | ( | const DtAttributeHandleSet & | requestSet, |
| DtFederateHandle | fed | ||
| ) | [virtual] |
Add/Remove these to the set of attributes for which a confirm divest is pending.
References myRemoteReqDb, and DtRequestDatabase::removePendingConfirm().
Referenced by cancelDivest(), and DtObjectMgr::processAcquire().
| void DtRtiObject::removePendingConfirm | ( | const DtAttributeHandleSet & | set | ) | [virtual] |
Add/Remove these to the set of attributes for which a confirm divest is pending.
References myRemoteReqDb, and DtRequestDatabase::removePendingConfirm().
| void DtRtiObject::removeRemoteSubscribe | ( | DtFederateHandle | fedHandle, |
| DtAttributeHandle | attrHandle | ||
| ) | [protected, virtual] |
Remove the remote subscription of the given attribute by the given federate.
References DtRtiMtdDestinationList::destinationIndex(), DtIsFound(), myAttrs, DtObjectAttrInfo::remoteSubscriberMask, DtObjectAttrInfo::remoteSubscriptionRegions, DtObjectAttrInfo::remoteSubscriptions, DtBitMask::setBit(), DtRtiMsg::smartForwardingEnabled(), and turnUpdateOff().
Referenced by remoteUnsubscribe().
| void DtRtiObject::removeRequest | ( | const DtAttributeHandleSet & | set | ) | [virtual] |
Add/Remove these to the set of attributes that we have requested, where the request is pending.
References myPendingReqIfAvailSet, myPendingRequestSet, and DtAttributeHandleSet::removeSetIntersection().
Referenced by DtObjectMgr::divestOwnership(), DtObjectMgr::processConfirmCancelAcquire(), and takeAttrs().
| void DtRtiObject::removeUnexpected | ( | DtAhvps & | attrSet, |
| DtHandle | regSetHandle | ||
| ) | const [virtual] |
Remove those members of attrSet that are not expected (subscribed) by the federate.
References DtAttributeHandleSet::add(), expecting(), DtAttributeHandleSet::getHandle(), and DtAttributeHandleSet::size().
| int DtRtiObject::requestCount | ( | ) | const [virtual] |
Returns the number of request by all federates.
References myRemoteReqDb, and DtRequestDatabase::requestCount().
Referenced by encode(), and encodedLength().
| DtAttributeHandleSet const & DtRtiObject::requestedAttributes | ( | ) | const [virtual] |
Return the set of requested attributes.
References myRemoteReqDb, and DtRequestDatabase::requestedAttributes().
Referenced by DtObjectMgr::processAcquire().
| DtAttributeHandleSet DtRtiObject::requestedByFed | ( | DtFederateHandle | fed, |
| bool | includePendingConfirm = false |
||
| ) | [virtual] |
Returns the set of attributes most recently requested by fed.
References myRemoteReqDb, and DtRequestDatabase::requestedByFed().
Referenced by DtObjectMgr::processAcquire(), DtObjectMgr::processCancelAcquire(), and DtObjectMgr::processResign().
| int DtRtiObject::rtiOwned | ( | DtAttributeHandle | handle | ) | const [virtual] |
Returns 1 if handle is owned by the RTI, 0 otherwise.
References DtAttributeHandleSet::isMember(), and myRtiOwnedSet.
Referenced by DtObjectMgr::destroyObjectLists(), DtObjectMgr::processQueryOwner(), DtObjectMgr::queryOwnership(), and DtObjectMgr::saveObjectList().
| const DtAttributeHandleSet & DtRtiObject::rtiOwnedAttrs | ( | ) | [virtual] |
Returns the set of rti owned attributes managed by our LRC.
References myRtiOwnedSet.
Referenced by DtObjectMgr::acquireAttrs(), DtObjectMgr::localDeleteObj(), DtObjectMgr::prepareToResign(), and DtObjectMgr::releaseAllAttributes().
| void DtRtiObject::selectExpected | ( | DtAhvps & | outSet, |
| const DtAhvps & | inSet, | ||
| DtHandle | regSetHandle | ||
| ) | const [virtual] |
Fills the outSet with the attributes in inSet that are expected (subscribed) by the federate.
References expecting().
| DtRtiObject * DtRtiObject::self | ( | ) | const [inline, protected] |
Casts away const-ness.
| void DtRtiObject::setAllDestinations | ( | ) | [virtual] |
Adds all destinations to all attributes.
References myAttrs, DtObjectAttrInfo::remoteSubscriberMask, and DtBitMask::reset().
Referenced by DtObjectMgr::acquireAttrs(), DtObjectMgr::processNotifyAcquire(), and DtObjectMgr::registerObj().
| void DtRtiObject::setAttrOrder | ( | DtAttributeHandle | theHandle, |
| MAKRti::DtOrderType | order | ||
| ) | [virtual] |
Set attribute order from handle.
References myAttrs, and DtObjectAttrInfo::order.
Referenced by DtObjectMgr::setAttributeOrderType(), and takeAttrs().
| void DtRtiObject::setAttrTransport | ( | DtAttributeHandle | theHandle, |
| MAKRti::DtTransportType | transport | ||
| ) | [virtual] |
Set attribute transport type from handle.
References myAttrs, and DtObjectAttrInfo::transport.
Referenced by DtObjectMgr::setAttributeTransportType(), and takeAttrs().
| void DtRtiObject::setDiscoveredClass | ( | DtFederateHandle | remoteFedHandle, |
| DtObjectClassInfo const & | classInfo | ||
| ) | [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.
References DtRtiMtdDestinationList::destinationIndex(), DtDefaultRegionSetHandle, DtAttributeHandleSet::getHandle(), DtObjectClassInfo::handle(), DtAttributeHandleSet::isMember(), myAttrs, myDiscoveredClass, ownedAttrs(), regionSetHandle(), remoteSubscribe(), DtObjectAttrInfo::remoteSubscriberMask, DtObjectClassInfo::remoteSubscription(), DtObjectAttrInfo::remoteSubscriptionRegions, DtObjectAttrInfo::remoteSubscriptionRegionsByFederate, DtObjectAttrInfo::remoteSubscriptions, DtBitMask::setBit(), DtAttributeHandleSet::size(), DtRtiMsg::smartForwardingEnabled(), and turnUpdateOff().
Referenced by decode().
| void DtRtiObject::setDiscoveredCreatorFunction | ( | DtDiscoveredRtiObjectCreator | fn | ) | [static] |
Used to override the deafult Discovered Creator Function.
References DtBindCreator(), and theDiscoveredCreator.
| void DtRtiObject::setEmptyCreatorFunction | ( | DtEmptyRtiObjectCreator | fn | ) | [static] |
Used to override the default Empty Creator Function.
References DtBindCreator(), and theEmptyCreator.
| void DtRtiObject::setIsKnown | ( | bool | isKnownValue | ) | [virtual] |
Set/Get known status of object This status can not be determined by status of attributes.
References myIsKnown.
Referenced by DtObjectMgr::addKnownObj(), and DtObjectMgr::removeKnownObj().
| void DtRtiObject::setKnownClass | ( | DtObjectClassInfo * | classInfo | ) | [virtual] |
Set the known class.
References DtObjectClassInfo::handle(), myKnownClass, and myKnownHandle.
| void DtRtiObject::setObjHandle | ( | DtObjectInstanceHandle | handle | ) | [virtual] |
Set/Get my object handle.
References myId.
| void DtRtiObject::setObjName | ( | const char * | name | ) | [virtual] |
References myObjName.
| void DtRtiObject::setOwnerHandle | ( | DtFederateHandle | handle | ) | [virtual] |
References myOwnerHandle.
Referenced by decode(), DtObjectMgr::processGiveToLrc(), DtObjectMgr::processRegister(), DtObjectMgr::registerObj(), and DtObjectMgr::resetOwner().
| void DtRtiObject::setRegisteredCreatorFunction | ( | DtRegisteredRtiObjectCreator | fn | ) | [static] |
Used to override the default Registered Creator Function.
References DtBindCreator(), and theRegisteredCreator.
| void DtRtiObject::setTimeToUseDestinations | ( | MAKRti::DtTime | timeVal | ) |
Set time to use attribute destinations.
References myTimeToUseDestinations.
Referenced by DtObjectMgr::acquireAttrs(), DtObjectMgr::processNotifyAcquire(), and DtObjectMgr::registerObj().
| void DtRtiObject::setUseDiscoveredClass | ( | bool | yesNo | ) | [static] |
Set to false when not exchanging discovered class information The object will return the known class instead.
References theUseDiscoveredClass.
Referenced by DtObjectMgr::DtObjectMgr().
| void DtRtiObject::takeAttrs | ( | const DtAttributeHandleSet & | takeSet | ) | [virtual] |
Take ownership of these attributes.
References attrOrder(), attrTransport(), knownClass(), myOwnedSet, removeRequest(), setAttrOrder(), setAttrTransport(), and DtAttributeHandleSet::setUnion().
Referenced by DtObjectMgr::processNotifyAcquire(), and takeFromLrc().
| void DtRtiObject::takeFromLrc | ( | const DtAttributeHandleSet & | set | ) | [virtual] |
Transfer ownership from local LRC to local federate.
References lrcUnmanage(), and takeAttrs().
Referenced by DtObjectMgr::acquireAttrs().
| MAKRti::DtTime DtRtiObject::timeToUseDestinations | ( | ) | const |
Get time to use attribute destinations.
References myTimeToUseDestinations.
Referenced by getDestinations().
| void DtRtiObject::turnUpdateOff | ( | DtAttributeHandle | handle | ) | [virtual] |
Turn update off for given attribute(s)
References myUpdateOnAttrs, and DtAttributeHandleSet::remove().
Referenced by divestRemoteSubscriptions(), removeDiscoveredClass(), removeRemoteSubscribe(), and setDiscoveredClass().
| void DtRtiObject::turnUpdateOff | ( | const DtAttributeHandleSet & | attrs | ) | [virtual] |
Turn update off for given attribute(s)
References myUpdateOnAttrs, and DtAttributeHandleSet::removeSetIntersection().
| void DtRtiObject::turnUpdateOn | ( | DtAttributeHandle | handle | ) | [virtual] |
Turn update on for given attribute(s)
References DtAttributeHandleSet::add(), and myUpdateOnAttrs.
Referenced by addRemoteSubscribe().
| void DtRtiObject::turnUpdateOn | ( | const DtAttributeHandleSet & | attrs | ) | [virtual] |
Turn update on for given attribute(s)
References myUpdateOnAttrs, and DtAttributeHandleSet::setUnion().
| DtFederateHandle DtRtiObject::unavailablePendingRequests | ( | DtAttributeHandleSet * | invalidatedSet | ) | [virtual] |
Get the next federate with requests that have become unavailable and the invalidated attrs.
References myRemoteReqDb, and DtRequestDatabase::unavailablePendingRequests().
| const DtAttributeHandleSet & DtRtiObject::uncondRequestedAttrs | ( | ) | [virtual] |
Returns the set of attributes currently being unconditionally requested.
References myPendingRequestSet.
Referenced by DtObjectMgr::isAcquistionPending(), DtObjectMgr::localDeleteObj(), DtObjectMgr::prepareToResign(), DtObjectMgr::processNotifyAcquire(), and DtObjectMgr::throwIfAcquisitionPending().
| DtAttributeHandleSet DtRtiObject::updateOffAttrs | ( | ) | const [virtual] |
Returns the set of owned attributes that are turned off.
References myOwnedSet, myUpdateOnAttrs, and DtAttributeHandleSet::removeSetIntersection().
| DtAttributeHandleSet DtRtiObject::updateOnAttrs | ( | ) | const [virtual] |
Returns the set of owned attributes that are turned on.
References myOwnedSet, myUpdateOnAttrs, and DtAttributeHandleSet::setIntersection().
Referenced by DtObjectMgr::acquireAttrs(), DtObjectMgr::autoProvideAttrValueUpdate(), DtObjectMgr::processNotifyAcquire(), and DtObjectMgr::processResign().
| DtUpdateType DtRtiObject::updateType | ( | ) | const |
Return the object's update type.
References myUpdateType.
Referenced by createDiscoveredObject(), createRegisteredObject(), DtObjectMgr::sendBestEffortUpdateMsg(), DtObjectMgr::sendRegisterMsg(), DtObjectMgr::sendReliableUpdateMsg(), and DtObjectMgr::sendUpdate().
DtObjectClassInfo* DtRtiObject::myActualClass [protected] |
Actual class info.
Referenced by actualClass(), decode(), DtRtiObject(), isOfActualClass(), and operator=().
DtObjectClassHandle DtRtiObject::myActualHandle [protected] |
The actual object class handle.
Referenced by actualClassHandle(), decode(), and operator=().
DtObjectAttrInfo* DtRtiObject::myAttrs [protected] |
List of attributes and information about them.
Referenced by addRemoteSubscribe(), attrOrder(), attrTransport(), computeAttrOffset(), decode(), divestRemoteSubscriptions(), DtRtiObject(), getDestinations(), initUpdateRates(), okToReceive(), operator=(), regionSetHandle(), remotePassiveSubscribe(), remoteSubscribe(), removeDiscoveredClass(), removeRemoteSubscribe(), setAllDestinations(), setAttrOrder(), setAttrTransport(), setDiscoveredClass(), and ~DtRtiObject().
MAKRti::DtHashlist DtRtiObject::myDiscoveredClass [protected] |
For each remote federate that discovered this object, contains the discovery class handle.
Referenced by acquireRemoteSubscriptions(), decode(), discoveredClass(), encode(), encodedLength(), isDiscovered(), removeDiscoveredClass(), and setDiscoveredClass().
DtAttributeHandleSet DtRtiObject::myDivestedSet [protected] |
Attributes unconditionally divested and managed by LRC These attributes must be actively divested by the RTI.
Referenced by decode(), divestedAttrs(), divestToLrc(), encode(), giveToRti(), lrcUnmanage(), and operator=().
DtAttributeHandleSet DtRtiObject::myDivestingSet [protected] |
Attributes for which we have initiated a negotiated divestiture.
These attributes are still owned, though.
Referenced by addDivesting(), decode(), divestingAttrs(), encode(), operator=(), and removeDivesting().
bool DtRtiObject::myHasBeenReflected [protected] |
Indicates if this object has been reflected.
Referenced by hasBeenReflected(), markAsReflected(), and operator=().
bool DtRtiObject::myHasBeenUpdated [protected] |
Indicates if this object has been updated.
Referenced by hasBeenUpdated(), markAsUpdated(), and operator=().
DtObjectInstanceHandle DtRtiObject::myId [protected] |
The object instance handle.
Referenced by decode(), id(), objHandle(), operator=(), and setObjHandle().
DtAttributeHandleSet DtRtiObject::myInScopeAttrs [protected] |
Attribute in scope advisory status.
Referenced by addToScope(), decode(), encode(), inScope(), inScopeAttrs(), and removeFromScope().
bool DtRtiObject::myIsKnown [protected] |
Indicates if the federate knows about this object.
Referenced by decode(), isKnown(), operator=(), and setIsKnown().
DtObjectClassInfo* DtRtiObject::myKnownClass [protected] |
Known class info.
Referenced by decode(), expecting(), isOfKnownClass(), knownClass(), operator=(), and setKnownClass().
DtObjectClassHandle DtRtiObject::myKnownHandle [protected] |
The federate knows the object as this class.
Referenced by decode(), knownClassHandle(), operator=(), and setKnownClass().
DtAttributeHandleSet DtRtiObject::myLrcManagedSet [protected] |
Union of attributes that are not owned by anyone and managed by LRC.
Referenced by decode(), divestToLrc(), DtRtiObject(), encode(), giveToLrc(), giveToRti(), lrcManagedAttrs(), lrcUnmanage(), and operator=().
unsigned DtRtiObject::myNumAttrs [protected] |
Number of attributes.
Referenced by decode(), DtRtiObject(), getDestinations(), initUpdateRates(), operator=(), remoteSubscribe(), and remoteUnsubscribe().
char* DtRtiObject::myObjName [protected] |
The object instance name.
Referenced by decode(), objName(), operator=(), setObjName(), and ~DtRtiObject().
DtAttributeHandleSet DtRtiObject::myOutHandleSet [protected] |
Temporary set holds owned attributes of a given set.
Referenced by filterOwned().
DtBitMask* DtRtiObject::myOverideDestinationsMask [protected] |
Create this bit mask to override remote subscrbie destinations.
Referenced by DtRtiObject(), getDestinations(), operator=(), overrideDestinations(), and ~DtRtiObject().
DtAttributeHandleSet DtRtiObject::myOwnedSet [protected] |
The set of attributes owned by this federate.
Referenced by decode(), DtRtiObject(), encode(), filterOwned(), giveToRti(), operator=(), owned(), ownedAttrs(), releaseAttrs(), takeAttrs(), updateOffAttrs(), and updateOnAttrs().
DtFederateHandle DtRtiObject::myOwnerHandle [protected] |
The federate who owns the privilege to delete.
Referenced by ownerHandle(), and setOwnerHandle().
Referenced by addRequest(), decode(), encode(), ifAvailRequestedAttrs(), operator=(), pendingRequestIfAvail(), and removeRequest().
DtAttributeHandleSet DtRtiObject::myPendingRequestSet [protected] |
Attributes that we've requested, whose requests are pending.
All members are unowned.
Referenced by addRequest(), decode(), encode(), operator=(), pendingUncondRequest(), removeRequest(), and uncondRequestedAttrs().
DtRequestDatabase DtRtiObject::myRemoteReqDb [protected] |
Database of remote request information. These attributes are owned.
Referenced by addPendingConfirm(), addRemoteRequest(), cancelAllRemoteRequests(), canceledRequestSet(), cancelRemoteRequest(), confirmCount(), decode(), encode(), encodedLength(), isRequestCanceled(), pendingConfirm(), pendingConfirmAttributes(), pendingConfirmByFed(), pendingRemoteRequest(), releaseAttrs(), releaseConfirm(), releaseRequested(), removeCanceledRequests(), removePendingConfirm(), requestCount(), requestedAttributes(), requestedByFed(), and unavailablePendingRequests().
DtAttributeHandleSet DtRtiObject::myRtiOwnedSet [protected] |
Attributes owned by the RTI (MOM attributes)
Referenced by decode(), encode(), giveToRti(), operator=(), rtiOwned(), and rtiOwnedAttrs().
MAKRti::DtTime DtRtiObject::myTimeToUseDestinations [protected] |
Time that smart forwarding destinations should take effect Before this time, RTI is waiting for discovery updates to determine destinations.
Referenced by setTimeToUseDestinations(), and timeToUseDestinations().
DtAttributeHandleSet DtRtiObject::myUnownedSet [protected] |
Attributes never owned or divested through unpublish and managed by LRC.
Referenced by decode(), DtRtiObject(), encode(), giveToLrc(), giveToRti(), lrcManaged(), lrcUnmanage(), and operator=().
DtAttributeHandleSet DtRtiObject::myUpdateOnAttrs [protected] |
Attribute update on advisory status.
Referenced by decode(), encode(), isUpdateOn(), turnUpdateOff(), turnUpdateOn(), updateOffAttrs(), and updateOnAttrs().
DtUpdateType DtRtiObject::myUpdateType [protected] |
Indicates the update type.
Referenced by updateType().
DtDiscoveredRtiObjectCreator DtRtiObject::theDiscoveredCreator = NULL [static, protected] |
Static Creator Method for Discovered RTI Objects.
Referenced by createDiscoveredObject(), and setDiscoveredCreatorFunction().
DtEmptyRtiObjectCreator DtRtiObject::theEmptyCreator = NULL [static, protected] |
Static Creator Method for Empty RTI Objects.
Referenced by createEmptyObject(), and setEmptyCreatorFunction().
DtRegisteredRtiObjectCreator DtRtiObject::theRegisteredCreator = NULL [static, protected] |
Static Creator Method for Registered RTI Objects.
Referenced by createRegisteredObject(), and setRegisteredCreatorFunction().
bool DtRtiObject::theUseDiscoveredClass [static, protected] |
Indicates if discovered class should be used.
Referenced by discoveredClass(), isDiscovered(), and setUseDiscoveredClass().