![]() |
MAK RTIspy API Documentation for HLA Evolved
|
Collaboration diagram for DtInteractionClassInfo:Public Member Functions | |
| DtInteractionClassInfo (const char *name, DtInteractionClassInfo *base, DtInteractionClassHandle handle, DtSharingType sharing, MAKRti::DtString semantics, MAKRti::DtTransportType transport, MAKRti::DtOrderType order) | |
| Constructors. | |
| DtInteractionClassInfo (const DtInteractionClassInfo &orig) | |
| Copy constructor (not implemented) | |
| DtInteractionClassInfo & | operator= (const DtInteractionClassInfo &orig) |
| Assignment operator (not implemented) | |
| virtual | ~DtInteractionClassInfo () |
| Destructor. | |
| virtual void | setFomType (MAKRti::DtFomType type) |
| virtual MAKRti::DtFomType | fomType () const |
| virtual void | addParam (const char *paramName, const char *semantics, bool addSorted) |
| Adds an parameter to the class (called during FED processing). | |
| virtual void | addSubclass (DtInteractionClassInfo *sub) |
| Add a subclass (called during FED processing). | |
| virtual DtDimensionHandleSet const & | dimensions () const |
| Set/Get dimensions. | |
| virtual void | setDimensions (DtDimensionHandleSet const &dimList) |
| virtual void | addDimension (DtDimensionHandle dimHandle) |
| Add/Remove a dimesion handle. | |
| virtual void | removeDimension (DtDimensionHandle dimHandle) |
| virtual const char * | name () const |
| Return class name, as in FED. | |
| 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. | |
| virtual bool | isFullName (const char *name) const |
| Root name is required. | |
| virtual DtParameterHandle | paramHandle (const char *theName) |
| Get parameter handle from name. | |
| virtual char * | paramName (DtParameterHandle theHandle) |
| Get parameter name from handle. | |
| virtual DtInteractionClassHandle | handle () const |
| Get/set class handle. | |
| virtual void | setHandle (DtInteractionClassHandle handleValue) |
| virtual DtInteractionClassHandle | discoveredHandle () const |
| Get/set discovered class handle This value is always 0 if isUnknown() is false. | |
| virtual void | setDiscoveredHandle (DtInteractionClassHandle handleValue) |
| virtual DtInteractionClassInfo * | baseClass () const |
| Return pointer to base class descriptor. | |
| virtual void | setBaseClass (DtInteractionClassInfo *base) |
| Set base class pointer (User should not need to call this);. | |
| virtual MAKRti::DtList * | subclasses () |
| Return list of subclasses. | |
| virtual int | isOfClass (DtInteractionClassHandle handle) const |
| Returns 1 if this class is handle or is a subclass of handle. | |
| virtual void | publish (DtInteractionMgr *interMgr) |
| Publish and unpublish. | |
| virtual void | unpublish () |
| virtual int | published () const |
| Return 1 if we are publishing this class, 0 otherwise. | |
| virtual void | subscribe (bool active) |
| Subscribe and unsubscribe. | |
| virtual void | unsubscribe () |
| virtual int | subscribed () const |
| Return 1 if we are subscribed to this class, 0 otherwise. | |
| virtual void | remoteSubscribe (DtFederateHandle fedHandle, DtInteractionMgr *interMgr) |
| Call when another federate subscribes to this class actively. | |
| virtual void | remotePassiveSubscribe (DtFederateHandle fedHandle, DtInteractionMgr *interMgr) |
| Call when another federate subscribes to this class passively. | |
| virtual void | remoteUnsubscribe (DtFederateHandle fedHandle, DtInteractionMgr *interMgr, bool forSmartForwarding) |
| Call when another federate unsubscribes to this class. | |
| virtual bool | remoteFederateIsSubscribed (DtFederateHandle fedHandle) const |
| Returns true if the remote federate is subscribed to this class. | |
| virtual int | numRemoteFederatesSubscribed () const |
| Returns number of remote federates subscribed to this class. | |
| virtual const MAKRti::DtList & | subscribedFederates () const |
| Returns a list of federates who are subscribed to this interaction. | |
| virtual bool | relevant () const |
| Returns true if the class is relevant, false otherwise. | |
| virtual DtParamInfo * | paramByName (const char *theName) |
| Get parameter descriptor by name or handle. | |
| virtual DtParamInfo * | paramByHandle (const DtParameterHandle theHandle) |
| virtual MAKRti::DtTransportType | transport () const |
| Set/Get transport type representing transport mechanism. | |
| virtual void | setTransport (MAKRti::DtTransportType theTransport) |
| DtSharingType | sharing () const |
| void | setSharing (const DtSharingType sharing) |
| const char * | semantics () const |
| void | setSemantics (const MAKRti::DtString &semantics) |
| virtual MAKRti::DtOrderType | order () const |
| Set/Get order type. | |
| virtual void | setOrder (MAKRti::DtOrderType theOrder) |
| virtual void | setSpaceHandle (DtSpaceHandle spaceHandleValue) |
| Return the space handle. | |
| virtual DtSpaceHandle | spaceHandle () const |
| virtual MAKRti::DtInetAddr | destinationAddress () const |
| set the destination to send to when using DM Filtering | |
| virtual MAKRti::DtInetAddr | destinationDevice () const |
| virtual void | setDestination (MAKRti::DtInetAddr addr, MAKRti::DtInetAddr devAddr, bool inclusive, MAKRti::DtInetAddr oldAddr, MAKRti::DtInetAddr oldDevAddr) |
| virtual int | subscribedWithRegion () const |
| Return 1 if we are subscribed to this class with region, 0 otherwise. | |
| virtual int | numParameters () const |
| Returns the number of parameters. | |
| virtual DtParamVector const & | params () const |
| Returns the list of parameters. | |
| virtual DtBitMask | getDestinations (bool includeBaseClass=true) const |
| Get the list of remote subscribers to the class = update destinations The base class destination masks are added unless specified otherwise. | |
| virtual void | forceDestinations (DtBitMask const &mask, MAKRti::DtTime delay) |
| Temporarily force destinations with this mask for given delay A negative time delay will force the destinations indefinitely. | |
| virtual void | overrideDestinations (DtBitMask const &mask) |
| Permanently override destinations with given mask. | |
| virtual void | clearDestinationOverride () |
| Remove destination override. | |
| virtual bool | save (DtRtiSaveFile &file) |
| save and restore | |
| virtual bool | restore (DtInteractionClassPacket *packet) |
| virtual void | print () const |
| Print the contents. | |
| virtual bool | sameAncestry (const DtInteractionClassInfo *) const |
| Test for equality. | |
| bool | operator== (const DtInteractionClassInfo &other) const |
| bool | operator!= (const DtInteractionClassInfo &other) const |
| bool | isScaffolding () const |
| Determines whether the class is a scaffolding class. | |
| 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. | |
| void | setIsUnknown (bool unknown) |
Protected Member Functions | |
| virtual void | addRemoteSubscription (DtFederateHandle fedHandle) |
| Add/delete remote subscription to this class by indicated federate. | |
| virtual void | addRemotePassiveSubscription (DtFederateHandle fedHandle) |
| virtual void | deleteRemoteSubscription (DtFederateHandle fedHandle, bool isForSmartForwarding=false) |
| virtual void | updateRelevance (DtInteractionMgr *interMgr) |
| Update the relevance field of this class and all subclasses, based on current subscriptions. | |
| void | addParamSorted (const char *paramName, MAKRti::DtString semantics) |
| Insert Parameters in sorted or unsorted (deprecated) order. | |
| void | addParamUnsorted (const char *paramName, MAKRti::DtString semantics) |
Static Protected Member Functions | |
| static bool | sameInteractionClass (const DtInteractionClassInfo &, const DtInteractionClassInfo &) |
| static bool | sameParamsUnsorted (const std::vector< DtParamInfo > &, const std::vector< DtParamInfo > &) |
| static bool | sameParamsSorted (const std::vector< DtParamInfo > &, const std::vector< DtParamInfo > &) |
Protected Attributes | |
| MAKRti::DtString | myName |
| DtInteractionClassHandle | myHandle |
| DtInteractionClassHandle | myDiscoveredHandle |
| DtSpaceHandle | mySpaceHandle |
| DtDimensionHandleSet | myDimensions |
| MAKRti::DtFomType | myFomType |
| DtSubcribeInteractionType | mySubscribed |
| int | myPublished |
| DtInteractionClassInfo * | myBase |
| MAKRti::DtList | mySubclasses |
| MAKRti::DtTransportType | myTransport |
| MAKRti::DtString | mySemantics |
| DtSharingType | mySharing |
| MAKRti::DtOrderType | myOrder |
| DtParamVector | myParams |
| int | myFirstParam |
| MAKRti::DtHashlist | myRemoteSubscriptions |
| MAKRti::DtHashlist | myRemotePassiveSubscriptions |
| DtBitMask | myRemoteSubscriberMask |
| DtBitMask * | myForceDestinationsMask |
| Create this bit mask to temporarily force destinations after publish. | |
| DtBitMask * | myOverrideDestinationsMask |
| Create this bit mask to permanently override destinations. | |
| MAKRti::DtTime | myForceDestinationsTime |
| bool | myRelevant |
| MAKRti::DtInetAddr | myAddr |
| MAKRti::DtInetAddr | myDevAddr |
| MAKRti::DtClock | myClock |
| bool | myIsUnknown |
| Indicates whether this class is an unknown class, merely present to indicate that it is in other FOM modules not in use by this federate. | |
Static Private Attributes | |
| static const unsigned int | theMaxParams |
| DtInteractionClassInfo::DtInteractionClassInfo | ( | const char * | name, |
| DtInteractionClassInfo * | base, | ||
| DtInteractionClassHandle | handle, | ||
| DtSharingType | sharing, | ||
| MAKRti::DtString | semantics, | ||
| MAKRti::DtTransportType | transport, | ||
| MAKRti::DtOrderType | order | ||
| ) |
Constructors.
| DtInteractionClassInfo::DtInteractionClassInfo | ( | const DtInteractionClassInfo & | orig | ) |
Copy constructor (not implemented)
|
virtual |
Destructor.
|
virtual |
Add/Remove a dimesion handle.
|
virtual |
Adds an parameter to the class (called during FED processing).
|
protected |
Insert Parameters in sorted or unsorted (deprecated) order.
|
protected |
|
protectedvirtual |
|
protectedvirtual |
Add/delete remote subscription to this class by indicated federate.
|
virtual |
Add a subclass (called during FED processing).
|
virtual |
Return pointer to base class descriptor.
|
virtual |
Remove destination override.
|
protectedvirtual |
|
virtual |
set the destination to send to when using DM Filtering
|
virtual |
|
virtual |
Set/Get dimensions.
|
virtual |
Get/set discovered class handle This value is always 0 if isUnknown() is false.
|
virtual |
|
virtual |
Temporarily force destinations with this mask for given delay A negative time delay will force the destinations indefinitely.
|
virtual |
Get the list of remote subscribers to the class = update destinations The base class destination masks are added unless specified otherwise.
|
virtual |
Get/set class handle.
|
virtual |
Root name is required.
|
virtual |
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.
|
virtual |
Returns 1 if this class is handle or is a subclass of handle.
| bool DtInteractionClassInfo::isScaffolding | ( | ) | const |
Determines whether the class is a scaffolding class.
| bool DtInteractionClassInfo::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.
|
virtual |
Return class name, as in FED.
|
virtual |
Returns the number of parameters.
|
virtual |
Returns number of remote federates subscribed to this class.
| bool DtInteractionClassInfo::operator!= | ( | const DtInteractionClassInfo & | other | ) | const |
| DtInteractionClassInfo& DtInteractionClassInfo::operator= | ( | const DtInteractionClassInfo & | orig | ) |
Assignment operator (not implemented)
| bool DtInteractionClassInfo::operator== | ( | const DtInteractionClassInfo & | other | ) | const |
|
virtual |
Set/Get order type.
|
virtual |
Permanently override destinations with given mask.
|
virtual |
|
virtual |
Get parameter descriptor by name or handle.
|
virtual |
Get parameter handle from name.
|
virtual |
Get parameter name from handle.
|
virtual |
Returns the list of parameters.
|
virtual |
Print the contents.
|
virtual |
Publish and unpublish.
|
virtual |
Return 1 if we are publishing this class, 0 otherwise.
|
virtual |
Returns true if the class is relevant, false otherwise.
|
virtual |
Returns true if the remote federate is subscribed to this class.
|
virtual |
Call when another federate subscribes to this class passively.
Simply stores passive subscription, does not updateRelevance.
|
virtual |
Call when another federate subscribes to this class actively.
Updates subscriptions for this class, then calls updateRelevance.
|
virtual |
Call when another federate unsubscribes to this class.
Updates subscriptions for this class, then calls updateRelevance.
|
virtual |
|
virtual |
|
virtual |
Test for equality.
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
virtual |
save and restore
| const char* DtInteractionClassInfo::semantics | ( | ) | const |
|
virtual |
Set base class pointer (User should not need to call this);.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
| void DtInteractionClassInfo::setIsUnknown | ( | bool | unknown | ) |
|
virtual |
| void DtInteractionClassInfo::setSemantics | ( | const MAKRti::DtString & | semantics | ) |
| void DtInteractionClassInfo::setSharing | ( | const DtSharingType | sharing | ) |
|
virtual |
Return the space handle.
|
virtual |
| DtSharingType DtInteractionClassInfo::sharing | ( | ) | const |
|
virtual |
|
virtual |
Return list of subclasses.
|
virtual |
Subscribe and unsubscribe.
|
virtual |
Return 1 if we are subscribed to this class, 0 otherwise.
|
virtual |
Returns a list of federates who are subscribed to this interaction.
|
virtual |
Return 1 if we are subscribed to this class with region, 0 otherwise.
|
virtual |
Set/Get transport type representing transport mechanism.
|
virtual |
|
virtual |
|
protectedvirtual |
Update the relevance field of this class and all subclasses, based on current subscriptions.
Add pending turnOn/OffInteractions when appropriate.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Create this bit mask to temporarily force destinations after publish.
|
protected |
|
protected |
|
protected |
Indicates whether this class is an unknown class, merely present to indicate that it is in other FOM modules not in use by this federate.
|
protected |
|
protected |
|
protected |
Create this bit mask to permanently override destinations.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprivate |