|
| | DtObjectClassInfo (const char *name, DtObjectClassInfo *base, DtObjectClassHandle handle, DtSharingType sharing, const MAKRti::DtString &semantics) |
| | Constructors. More...
|
| |
| | DtObjectClassInfo (const DtObjectClassInfo &orig) |
| |
| virtual | ~DtObjectClassInfo () |
| | Destructor. More...
|
| |
| DtObjectClassInfo & | operator= (const DtObjectClassInfo &orig) |
| | Assignment operator (not implemented) More...
|
| |
| virtual void | setFomType (MAKRti::DtFomType type) |
| | Set/Get the FOM type. More...
|
| |
| virtual MAKRti::DtFomType | fomType () const |
| |
| virtual DtAttrInfo * | addAttr (const char *attrName, MAKRti::DtTransportType transport, MAKRti::DtOrderType order, DtSharingType sharingType, DtFomUpdateType updateType, const MAKRti::DtString &updateCondition, DtOwnershipType ownership, const MAKRti::DtString &semantics, bool addSorted) |
| | Adds an attribute to the class. Used when reading Fed file. More...
|
| |
| virtual DtAttrInfo * | addAttr (const char *attrName, MAKRti::DtTransportType transport, MAKRti::DtOrderType order, DtSpaceHandle space, DtSharingType sharingType, DtFomUpdateType updateType, const MAKRti::DtString &updateCondition, DtOwnershipType ownership, const MAKRti::DtString &semantics, bool addSorted) |
| | Adds an attribute to the class. Used when reading Fed file. More...
|
| |
| virtual DtAttrInfo * | mergeAttr (const char *attrName, MAKRti::DtTransportType transport, MAKRti::DtOrderType order, DtSharingType sharingType, DtFomUpdateType updateType, const MAKRti::DtString &updateCondition, DtOwnershipType ownership, const MAKRti::DtString &semantics) |
| | Adds an attribute to an established class. Used when merging FOM targets. More...
|
| |
| virtual DtAttrInfo * | mergeAttr (const char *attrName, MAKRti::DtTransportType transport, MAKRti::DtOrderType order, DtSpaceHandle space, DtSharingType sharingType, DtFomUpdateType updateType, const MAKRti::DtString &updateCondition, DtOwnershipType ownership, const MAKRti::DtString &semantics) |
| | Adds an attribute to an established class. Used when merging FOM targets. More...
|
| |
| virtual const char * | name () const |
| | Return class name, as in FOM. More...
|
| |
| virtual DtSharingType | sharing () const |
| | sharing type access/mutate More...
|
| |
| virtual void | setSharing (DtSharingType share) |
| |
| virtual const char * | semantics () const |
| | semantics access/mutate More...
|
| |
| virtual void | setSemantics (const MAKRti::DtString &sem) |
| |
| virtual bool | isName (const char *name) const |
| | Return boolean: name matches? Compare depends on FOM type: insensitive for 1.3 and sensitive for 1516 Root name is prepended to name if necessary. More...
|
| |
| virtual bool | isFullName (const char *name) const |
| | Root name is required. More...
|
| |
| virtual DtObjectClassHandle | handle () const |
| | Set/get class handle. More...
|
| |
| virtual void | setHandle (DtObjectClassHandle handleValue) |
| |
| virtual DtObjectClassHandle | discoveredHandle () const |
| | Set/get discovered class handle This value is always 0 if isUnknown() is false. More...
|
| |
| virtual void | setDiscoveredHandle (DtObjectClassHandle handleValue) |
| |
| virtual DtObjectClassInfo * | baseClass () const |
| | Return pointer to base class descriptor. More...
|
| |
| virtual void | setBaseClass (DtObjectClassInfo *base) |
| | Set base class (used when deep copying FOM target not when constructing target) More...
|
| |
| virtual int | isOfClass (DtObjectClassHandle handle) const |
| | Returns 1 if this class is handle or is a subclass of handle. More...
|
| |
| virtual bool | isMom () |
| | Return true if this is a MOM class. More...
|
| |
| virtual bool | isRoot () |
| | Return true if this is the Root class. More...
|
| |
| virtual void | addSubclass (DtObjectClassInfo *sub) |
| | Add a subclass (called during FED processing) More...
|
| |
| virtual DtAttributeHandle | attrHandle (const char *theName) const |
| | Get attribute handle from name. More...
|
| |
| virtual char * | attrName (DtAttributeHandle theHandle) const |
| | Get attribute name from handle. More...
|
| |
| virtual MAKRti::DtTransportType | attrTransport (DtAttributeHandle theHandle) const |
| | Get attribute transport type from handle. More...
|
| |
| virtual MAKRti::DtOrderType | attrOrder (DtAttributeHandle theHandle) const |
| | Get attribute order from handle. More...
|
| |
| virtual DtSpaceHandle | attrSpace (DtAttributeHandle theHandle) const |
| | Get attribute space from handle. More...
|
| |
virtual DtAttributeByHandleMap
const & | attrs () const |
| | Returns the set of attribute infos. More...
|
| |
virtual DtAttributeByHandleMap
const & | ownAttrs () const |
| | Returns the set of attribute infos just from this class. More...
|
| |
| virtual int | numAttributes () const |
| | Returns the number of attributes. More...
|
| |
virtual const
DtAttributeHandleSet & | attributeHandles () const |
| | Returns the set of attribute handles. More...
|
| |
| virtual void | publish (DtAttributeHandleSet const &attributeList, DtObjectMgr *objMgr, bool isReplacement, bool isRepublish) |
| | Publish and unpublish Publishing an empty list with replacement enabled results in unpublish from all class attributes. More...
|
| |
| virtual void | unpublishAttributes (DtAttributeHandleSet const &attributeList, bool implicitUnpublishPrivilegeToDelete, DtObjectMgr *objMgr) |
| |
virtual
DtInteractionClassHandleStdSet
const & | publishedDirectedInteractions () const |
| |
| virtual void | publishDirectedInteractions (DtInteractionClassHandleStdSet const &interactions) |
| |
| virtual void | unpublishDirectedInteractions (DtInteractionClassHandleStdSet const &interactions) |
| |
| virtual bool | isPublishedDirectedInteraction (DtInteractionClassHandle classHandle) const |
| |
virtual
DtInteractionClassHandleStdSet
const & | subscribedDirectedInteractions () const |
| |
| virtual void | subscribeDirectedInteractions (DtInteractionClassHandleStdSet const &interactions, bool universal) |
| |
| virtual void | unsubscribeDirectedInteractions (DtInteractionClassHandleStdSet const &interactions) |
| |
| virtual bool | isSubscribedDirectedInteraction (DtInteractionClassHandle classHandle, bool universal) const |
| |
| virtual bool | published () const |
| | Return boolean: is class published? More...
|
| |
| virtual void | subscribe (const DtAttributeHandleSet &attributeList, bool isPassiveValue, bool isReplacement=true) |
| | Subscribe and unsubscribe. More...
|
| |
| virtual void | unsubscribeClass () |
| |
| virtual void | unsubscribeAttributes (DtAttributeHandleSet const &attributeList) |
| |
| virtual bool | subscribed () const |
| | Return boolean: is class subscribed? More...
|
| |
| virtual bool | isPassive () const |
| | Return boolean: is subscription passive? More...
|
| |
| virtual const bool | isSubscribed (DtAttributeHandle attrHandle, DtRegionHandle regSetHandle) const |
| | Using default region handle indicates check for DM subscription only. More...
|
| |
| virtual const bool | isActiveSubscribed (DtAttributeHandle attrHandle, DtRegionHandle regSetHandle) const |
| |
virtual DtAttributeHandleSet
const & | subscribedAttrs () const |
| | Returns the set of DM subscribed attributes. More...
|
| |
virtual DtAttributeHandleSet
const & | subscribedActiveAttrs () const |
| |
virtual DtAttributeHandleSet
const & | subscribedPassiveAttrs () const |
| |
virtual const
DtAttributeHandleSet & | subscribedAttrs (DtHandle regSetHandle) const |
| | Returns all subscribed attributes if handle is the default region set Otherwise, just those subscribed attributes that match with the remote publication region. More...
|
| |
virtual DtAttributeHandleSet
const & | subscribedActiveAttrs (DtHandle regSetHandle) const |
| |
virtual const
DtAttributeHandleSet & | publishedAttrs () const |
| | Returns the set of published attributes. More...
|
| |
virtual const
DtAttributeHandleSet & | relevantAttrs () const |
| | Returns the set of relevant attributes: Attributes that could cause object discovery at a remote federate if they are published or become published. More...
|
| |
| virtual void | remoteSubscribe (const DtAttributeHandleSet &attrs, DtFederateHandle fedHandle, bool isReplacement, DtObjectMgr *objMgr) |
| | Do bookkeeping associated with a remote federate subscription. More...
|
| |
| virtual void | remotePassiveSubscribe (const DtAttributeHandleSet &attrs, DtFederateHandle fedHandle, bool replacement, DtObjectMgr *objMgr) |
| | Process remote passive subscription to add pending send register for any objects that could be discovered by it Replacement forces updates to any relevance changes from active to passive. More...
|
| |
| virtual void | remoteUnsubscribeAttributes (DtFederateHandle fedHandle, const DtAttributeHandleSet &attrs, DtObjectMgr *objMgr) |
| | Do bookkeeping associated with a remote federate unsubscription. More...
|
| |
| virtual void | removeSubscriptions (DtFederateHandle fedHandle, DtObjectMgr *objMgr, bool isResigning=false) |
| | Remove all subscriptions from the given federate. More...
|
| |
| virtual int | numRemoteFederatesSubscribed () |
| | Returns number of remote federates subscribed to this class. More...
|
| |
| virtual bool | remoteFederateIsSubscribed (DtFederateHandle fedHandle) const |
| | Returns true if the remote federate is subscribed to this class. More...
|
| |
virtual DtAttributeHandleSet
const * | remoteSubscription (DtFederateHandle fedHandle) const |
| | Returns remote federate's subscribed attributes. More...
|
| |
| virtual const MAKRti::DtHashList & | subscribedFederates () const |
| | Returns a list of remote federate subscribed attributes. More...
|
| |
| virtual bool | relevant () const |
| | Returns true if the class is relevant: registered object could cause discovery at remote federate, false otherwise. More...
|
| |
| virtual bool | relevant (DtAttributeHandle) const |
| | Returns true if the attribute is relevant: attribute instance could cause discovery at remote federate, false otherwise. More...
|
| |
| virtual const MAKRti::DtInetAddr & | destinationAddress () const |
| | Set/Get the destination to send to when using DM Filtering Inclusive sets recurse for all derived classes. More...
|
| |
| virtual const MAKRti::DtInetAddr & | destinationDevice () const |
| |
| virtual void | setDestination (MAKRti::DtInetAddr addr, MAKRti::DtInetAddr devAddr, bool inclusive, MAKRti::DtInetAddr oldAddr, MAKRti::DtInetAddr oldDevAddr) |
| |
| virtual void | setForcedDestinations (DtBitMask const &mask, MAKRti::DtTime delay) |
| | Set a forced destination mask Temporarily set a forced destinations mask for given delay A negative time delay will force the destinations indefinitely. More...
|
| |
| virtual bool | getForcedDestinations (DtBitMask &mask) const |
| | Get the forced destination mask if active Returns true if the forced destination mask is active. More...
|
| |
| virtual void | setSubscribedRate (float rate, const MAKRti::DtString &name, bool inclusive) |
| | Apply objects subscribed rate to attrInfo's. More...
|
| |
| virtual float | maxSubscribedRate () |
| |
| virtual const MAKRti::DtString & | maxSubscribedRateName () |
| |
| virtual bool | save (DtRtiSaveFile &file) |
| | save and restore More...
|
| |
| virtual bool | restore (DtObjectClassPacket *packet, DtRtiSaveFile &file) |
| |
| virtual void | print () const |
| | Print the contents. More...
|
| |
| virtual bool | sameAncestry (const DtObjectClassInfo *) const |
| | Test equality. More...
|
| |
| bool | operator== (const DtObjectClassInfo &other) const |
| |
| bool | operator!= (const DtObjectClassInfo &other) const |
| |
| virtual bool | isScaffolding () const |
| | Determines whether the class is a scaffolding class. More...
|
| |
| virtual bool | diffClass (const DtObjectClassInfo &classInfo, DtAttributeByHandleMap &diff) const |
| | First test given class for equality excluding attributes. More...
|
| |
| virtual bool | isUnknown () const |
| | Determines whether this class is an unknown class, merely present to indicate that it is in other FOM modules not in use by this federate. More...
|
| |
| virtual void | setIsUnknown (bool unknown) |
| | Set the is unknown status. More...
|
| |
| virtual void | getAttrInfoForAttrHandleSet (const DtAttributeHandleSet &input, DtAttrVector &attrVector) const |
| | Fills out the given vector with DtAttrInfo for the supplied DtAttributeHandleSet. More...
|
| |
|
virtual const
DtObjectClassByHandleMap & | subclasses () const |
| | Return list of subclasses. More...
|
| |
| virtual DtObjectClassByHandleMap & | subclasses () |
| | Return list of subclasses. More...
|
| |
|
| virtual DtAttrInfo * | attrByHandle (const DtAttributeHandle theHandle) |
| | Get Attribute descriptor by handle. More...
|
| |
| virtual const DtAttrInfo * | attrByHandle (const DtAttributeHandle theHandle) const |
| | Get Attribute descriptor by handle. More...
|
| |
|
| virtual DtAttrInfo * | attrByName (const char *theName) |
| | Get Attribute descriptor by name. More...
|
| |
| virtual const DtAttrInfo * | attrByName (const char *theName) const |
| | Get Attribute descriptor by name. More...
|
| |
|
| virtual void | addInheritedAttribute (const DtAttrInfo &attrInfo) |
| | Add an inherited attribute (makes copy of given attribute) More...
|
| |
| virtual void | addInheritedAttributes (const DtObjectClassInfo &baseClass) |
| | Add inherited attributes from the given base class (makes copies of the attributes) More...
|
| |
| virtual void | addOwnAttribute (DtAttrInfo *attrInfo) |
| | Add an own attribute. More...
|
| |
| virtual void | inheritMergedAttribute (const DtAttrInfo &attribute) |
| | Inherit the given merged attribute from base class. More...
|
| |
| virtual bool | sameObjectClass (const DtObjectClassInfo &classInfo) const |
| | Test class for equality (including attributes) More...
|
| |
| virtual bool | diffAttributes (const DtObjectClassInfo &classInfo, DtAttributeByHandleMap &diff) const |
| | Take the difference of own attributes between classes: the given class info from this class info. More...
|
| |
| virtual void | throwIfNotDefined (const DtAttributeHandleSet &attributeList, const MAKRti::DtString &message) |
| | Throws AttributeNotDefined exception if any member of attrs is not a valid attribute handle. More...
|
| |
| virtual void | addRemoteSubscription (DtFederateHandle fedHandle, const DtAttributeHandleSet &attrs, bool isReplacement) |
| | Add/delete remote subscription to this class by indicated federate Replaces attribute set if already subscribed. More...
|
| |
| virtual void | deleteRemoteSubscription (DtFederateHandle fedHandle, DtAttributeHandleSet const &attrs) |
| |
| virtual void | addRemoteSubscription (DtFederateHandle fedHandle, DtAttributeHandle attrHandle) |
| | Attribute subscription is added to existing subscribed set (created does not exist) More...
|
| |
| virtual void | updateRelevance (const DtAttributeHandleSet &attrs, DtFederateHandle fedHandle, DtObjectMgr *objMgr, bool isResigning=false) |
| | Update the relevance field of this class and all subclasses, based on a particular remote and current subscriptions. More...
|
| |
| DtObjectClassInfo * | self () const |
| |
| virtual void | reIndexAttributesByName (DtAttrInfo *attrInfo) |
| | The given attribute was just added with the next handle. More...
|
| |
| virtual bool | intersectPublished (DtObjectClassInfo *objClass, const DtAttributeHandleSet &listToIntersect) |
| | Run an intersection between the list of attributes and all published attributes including children. More...
|
| |
| virtual void | nameUpdateCheck () |
| | Update indicators of root and MOM class. More...
|
| |
|
| virtual void | updateAvailableAttributeHandle (DtAttributeHandle attrHandle) |
| | The given attribute handle is now occupied. Update the next available attribute handle. More...
|
| |
| virtual void | updateAvailableAttributeHandles (const DtAttributeHandleStdSet &handles) |
| | The given attribute handle is now occupied. Update the next available attribute handle. More...
|
| |
|
| virtual void | addUsedSubClassAttribute (DtAttributeHandle handle) |
| | Add attribute handle(s) used by a sub class and pass up to base classes. More...
|
| |
| virtual void | addUsedSubClassAttributes (const DtAttributeHandleStdSet &handles) |
| | Add attribute handle(s) used by a sub class and pass up to base classes. More...
|
| |