VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes
makVrf::DtArticulatedPartStateComponentData Struct Reference

Holds the articulated part state data shared between the next and current frame buffers. Manages the hierarchy of articulated parts and the DIS/HLA collection for network transmission.

Public Member Functions

 DtArticulatedPartStateComponentData ()
 
void create ()
 
 DtArticulatedPartStateComponentData (const DtArticulatedPartStateComponentData &orig)
 
DtArticulatedPartStateComponentData & operator= (const DtArticulatedPartStateComponentData &rhs)
 
bool initialized () const
 
const DtArticulatedPartManager & articulatedPartManager () const
 
DtArticulatedPartManager & articulatedPartManager ()
 
const DtArticulatedPartCollection & artPartList () const
 
DtArticulatedPartCollection & artPartList ()
 
void setArtPartListModified (bool b)
 
bool artPartListModified () const
 
void clearArtPartListModified ()
 

Protected Attributes

std::shared_ptr
< DtArticulatedPartManager > 
myarticulatedPartManager
 
std::shared_ptr
< DtArticulatedPartCollection > 
myartPartList
 
bool myArtPartListModified
 

Constructor & Destructor Documentation

makVrf::DtArticulatedPartStateComponentData::DtArticulatedPartStateComponentData ( )
inline
makVrf::DtArticulatedPartStateComponentData::DtArticulatedPartStateComponentData ( const DtArticulatedPartStateComponentData &  orig)
inline

Copy constructor. Shares ownership of the manager and collection via shared_ptr.

Parameters
origThe source object to copy from.

Member Function Documentation

void makVrf::DtArticulatedPartStateComponentData::create ( )
inline

Allocates the articulated part manager and the part collection. Must be called before use when not copy-constructed.

DtArticulatedPartStateComponentData& makVrf::DtArticulatedPartStateComponentData::operator= ( const DtArticulatedPartStateComponentData &  rhs)
inline

Assignment operator. Shares ownership of the manager and collection via shared_ptr.

Parameters
rhsThe right-hand side object to assign from.
Returns
Reference to this object.

References myarticulatedPartManager, myartPartList, and myArtPartListModified.

bool makVrf::DtArticulatedPartStateComponentData::initialized ( ) const
inline

Returns true if create() has been called and the manager has been allocated.

const DtArticulatedPartManager& makVrf::DtArticulatedPartStateComponentData::articulatedPartManager ( ) const
inline

Returns a const reference to the articulated part manager.

DtArticulatedPartManager& makVrf::DtArticulatedPartStateComponentData::articulatedPartManager ( )
inline

Returns a mutable reference to the articulated part manager.

const DtArticulatedPartCollection& makVrf::DtArticulatedPartStateComponentData::artPartList ( ) const
inline

Returns a const reference to the articulated part collection used for network transmission.

DtArticulatedPartCollection& makVrf::DtArticulatedPartStateComponentData::artPartList ( )
inline

Returns a mutable reference to the articulated part collection used for network transmission.

void makVrf::DtArticulatedPartStateComponentData::setArtPartListModified ( bool  b)
inline

Sets the dirty flag indicating the articulated part list has been modified.

Parameters
bTrue if modified, false otherwise.
bool makVrf::DtArticulatedPartStateComponentData::artPartListModified ( ) const
inline

Returns true if the articulated part list has been modified since last cleared.

void makVrf::DtArticulatedPartStateComponentData::clearArtPartListModified ( )
inline

Clears the articulated part list modified dirty flag.

Member Data Documentation

std::shared_ptr<DtArticulatedPartManager> makVrf::DtArticulatedPartStateComponentData::myarticulatedPartManager
protected

Manages the tree of articulated parts for this entity.

Referenced by operator=().

std::shared_ptr<DtArticulatedPartCollection> makVrf::DtArticulatedPartStateComponentData::myartPartList
protected

DIS/HLA articulated part collection used for network transmission.

Referenced by operator=().

bool makVrf::DtArticulatedPartStateComponentData::myArtPartListModified
protected

Dirty flag indicating the articulated part list has been modified and needs to be transmitted.

Referenced by operator=().


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

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)