![]() |
VR-Forces Developer's Guide
|
4) Define the state component that will contain the wrappers to the next and current frame states that reference the data storage that is created when this class is created.

Static Public Member Functions | |
| static void | addAdditionalTableColumns (Legion::SimulationDatabase *db) |
Static Public Member Functions inherited from makVrf::DtDoubleBufferedStateComponent< DtEnvironmentalStateComponent > | |
| static void | registerLegionComponent (Legion::SimulationDatabase *) |
| static void | addAdditionalTableColumns (Legion::SimulationDatabase *) |
Protected Attributes | |
| DtEnvironmentalStateComponentCurrentFrame | myCurrentFrameState |
| DtEnvironmentalStateComponentNextFrame | myNextFrameState |
| LOM::WriteEnvironmentProcessRepository | myWriteEnvironmentProcessRepository |
| bool | myFoundComponent |
| bool | myCheckedForVrfStateComponent |
| boost::signals2::scoped_connection | myVrfStateComponentChangedConnection |
Protected Attributes inherited from makVrf::DtStateComponent | |
| UInt64 | myId |
| DtStateData * | myStateData |
| const Coordinate_System * | myCoordinateSystem |
| bool | myIsRemoteComponent |
| bool | myCleared |
| bool | myPublishingOnLegionNetwork |
| bool | myAdvancedFrame |
| makVrf::DtEnvironmentalStateComponentImplementation::DtEnvironmentalStateComponentImplementation | ( | DtStateData * | sd | ) |
Constructs an implementation backed by the given state data.
| sd | Pointer to the owning state data object. |
|
overridevirtual |
Destructor.
|
inline |
Returns true, indicating this component uses double-buffered data storage.
|
inlineoverridevirtual |
Returns a const pointer to the current-frame state interface.
Reimplemented from makVrf::DtStateComponent.
|
inlineoverridevirtual |
Returns a writable pointer to the next-frame state interface.
Reimplemented from makVrf::DtStateComponent.
|
inlineoverridevirtual |
Returns a const pointer to the next-frame state interface.
Reimplemented from makVrf::DtStateComponent.
|
overridevirtual |
If we haven't found the component, force the advance to find it.
Reimplemented from makVrf::DtDoubleBufferedStateComponent< DtEnvironmentalStateComponent >.
|
static |
Registers any additional database columns required by VRF environmental objects.
| db | The simulation database to add columns to. |
|
inlineoverridevirtual |
Advances the double-buffer and propagates next-frame data to the current frame.
Implements makVrf::DtDoubleBufferedStateComponent< DtEnvironmentalStateComponent >.
|
inlineoverridevirtual |
Updates the state data pointer on both frame states.
| sd | The new state data pointer. |
Implements makVrf::DtDoubleBufferedStateComponent< DtEnvironmentalStateComponent >.
|
overridevirtual |
Change the object from remote (not-writable)
Reimplemented from makVrf::DtStateComponent.
|
overridevirtual |
Change to local.
Reimplemented from makVrf::DtStateComponent.
|
inlineoverridevirtual |
Returns the write state instance for the underlying environment process repository.
Reimplemented from makVrf::DtStateComponent.
|
overridevirtual |
Override to create any additional state sub-components needed by this component.
Reimplemented from makVrf::DtStateComponent.
|
overridevirtual |
Overridden to get read frame from legion.
Reimplemented from makVrf::DtStateComponent.
|
inlineoverridevirtual |
Called before this component is deleted; notifies both frame states.
Reimplemented from makVrf::DtStateComponent.
References makVrf::DtStateComponent::aboutToBeDeleted().
|
overridevirtual |
Initializes this component from the given VRF object parameters. Only called when parameters are available.
| params | Pointer to the object parameters to initialize from. |
Reimplemented from makVrf::DtStateComponent.
|
protected |
The current-frame state for read access.
|
protected |
The next-frame state for write access.
|
protected |
Write-access repository for the underlying Legion environment process.
|
protected |
True once the read component has been successfully located.
|
protected |
True once a check for the VRF state component has been performed.
|
protected |
Connection to the VRF state component's extended-data-modified signal.