![]() |
MAK RTIspy API Documentation for HLA Evolved
|
Collaboration diagram for DtFederateShadow:Public Member Functions | |
| DtFederateShadow (DtFederationShadow *parent, DtHandle connHandle, DtFederateHandle handle, const MAKRti::DtString &name) | |
| Constructor. More... | |
| virtual | ~DtFederateShadow () |
| Destructor. More... | |
| virtual DtFederateHandle | handle () const |
| Get the federate handle. More... | |
| virtual DtHandle | connectionHandle () const |
| Get connection handle. More... | |
| virtual const MAKRti::DtString & | name () const |
| Get federate name. More... | |
| virtual DtFomModuleManager * | fomManager () |
| Get the FOM Module Manager. More... | |
| virtual void | addObject (DtObjectInstanceHandle instanceHandle, const char *objectName, DtObjectClassInfo *classInfo, const DtAttributeHandleSet &ownedAttributes, const DtAttributeHandleSet &lrcAttributes) |
| Add an object. More... | |
| DtObjectShadow * | object (DtObjectInstanceHandle objectHandle) |
| Get an object. More... | |
| virtual void | removeObject (DtObjectInstanceHandle instanceHandle) |
| Remove an object. More... | |
| virtual bool | ownsObject (DtObjectInstanceHandle objectHandle) |
| Return true if federate owns the object's priviledgeToDelete attribute. More... | |
| virtual void | removeAttributes (DtObjectInstanceHandle objectHandle, const DtAttributeHandleSet &attributes) |
| Remove attributes (owned or LRC managed) from object Note object may be removed from federate if owned and LRC managed attribute sets become empty. More... | |
| virtual void | processRegisterObject (DtObjectInstanceHandle objectHandle, const DtString &objectName, DtObjectClassHandle classHandle, const DtAttributeHandleSet &attributes) |
| Handle register object. More... | |
| virtual void | processMultiRegister (DtObjectClassHandle classHandle, const DtAttributeHandleSet &ownedAttributes, const char *objectPointer, unsigned long objectCount) |
| Handle register multiple object. More... | |
| virtual void | processAssocPubReg (DtObjectInstanceHandle objectHandle, const DtString &objectName, DtObjectClassHandle classHandle, const DtAttributeHandleSet &attributes) |
| Handle associate region with attributes. More... | |
| virtual void | processUnconditionalDivest (DtObjectInstanceHandle objectHandle, const DtAttributeHandleSet &attributes) |
| Handle ownership unconditional divest. More... | |
| virtual void | processNotifyAcquire (DtObjectInstanceHandle instanceHandle, const char *objectName, DtObjectClassHandle classHandle, const DtAttributeHandleSet &attributes) |
| Handle ownership notify acquire. More... | |
| virtual void | processGiveToLrc (DtObjectInstanceHandle objectHandle, const char *objectName, DtObjectClassHandle classHandle, const DtAttributeHandleSet &attributes) |
| Handle ownership give to LRC. More... | |
| virtual void | processResign (DtResignAction action, DtResignReason reason) |
| Handle federate resign. More... | |
Static Public Member Functions | |
| static DtFederateShadow * | create (DtFederationShadow *parent, DtHandle connHandle, DtFederateHandle handle, const MAKRti::DtString &name) |
| Creates an instance of a DtFederateShadow;. More... | |
| static void | setCreatorFunction (DtFederateShadowCreator creator) |
| Call this function to set an alternate creator function With this function, users can replace this DtFederateShadow with their own derived class. More... | |
Protected Member Functions | |
| virtual void | releaseAllAttributes () |
| Release the attributes to the RTI Used when federate was lost or forced to resign and has resign directive to divest attributes. More... | |
| virtual void | deleteOwnedObjects () |
| Delete objects from federation where federate owns priviledgeToDelete. More... | |
| virtual void | sendAndDeleteMessage (DtRtiMsg *message) |
| Send the message using the internal transport type and setting the federation and federate handle values Delete the message after sending. More... | |
Protected Attributes | |
| DtFederationShadow * | myParent |
| DtFederateHandle | myHandle |
| DtHandle | myConnectionHandle |
| MAKRti::DtString | myName |
| DtObjectShadowByInstanceMap | myObjects |
| Objects with attributes owned by this federate or managed by its LRC. More... | |
Static Protected Attributes | |
| static DtFederateShadowCreator | theCreator |
Private Member Functions | |
| DtFederateShadow (const DtFederateShadow &) | |
| Not implemented. More... | |
| DtFederateShadow & | operator= (const DtFederateShadow &) |
| Not implemented. More... | |
| DtFederateShadow::DtFederateShadow | ( | DtFederationShadow * | parent, |
| DtHandle | connHandle, | ||
| DtFederateHandle | handle, | ||
| const MAKRti::DtString & | name | ||
| ) |
Constructor.
|
virtual |
Destructor.
|
private |
Not implemented.
|
virtual |
Add an object.
|
inlinevirtual |
Get connection handle.
References myConnectionHandle.
|
static |
Creates an instance of a DtFederateShadow;.
|
protectedvirtual |
Delete objects from federation where federate owns priviledgeToDelete.
|
virtual |
Get the FOM Module Manager.
|
inlinevirtual |
Get the federate handle.
References myHandle.
|
virtual |
Get federate name.
| DtObjectShadow* DtFederateShadow::object | ( | DtObjectInstanceHandle | objectHandle | ) |
Get an object.
|
private |
Not implemented.
|
virtual |
Return true if federate owns the object's priviledgeToDelete attribute.
|
virtual |
Handle associate region with attributes.
|
virtual |
Handle ownership give to LRC.
|
virtual |
Handle register multiple object.
|
virtual |
Handle ownership notify acquire.
|
virtual |
Handle register object.
|
virtual |
Handle federate resign.
|
virtual |
Handle ownership unconditional divest.
|
protectedvirtual |
Release the attributes to the RTI Used when federate was lost or forced to resign and has resign directive to divest attributes.
|
virtual |
Remove attributes (owned or LRC managed) from object Note object may be removed from federate if owned and LRC managed attribute sets become empty.
|
virtual |
Remove an object.
|
protectedvirtual |
Send the message using the internal transport type and setting the federation and federate handle values Delete the message after sending.
|
static |
Call this function to set an alternate creator function With this function, users can replace this DtFederateShadow with their own derived class.
|
protected |
Referenced by connectionHandle().
|
protected |
Referenced by handle().
|
protected |
|
protected |
Objects with attributes owned by this federate or managed by its LRC.
|
protected |
|
staticprotected |