![]() |
VR-Forces Developer's Guide
|
Template for the current-frame (read-only) view of a double-buffered state component. Exposes promoted current-frame data through read-only accessors.

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 |
|
inline |
Constructs the current-frame component with the given state data context.
| sd | The owning state data object. |
|
inlinevirtual |
Destructor.
|
inline |
Current frame state only can access current frame buffers.
|
inlineprotected |
Copies the promoted next-frame data into the current-frame buffer. Called by DtStateComponentImplementationTemplate during updateDataStorage().
| data | The next-frame state data to promote to the current frame. |
|
friend |
|
protected |
The current-frame state data buffer.