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::DtStatePropertiesStateComponentData Struct Reference

Holds the actual data for one frame of state properties associated with a simulated object.

Public Member Functions

 DtStatePropertiesStateComponentData ()
 
 DtStatePropertiesStateComponentData (const DtStatePropertiesStateComponentData &orig)
 
DtStatePropertiesStateComponentData & operator= (const DtStatePropertiesStateComponentData &rhs)
 
void clearStatePropertiesUpdated ()
 
void statePropertiesWereUpdated ()
 
void copyOnlPublishedStateProperties (const DtRwProperties &other)
 
const DtRwProperties & parameterProperties () const
 
DtRwProperties & parameterProperties ()
 

Protected Attributes

DtRwProperties myStateProperties
 
bool myStatePropertiesUpdated
 
std::shared_ptr< DtRwProperties > myParameterProperties
 

Constructor & Destructor Documentation

makVrf::DtStatePropertiesStateComponentData::DtStatePropertiesStateComponentData ( )
inline

Constructs a default instance with empty state and parameter properties.

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

Copy constructor.

Member Function Documentation

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

Assignment operator. Copies member data and marks state properties as updated.

References myParameterProperties, and myStateProperties.

void makVrf::DtStatePropertiesStateComponentData::clearStatePropertiesUpdated ( )
inline

Clears the flag indicating state properties were updated this frame.

void makVrf::DtStatePropertiesStateComponentData::statePropertiesWereUpdated ( )
inline

Marks state properties as having been updated this frame.

void makVrf::DtStatePropertiesStateComponentData::copyOnlPublishedStateProperties ( const DtRwProperties &  other)
inline

Copies only the published state properties from other into this object.

Parameters
otherThe source properties to copy published properties from.

References DtReaderWriterFactory::cloneReaderWriter(), DtReaderWriter::factory(), DtPropertyInterface::isPublished(), DtReaderWriter::name(), DtReaderWriter::registry(), and DtReaderWriterRegistry::registryData().

const DtRwProperties& makVrf::DtStatePropertiesStateComponentData::parameterProperties ( ) const
inline

Returns the parameter properties (const).

Referenced by makVrf::DtStatePropertiesStateComponentCurrentFrame::advanceFrame().

DtRwProperties& makVrf::DtStatePropertiesStateComponentData::parameterProperties ( )
inline

Returns the parameter properties (mutable).

Member Data Documentation

DtRwProperties makVrf::DtStatePropertiesStateComponentData::myStateProperties
protected

The state properties container.

Referenced by operator=().

bool makVrf::DtStatePropertiesStateComponentData::myStatePropertiesUpdated
protected

Flag indicating state properties were updated this frame.

std::shared_ptr<DtRwProperties> makVrf::DtStatePropertiesStateComponentData::myParameterProperties
protected

The parameter properties, shared across copies.

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)