![]() |
MAK RTIspy API Documentation for HLA 1516
|
Collaboration diagram for DtAttrInfo:Public Member Functions | |
| DtAttrInfo () | |
| Constructors. | |
| DtAttrInfo (const char *attrName, int handle) | |
| DtAttrInfo (const DtAttrInfo &orig) | |
| DtAttrInfo & | operator= (const DtAttrInfo &orig) |
| operators | |
| bool | operator== (const DtAttrInfo &orig) |
| bool | operator!= (const DtAttrInfo &orig) |
| virtual | ~DtAttrInfo () |
| Destructor. | |
| virtual void | setFomType (MAKRti::DtFomType type) |
| Set/Get the FOM type. | |
| virtual MAKRti::DtFomType | fomType () const |
| virtual void | publish () |
| Publish/unpublish this attribute. | |
| virtual void | unpublish () |
| virtual int | published () const |
| Returns 1 if this attribute is published, 0 otherwise. | |
| virtual void | subscribe () |
| DM Subscribe/unsubscribe to this attribute. | |
| virtual void | unsubscribe () |
| virtual int | subscribed () const |
| Returns 1 if this attribute is subscribed, 0 otherwise. | |
| virtual const char * | name () const |
| Get/set name. | |
| virtual void | setName (const char *nameValue) |
| virtual DtAttributeHandle | handle () const |
| Get/set handle. | |
| virtual void | setHandle (DtAttributeHandle handleValue) |
| virtual bool | isName (const char *name) |
| Return boolean: name matches (case insensitive)? | |
| virtual void | addRemoteSubscription (DtFederateHandle fedHandle) |
| Add/delete remote subscription to this class by indicated federate No effect if already subscribed/unsubscribed. | |
| virtual void | deleteRemoteSubscription (DtFederateHandle fedHandle) |
| virtual void | emptyRemoteSubscription () |
| virtual void | addRemoteSubscriptionWithRegion (DtFederateHandle fedHandle, DtHandle regionSetHandle) |
| Add/delete remote subscription to this class by indicated federate No effect if already subscribed/unsubscribed. | |
| virtual void | deleteRemoteSubscriptionWithRegion (DtFederateHandle fedHandle) |
| virtual void | emptyRemoteSubscriptionWithRegion () |
| virtual DtHandle | remoteRegionSubscription (DtFederateHandle fedHandle) const |
| Return the remote region set handle (0 if not subscribed with region) | |
| int | numRemoteFederatesSubscribed () |
| Returns number of remote federates subscribed to this class. | |
| int | numRemoteFederatesSubscribedWithRegion () |
| Returns number of remote federates subscribed to this class with Region. | |
| virtual bool | remoteFederateIsSubscribed (DtFederateHandle fedHandle) const |
| Returns true if the remote federate is subscribed to this class. | |
| virtual const std::set < DtFederateHandle > & | subscribedFederates () const |
| Returns set of federates who are subscribed to this attr. | |
| virtual bool | remoteFederateIsSubscribedWithRegion (DtFederateHandle fedHandle) const |
| Returns true if the remote federate is subscribed with region to this class. | |
| virtual void | setRelevant (bool onOff) |
| Set/Get relevance Relevance indicates whether there one or more remote subscriptions The relevance state can be determined from the remote subscribe lists, but setting this state separately allows for it to be compared before and after the remote subscriptions are modified. | |
| virtual bool | relevant () const |
| virtual MAKRti::DtTransportType | transport () const |
| Set/Get transport type representing transport mechanism. | |
| virtual void | setTransport (MAKRti::DtTransportType theTransport) |
| virtual MAKRti::DtOrderType | order () const |
| Set/Get order type. | |
| virtual void | setOrder (MAKRti::DtOrderType theOrder) |
| virtual DtSpaceHandle | space () const |
| Set/Get routing space. | |
| virtual void | setSpace (DtSpaceHandle spaceVal) |
| virtual DtFomUpdateType | updateType () const |
| Set/ Get this attribute's updateType. | |
| virtual void | setUpdateType (DtFomUpdateType val) |
| virtual MAKRti::DtString | updateCondition () const |
| Set / Get the update Condition. | |
| virtual void | setUpdateCondition (MAKRti::DtString val) |
| virtual DtOwnershipType | ownershipType () const |
| Set / Get ownershipType. | |
| virtual void | setOwnershipType (DtOwnershipType val) |
| virtual MAKRti::DtString | semantics () const |
| Set / Get semantics of attribute. | |
| virtual void | setSemantics (MAKRti::DtString val) |
| virtual MAKRti::DtString | notes () const |
| Set / Get notes for attribute. | |
| virtual void | setNotes (MAKRti::DtString val) |
| virtual DtSharingType | sharingType () const |
| Set this attribute's sharingType. | |
| virtual void | setSharingType (DtSharingType val) |
| virtual DtDimensionHandleSet const & | dimensions () const |
| Set/Get dimensions. | |
| virtual void | setDimensions (DtDimensionHandleSet const &dimList) |
| virtual void | addDimension (DtDimensionHandle dimHandle) |
| Add/Remove a demision handle. | |
| virtual void | removeDimension (DtDimensionHandle dimHandle) |
| virtual DtSubRegionSet * | subRegionSet () const |
| Set/Get associated active subscription region set. | |
| virtual void | setSubRegionSet (DtSubRegionSet *setVal) |
| virtual DtSubRegionSet * | pasRegionSet () const |
| Set/Get associated passive subscription region set. | |
| virtual void | setPasRegionSet (DtSubRegionSet *setVal) |
| virtual float | subscribedRate () const |
| virtual const MAKRti::DtString & | subscribedRateName () const |
| virtual void | setSubscribedRate (float rate, const MAKRti::DtString &name) |
| virtual bool | sameDataTypes (const DtAttrInfo &) const |
| Test for equality. | |
| virtual bool | sameUpdateType (const DtAttrInfo &) const |
| virtual bool | sameUpdateCondition (const DtAttrInfo &) const |
| virtual bool | sameSharing (const DtAttrInfo &) const |
| virtual bool | sameDimensions (const DtAttrInfo &) const |
| virtual bool | sameTransportation (const DtAttrInfo &) const |
| virtual bool | sameOrder (const DtAttrInfo &) const |
| virtual bool | sameSemantics (const DtAttrInfo &) const |
| virtual bool | sameOwnership (const DtAttrInfo &) const |
| virtual bool | sameNotes (const DtAttrInfo &) const |
| virtual void | print () const |
| Print the contents. | |
Static Public Member Functions | |
| static bool | nameIsPrivilegeToDelete (char const *name, MAKRti::DtFomType compareType) |
| static char const * | privilegeToDeleteName (MAKRti::DtFomType compareType) |
Static Public Attributes | |
| static const MAKRti::DtString | thePrivilegeToDelete |
| static const MAKRti::DtString | thePrivilegeToDeleteObject |
| static const MAKRti::DtString | theHlaPrivilegeToDeleteObject |
Protected Attributes | |
| MAKRti::DtString | myName |
| DtAttributeHandle | myHandle |
| MAKRti::DtFomType | myFomType |
| int | myPublished |
| int | mySubscribed |
| bool | myRelevant |
| MAKRti::DtTransportType | myTransport |
| MAKRti::DtOrderType | myOrder |
| DtFomUpdateType | myUpdateType |
| MAKRti::DtString | myUpdateCondition |
| DtSharingType | mySharingType |
| DtOwnershipType | myOwnershipType |
| MAKRti::DtString | mySemantics |
| MAKRti::DtString | myNotes |
| DtSpaceHandle | mySpace |
| DtDimensionHandleSet | myDimensions |
| DtSubRegionSet * | myAssocSubRegSet |
| DtSubRegionSet * | myAssocPasRegSet |
| std::set< DtFederateHandle > | myRemoteSubscriptions |
| std::map< DtFederateHandle, DtHandle > | myRemoteRegionSubscriptions |
| float | mySubscribedRate |
| How fast I want to receive updates. | |
| MAKRti::DtString | mySubscribedRateName |
| DtAttrInfo::DtAttrInfo | ( | ) |
Constructors.
| DtAttrInfo::DtAttrInfo | ( | const char * | attrName, |
| int | handle | ||
| ) |
| DtAttrInfo::DtAttrInfo | ( | const DtAttrInfo & | orig | ) |
References myDimensions, and myRemoteSubscriptions.
|
virtual |
Destructor.
References emptyRemoteSubscription(), emptyRemoteSubscriptionWithRegion(), and myDimensions.
|
virtual |
Add/Remove a demision handle.
References myDimensions.
Referenced by DtFomClassMgr::addAttributeDimension(), DtFomClassMgr::addAttrInfoToChildren(), DtFomClassMgr::mergeAttributes(), and DtFomClassMgr::resolveAttributeDimensions().
|
virtual |
Add/delete remote subscription to this class by indicated federate No effect if already subscribed/unsubscribed.
References myRemoteSubscriptions, and remoteFederateIsSubscribed().
|
virtual |
Add/delete remote subscription to this class by indicated federate No effect if already subscribed/unsubscribed.
References myRemoteRegionSubscriptions.
|
virtual |
References myRemoteSubscriptions, and remoteFederateIsSubscribed().
Referenced by DtObjectClassInfo::removeSubscriptions().
|
virtual |
References myRemoteRegionSubscriptions, and remoteFederateIsSubscribedWithRegion().
Referenced by DtObjectClassInfo::removeSubscriptions().
|
virtual |
Set/Get dimensions.
References myDimensions.
Referenced by DtObjectClassInfo::DtObjectClassInfo(), DtFomClassMgr::mergeAttributes(), DtObjectMgr::processUpdate(), and sameDimensions().
|
virtual |
References myRemoteSubscriptions.
Referenced by ~DtAttrInfo().
|
virtual |
References myRemoteRegionSubscriptions.
Referenced by ~DtAttrInfo().
|
virtual |
|
virtual |
Get/set handle.
References myHandle.
Referenced by DtObjectClassInfo::attrHandle(), DtNetStatsMonitor::recursivelyAddAttributes(), DtNetStatsMonitor::recursivelyAddAttributesNames(), DtNetStatsMonitor::recursivelyAddAttrInitState(), DtObjectClassInfo::removeSubscriptions(), DtNetStatsMonitor::sendAttributeNames(), DtNetStatsMonitor::sendAttributeState(), and DtNetStatsMonitor::sendInitAttrState().
|
virtual |
Return boolean: name matches (case insensitive)?
References DtPrivilegeToDelete, fomType(), myHandle, myName, name(), and nameIsPrivilegeToDelete().
|
virtual |
Get/set name.
References myName.
Referenced by DtObjectClassInfo::attrName(), DtFomClassMgr::attrPresent(), DtObjectClassInfo::DtObjectClassInfo(), isName(), DtFomClassMgr::mergeAttributes(), nameIsPrivilegeToDelete(), DtNetStatsMonitor::recursivelyAddAttributes(), DtNetStatsMonitor::recursivelyAddAttributesNames(), DtNetStatsMonitor::sendAttributeNames(), and setSubscribedRate().
|
static |
References name(), theHlaPrivilegeToDeleteObject, thePrivilegeToDelete, and thePrivilegeToDeleteObject.
Referenced by DtObjectClassInfo::addAttr(), DtFomClassMgr::addAttribute(), isName(), and DtObjectClassInfo::sameAttrs().
|
virtual |
| int DtAttrInfo::numRemoteFederatesSubscribed | ( | ) |
Returns number of remote federates subscribed to this class.
References myRemoteSubscriptions.
Referenced by DtObjectClassInfo::updateRelevance().
| int DtAttrInfo::numRemoteFederatesSubscribedWithRegion | ( | ) |
Returns number of remote federates subscribed to this class with Region.
References myRemoteRegionSubscriptions.
Referenced by DtObjectClassInfo::updateRelevance().
| bool DtAttrInfo::operator!= | ( | const DtAttrInfo & | orig | ) |
| DtAttrInfo & DtAttrInfo::operator= | ( | const DtAttrInfo & | orig | ) |
operators
References myDimensions, myFomType, myHandle, myName, myNotes, myOrder, myOwnershipType, myPublished, myRelevant, myRemoteSubscriptions, mySemantics, mySharingType, mySpace, mySubscribed, mySubscribedRate, myTransport, myUpdateCondition, and myUpdateType.
| bool DtAttrInfo::operator== | ( | const DtAttrInfo & | orig | ) |
|
virtual |
Set/Get order type.
References myOrder.
Referenced by DtObjectClassInfo::attrOrder(), DtObjectClassInfo::DtObjectClassInfo(), DtFomClassMgr::mergeAttributes(), DtNetStatsMonitor::recursivelyAddAttributes(), DtNetStatsMonitor::recursivelyAddAttrInitState(), sameOrder(), DtNetStatsMonitor::sendAttributeNames(), DtNetStatsMonitor::sendAttributeState(), and DtNetStatsMonitor::sendInitAttrState().
|
virtual |
Set / Get ownershipType.
References myOwnershipType.
Referenced by DtObjectClassInfo::DtObjectClassInfo(), DtFomClassMgr::mergeAttributes(), and sameOwnership().
|
virtual |
Set/Get associated passive subscription region set.
References myAssocPasRegSet.
Referenced by DtObjectClassInfo::isSubscribed().
|
virtual |
Print the contents.
References myDimensions, myHandle, myName, myOrder, mySpace, and myTransport.
|
static |
References theHlaPrivilegeToDeleteObject, and thePrivilegeToDeleteObject.
Referenced by DtFomClassMgr::addObjClass().
|
virtual |
Publish/unpublish this attribute.
References myPublished.
|
virtual |
Returns 1 if this attribute is published, 0 otherwise.
References myPublished.
Referenced by DtNetStatsMonitor::recursivelyAddAttributes(), DtNetStatsMonitor::recursivelyAddAttrInitState(), DtNetStatsMonitor::sendAttributeNames(), DtNetStatsMonitor::sendAttributeState(), DtNetStatsMonitor::sendInitAttrState(), and DtObjectClassInfo::updateRelevance().
|
virtual |
References myRelevant.
Referenced by DtObjectClassInfo::relevant(), and DtObjectClassInfo::updateRelevance().
|
virtual |
Returns true if the remote federate is subscribed to this class.
References myRemoteSubscriptions.
Referenced by addRemoteSubscription(), deleteRemoteSubscription(), and DtObjectClassInfo::updateRelevance().
|
virtual |
Returns true if the remote federate is subscribed with region to this class.
References myRemoteRegionSubscriptions.
Referenced by deleteRemoteSubscriptionWithRegion(), DtObjectClassInfo::removeSubscriptions(), and DtObjectClassInfo::updateRelevance().
|
virtual |
Return the remote region set handle (0 if not subscribed with region)
References DtDefaultRegionSetHandle, and myRemoteRegionSubscriptions.
|
virtual |
References myDimensions.
|
virtual |
Test for equality.
|
virtual |
References dimensions().
|
virtual |
References notes().
|
virtual |
References order().
|
virtual |
References ownershipType().
|
virtual |
References semantics().
|
virtual |
References sharingType().
|
virtual |
References transport().
|
virtual |
References updateCondition().
|
virtual |
References updateType().
|
virtual |
Set / Get semantics of attribute.
References mySemantics.
Referenced by DtObjectClassInfo::DtObjectClassInfo(), DtFomClassMgr::mergeAttributes(), and sameSemantics().
|
virtual |
References myDimensions.
Referenced by DtObjectClassInfo::DtObjectClassInfo().
|
virtual |
Set/Get the FOM type.
References myFomType.
|
virtual |
References myHandle.
|
virtual |
References myName.
|
virtual |
References myNotes.
|
virtual |
References myOrder.
|
virtual |
References myOwnershipType.
|
virtual |
References myAssocPasRegSet.
|
virtual |
Set/Get relevance Relevance indicates whether there one or more remote subscriptions The relevance state can be determined from the remote subscribe lists, but setting this state separately allows for it to be compared before and after the remote subscriptions are modified.
References myRelevant.
Referenced by DtObjectClassInfo::updateRelevance().
|
virtual |
References mySemantics.
|
virtual |
References mySharingType.
|
virtual |
References mySpace.
|
virtual |
References myAssocSubRegSet.
|
virtual |
References mySubscribedRate, mySubscribedRateName, and name().
|
virtual |
References myTransport.
Referenced by DtObjectClassInfo::addAttrUnsorted(), and DtFomClassMgr::resolveAttributeTransportations().
|
virtual |
References myUpdateCondition.
|
virtual |
References myUpdateType.
|
virtual |
Set this attribute's sharingType.
References mySharingType.
Referenced by DtObjectClassInfo::DtObjectClassInfo(), DtFomClassMgr::mergeAttributes(), and sameSharing().
|
virtual |
Set/Get routing space.
References mySpace.
Referenced by DtObjectClassInfo::attrSpace(), DtObjectClassInfo::DtObjectClassInfo(), and DtFomClassMgr::mergeAttributes().
|
virtual |
Set/Get associated active subscription region set.
References myAssocSubRegSet.
Referenced by DtObjectClassInfo::isActiveSubscribed(), and DtObjectClassInfo::isSubscribed().
|
virtual |
DM Subscribe/unsubscribe to this attribute.
References mySubscribed.
|
virtual |
Returns 1 if this attribute is subscribed, 0 otherwise.
References myAssocPasRegSet, myAssocSubRegSet, and mySubscribed.
Referenced by DtNetStatsMonitor::recursivelyAddAttributes(), DtNetStatsMonitor::recursivelyAddAttrInitState(), DtNetStatsMonitor::sendAttributeNames(), DtNetStatsMonitor::sendAttributeState(), and DtNetStatsMonitor::sendInitAttrState().
|
virtual |
Returns set of federates who are subscribed to this attr.
References myRemoteSubscriptions.
|
virtual |
References mySubscribedRate.
Referenced by DtRtiObject::okToReceive().
|
virtual |
References mySubscribedRateName.
|
virtual |
Set/Get transport type representing transport mechanism.
References myTransport.
Referenced by DtObjectClassInfo::attrTransport(), DtObjectClassInfo::DtObjectClassInfo(), DtFomClassMgr::mergeAttributes(), DtNetStatsMonitor::recursivelyAddAttributes(), DtNetStatsMonitor::recursivelyAddAttrInitState(), sameTransportation(), DtNetStatsMonitor::sendAttributeNames(), DtNetStatsMonitor::sendAttributeState(), and DtNetStatsMonitor::sendInitAttrState().
|
virtual |
References myPublished.
|
virtual |
References mySubscribed.
|
virtual |
Set / Get the update Condition.
References myUpdateCondition.
Referenced by DtObjectClassInfo::DtObjectClassInfo(), DtFomClassMgr::mergeAttributes(), and sameUpdateCondition().
|
virtual |
Set/ Get this attribute's updateType.
References myUpdateType.
Referenced by DtObjectClassInfo::DtObjectClassInfo(), DtFomClassMgr::mergeAttributes(), and sameUpdateType().
|
protected |
Referenced by pasRegionSet(), setPasRegionSet(), and subscribed().
|
protected |
Referenced by setSubRegionSet(), subRegionSet(), and subscribed().
|
protected |
Referenced by addDimension(), dimensions(), DtAttrInfo(), operator=(), print(), removeDimension(), setDimensions(), and ~DtAttrInfo().
|
protected |
Referenced by fomType(), operator=(), and setFomType().
|
protected |
Referenced by handle(), isName(), operator=(), print(), and setHandle().
|
protected |
Referenced by isName(), name(), operator=(), print(), and setName().
|
protected |
Referenced by notes(), operator=(), and setNotes().
|
protected |
Referenced by operator=(), order(), print(), and setOrder().
|
protected |
Referenced by operator=(), ownershipType(), and setOwnershipType().
|
protected |
Referenced by operator=(), publish(), published(), and unpublish().
|
protected |
Referenced by operator=(), relevant(), and setRelevant().
|
protected |
|
protected |
|
protected |
Referenced by operator=(), semantics(), and setSemantics().
|
protected |
Referenced by operator=(), setSharingType(), and sharingType().
|
protected |
Referenced by operator=(), print(), setSpace(), and space().
|
protected |
Referenced by operator=(), subscribe(), subscribed(), and unsubscribe().
|
protected |
How fast I want to receive updates.
Referenced by operator=(), setSubscribedRate(), and subscribedRate().
|
protected |
Referenced by setSubscribedRate(), and subscribedRateName().
|
protected |
Referenced by operator=(), print(), setTransport(), and transport().
|
protected |
Referenced by operator=(), setUpdateCondition(), and updateCondition().
|
protected |
Referenced by operator=(), setUpdateType(), and updateType().
|
static |
Referenced by nameIsPrivilegeToDelete(), and privilegeToDeleteName().
|
static |
Referenced by nameIsPrivilegeToDelete().
|
static |
Referenced by nameIsPrivilegeToDelete(), and privilegeToDeleteName().