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 Member Functions | Protected Attributes | Friends
DtStateComponentCurrentFrameTemplate< T_BaseComponent, V_NextFrame, W_Data > Class Template Reference

template<typename T_BaseComponent, typename V_NextFrame, typename W_Data>
class DtStateComponentCurrentFrameTemplate< T_BaseComponent, V_NextFrame, W_Data >

Template for the current-frame (read-only) view of a double-buffered state component. Exposes promoted current-frame data through read-only accessors.

Inheritance diagram for DtStateComponentCurrentFrameTemplate< T_BaseComponent, V_NextFrame, W_Data >:
Inheritance graph
[legend]

Public Member Functions

 DtStateComponentCurrentFrameTemplate (makVrf::DtStateData *sd)
 
virtual ~DtStateComponentCurrentFrameTemplate ()
 
const W_Data & frameState () const
 

Protected Member Functions

void advanceFrame (const W_Data &data)
 

Protected Attributes

W_Data myData
 

Friends

template<typename , typename , typename >
class DtStateComponentImplementationTemplate
 

Constructor & Destructor Documentation

template<typename T_BaseComponent, typename V_NextFrame, typename W_Data>
DtStateComponentCurrentFrameTemplate< T_BaseComponent, V_NextFrame, W_Data >::DtStateComponentCurrentFrameTemplate ( makVrf::DtStateData *  sd)
inline

Constructs the current-frame component with the given state data context.

Parameters
sdThe owning state data object.
template<typename T_BaseComponent, typename V_NextFrame, typename W_Data>
virtual DtStateComponentCurrentFrameTemplate< T_BaseComponent, V_NextFrame, W_Data >::~DtStateComponentCurrentFrameTemplate ( )
inlinevirtual

Destructor.

Member Function Documentation

template<typename T_BaseComponent, typename V_NextFrame, typename W_Data>
const W_Data& DtStateComponentCurrentFrameTemplate< T_BaseComponent, V_NextFrame, W_Data >::frameState ( ) const
inline

Current frame state only can access current frame buffers.

template<typename T_BaseComponent, typename V_NextFrame, typename W_Data>
void DtStateComponentCurrentFrameTemplate< T_BaseComponent, V_NextFrame, W_Data >::advanceFrame ( const W_Data &  data)
inlineprotected

Copies the promoted next-frame data into the current-frame buffer. Called by DtStateComponentImplementationTemplate during updateDataStorage().

Parameters
dataThe next-frame state data to promote to the current frame.

Friends And Related Function Documentation

template<typename T_BaseComponent, typename V_NextFrame, typename W_Data>
template<typename , typename , typename >
friend class DtStateComponentImplementationTemplate
friend

Member Data Documentation

template<typename T_BaseComponent, typename V_NextFrame, typename W_Data>
W_Data DtStateComponentCurrentFrameTemplate< T_BaseComponent, V_NextFrame, W_Data >::myData
protected

The current-frame state data buffer.


The documentation for this class 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)