MAK RTIspy API Documentation for HLA Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes | Private Member Functions
DtObjectShadow Class Reference
+ Collaboration diagram for DtObjectShadow:

Public Member Functions

 DtObjectShadow (DtFederateShadow *parent, DtObjectInstanceHandle objectHandle, const char *objectName, DtObjectClassInfo *classInfo, const DtAttributeHandleSet &ownedAttributes, const DtAttributeHandleSet &lrcManagedAttributeSet)
 Constructor. More...
 
virtual ~DtObjectShadow ()
 Destructor. More...
 
virtual DtObjectInstanceHandle handle () const
 Get the object handle. More...
 
virtual const MAKRti::DtString & name () const
 Get the object name. More...
 
virtual DtObjectClassHandle classHandle () const
 Get the class handle. More...
 
virtual DtObjectClassInfoclassInfo () const
 Get the class info. More...
 
virtual bool isEmpty () const
 Return true if this object's attributes are neither owned nor LRC managed. More...
 
virtual bool isOwned () const
 Return true if the priviledgeToDelete is an owned attribute. More...
 
virtual const
DtAttributeHandleSet
ownedAttrs () const
 Returns the set of owned attributes managed by our LRC. More...
 
virtual const
DtAttributeHandleSet
lrcManagedAttributes () const
 Returns the set of unowned attributes managed by our LRC. More...
 
virtual void takeOwnership (const DtAttributeHandleSet &attributes)
 Take federate ownership of the given attributes. More...
 
virtual void removeOwnership (const DtAttributeHandleSet &attributes)
 Remove federate ownership of the given attributes. More...
 
virtual void takeLrcOwnership (const DtAttributeHandleSet &attributes)
 Take LRC ownership of the given attributes. More...
 
virtual void removeLrcOwnership (const DtAttributeHandleSet &attributes)
 Remove LRC ownership of the given attributes. More...
 
virtual void removeAttributes (const DtAttributeHandleSet &attributes)
 Remove from both ownership and lrc lists. More...
 

Protected Attributes

DtFederateShadowmyParent
 
DtObjectInstanceHandle myHandle
 
MAKRti::DtString myName
 
DtAttributeHandleSet myOwnedAttributes
 
DtAttributeHandleSet myLrcManagedAttributes
 
DtObjectClassInfomyClassInfo
 

Private Member Functions

 DtObjectShadow (const DtObjectShadow &)
 Not implemented. More...
 
DtObjectShadowoperator= (const DtObjectShadow &)
 Not implemented. More...
 

Constructor & Destructor Documentation

DtObjectShadow::DtObjectShadow ( DtFederateShadow parent,
DtObjectInstanceHandle  objectHandle,
const char *  objectName,
DtObjectClassInfo classInfo,
const DtAttributeHandleSet ownedAttributes,
const DtAttributeHandleSet lrcManagedAttributeSet 
)

Constructor.

virtual DtObjectShadow::~DtObjectShadow ( )
virtual

Destructor.

DtObjectShadow::DtObjectShadow ( const DtObjectShadow )
private

Not implemented.

Member Function Documentation

virtual DtObjectClassHandle DtObjectShadow::classHandle ( ) const
virtual

Get the class handle.

virtual DtObjectClassInfo* DtObjectShadow::classInfo ( ) const
virtual

Get the class info.

virtual DtObjectInstanceHandle DtObjectShadow::handle ( ) const
virtual

Get the object handle.

virtual bool DtObjectShadow::isEmpty ( ) const
virtual

Return true if this object's attributes are neither owned nor LRC managed.

virtual bool DtObjectShadow::isOwned ( ) const
virtual

Return true if the priviledgeToDelete is an owned attribute.

virtual const DtAttributeHandleSet& DtObjectShadow::lrcManagedAttributes ( ) const
virtual

Returns the set of unowned attributes managed by our LRC.

virtual const MAKRti::DtString& DtObjectShadow::name ( ) const
virtual

Get the object name.

DtObjectShadow& DtObjectShadow::operator= ( const DtObjectShadow )
private

Not implemented.

virtual const DtAttributeHandleSet& DtObjectShadow::ownedAttrs ( ) const
virtual

Returns the set of owned attributes managed by our LRC.

virtual void DtObjectShadow::removeAttributes ( const DtAttributeHandleSet attributes)
virtual

Remove from both ownership and lrc lists.

virtual void DtObjectShadow::removeLrcOwnership ( const DtAttributeHandleSet attributes)
virtual

Remove LRC ownership of the given attributes.

virtual void DtObjectShadow::removeOwnership ( const DtAttributeHandleSet attributes)
virtual

Remove federate ownership of the given attributes.

virtual void DtObjectShadow::takeLrcOwnership ( const DtAttributeHandleSet attributes)
virtual

Take LRC ownership of the given attributes.

virtual void DtObjectShadow::takeOwnership ( const DtAttributeHandleSet attributes)
virtual

Take federate ownership of the given attributes.

Member Data Documentation

DtObjectClassInfo* DtObjectShadow::myClassInfo
protected
DtObjectInstanceHandle DtObjectShadow::myHandle
protected
DtAttributeHandleSet DtObjectShadow::myLrcManagedAttributes
protected
MAKRti::DtString DtObjectShadow::myName
protected
DtAttributeHandleSet DtObjectShadow::myOwnedAttributes
protected
DtFederateShadow* DtObjectShadow::myParent
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Sun Jul 20 16:15:30 EDT 2025 from SVN revision 277985
Copyright © 2005-2025 MAK Technologies Inc. All Rights Reserved (www.mak.com)