MAK RTIspy API Documentation for HLA 4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Protected Attributes
DtAttributeHandleSet Class Reference

Defines the internal representation of attribute/parameter handle sets. More...

+ Collaboration diagram for DtAttributeHandleSet:

Public Member Functions

 DtAttributeHandleSet (DtObjectClassHandle handle=0)
 Constructor. More...
 
 DtAttributeHandleSet (RTI_API::AttributeHandleSet const &attrSet_i, DtObjectClassHandle handle=0)
 
virtual ~DtAttributeHandleSet ()
 Destructor. More...
 
 DtAttributeHandleSet (const DtAttributeHandleSet &orig)
 Copy ctor. More...
 
DtAttributeHandleSetoperator= (const DtAttributeHandleSet &orig)
 Assignment operator. More...
 
virtual unsigned long size () const
 Cardinality of the set. More...
 
virtual DtAttributeHandle getHandle (unsigned long i) const
 Get ith handle. More...
 
virtual void add (DtAttributeHandle h)
 Add new value. More...
 
virtual void add (const DtAttributeHandleSet &handles)
 Add the given handles to this set. More...
 
virtual void remove (DtAttributeHandle h)
 not guaranteed safe while iterating More...
 
virtual void empty ()
 Empty the Set. More...
 
virtual bool isEmpty () const
 is set empty? More...
 
virtual bool isEmptySet () const
 
virtual bool isMember (DtAttributeHandle h) const
 Is handle h in the set? More...
 
virtual DtAttributeHandleSet setUnion (const DtAttributeHandleSet &) const
 
virtual DtAttributeHandleSet setIntersection (const DtAttributeHandleSet &) const
 
virtual DtAttributeHandleSet removeSetIntersection (const DtAttributeHandleSet &) const
 
virtual unsigned long encodedLength () const
 
virtual void encode (char *buff) const
 
virtual void print () const
 
virtual void print (DtObjectClassInfo *fomClass) const
 
virtual void fillHandleSet (RTI_API::AttributeHandleSet &attrSet) const
 
virtual DtObjectClassHandle classHandle () const
 Additional methods for internal RTI implementation. More...
 
virtual void setClassHandle (DtObjectClassHandle handle)
 
virtual bool active () const
 Set/Get active/passive status for subscribed attributes. More...
 
virtual void setActive (bool isActive)
 
virtual DtAttributeHandleStdSetimpl ()
 Return the internal representation. More...
 
virtual const
DtAttributeHandleStdSet
impl () const
 Return the internal representation. More...
 

Static Public Member Functions

static DtAttributeHandleSetdecode (const char *buff)
 

Protected Attributes

DtAttributeHandleStdSet myHandles
 
DtObjectClassHandle myClassHandle
 
bool myActive
 

Detailed Description

Defines the internal representation of attribute/parameter handle sets.

For HLA 1.3, this class extends the API attribute handle set. For HLA 1516 onward, this class is used to transform between the API and this representation

Constructor & Destructor Documentation

DtAttributeHandleSet::DtAttributeHandleSet ( DtObjectClassHandle  handle = 0)

Constructor.

DtAttributeHandleSet::DtAttributeHandleSet ( RTI_API::AttributeHandleSet const &  attrSet_i,
DtObjectClassHandle  handle = 0 
)
virtual DtAttributeHandleSet::~DtAttributeHandleSet ( )
virtual

Destructor.

DtAttributeHandleSet::DtAttributeHandleSet ( const DtAttributeHandleSet orig)

Copy ctor.

Member Function Documentation

virtual bool DtAttributeHandleSet::active ( ) const
virtual

Set/Get active/passive status for subscribed attributes.

virtual void DtAttributeHandleSet::add ( DtAttributeHandle  h)
virtual

Add new value.

virtual void DtAttributeHandleSet::add ( const DtAttributeHandleSet handles)
virtual

Add the given handles to this set.

virtual DtObjectClassHandle DtAttributeHandleSet::classHandle ( ) const
virtual

Additional methods for internal RTI implementation.

Set/Get class handle of this attribute handle set For now, only used in specific situations (e.g., MOM processing)

static DtAttributeHandleSet* DtAttributeHandleSet::decode ( const char *  buff)
static
virtual void DtAttributeHandleSet::empty ( )
virtual

Empty the Set.

virtual void DtAttributeHandleSet::encode ( char *  buff) const
virtual
virtual unsigned long DtAttributeHandleSet::encodedLength ( ) const
virtual
virtual void DtAttributeHandleSet::fillHandleSet ( RTI_API::AttributeHandleSet &  attrSet) const
virtual
virtual DtAttributeHandle DtAttributeHandleSet::getHandle ( unsigned long  i) const
virtual

Get ith handle.

DtAttributeHandleStdSet & DtAttributeHandleSet::impl ( )
inlinevirtual

Return the internal representation.

References myHandles.

const DtAttributeHandleStdSet & DtAttributeHandleSet::impl ( ) const
inlinevirtual

Return the internal representation.

References myHandles.

virtual bool DtAttributeHandleSet::isEmpty ( ) const
virtual

is set empty?

virtual bool DtAttributeHandleSet::isEmptySet ( ) const
virtual
virtual bool DtAttributeHandleSet::isMember ( DtAttributeHandle  h) const
virtual

Is handle h in the set?

DtAttributeHandleSet& DtAttributeHandleSet::operator= ( const DtAttributeHandleSet orig)

Assignment operator.

virtual void DtAttributeHandleSet::print ( ) const
virtual
virtual void DtAttributeHandleSet::print ( DtObjectClassInfo fomClass) const
virtual
virtual void DtAttributeHandleSet::remove ( DtAttributeHandle  h)
virtual

not guaranteed safe while iterating

virtual DtAttributeHandleSet DtAttributeHandleSet::removeSetIntersection ( const DtAttributeHandleSet ) const
virtual
virtual void DtAttributeHandleSet::setActive ( bool  isActive)
virtual
virtual void DtAttributeHandleSet::setClassHandle ( DtObjectClassHandle  handle)
virtual
virtual DtAttributeHandleSet DtAttributeHandleSet::setIntersection ( const DtAttributeHandleSet ) const
virtual
virtual DtAttributeHandleSet DtAttributeHandleSet::setUnion ( const DtAttributeHandleSet ) const
virtual
virtual unsigned long DtAttributeHandleSet::size ( ) const
virtual

Cardinality of the set.

Member Data Documentation

bool DtAttributeHandleSet::myActive
protected
DtObjectClassHandle DtAttributeHandleSet::myClassHandle
protected
DtAttributeHandleStdSet DtAttributeHandleSet::myHandles
protected

Referenced by impl().


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)