![]() |
VR-Forces 5.0.3 Developer's Guide
|
Abstract tidalStreamWake object updater interface.
DtTidalStreamWakeUpdaters are distributed objects, managed by DtTickableManager. They update the tidalStreamWake of DtTidalStreamWakeModels

Public Member Functions | |
| DtTidalStreamWakeUpdater (DtDe &de, DtUniqueID id) | |
| virtual | ~DtTidalStreamWakeUpdater () |
| virtual void | update (DtTime tNow)=0 |
| virtual DtTime | lastUpdateTime () const |
| virtual void | setTidalStreamWakeModel (DtModel *tidalStreamWakeModel) |
| virtual void | setCurrentSpeed (double speed) |
| virtual void | setCurrentDirection (double dir) |
| DtUniqueID | uniqueId () const |
Public Member Functions inherited from makVrv::DtTickable | |
| virtual bool | needsUpdate (DtTime tNow) |
| virtual bool | updateIfNeeded (DtTime tNow) |
| virtual | ~DtTickable () |
| virtual void | setIsThreadSafe (bool safe) |
| virtual bool | isThreadSafe () const |
| virtual void | setTickableListState (TickableListState safeList) |
| virtual TickableListState | tickableListState () const |
| virtual void | setUpdatePeriod (unsigned int period) |
| virtual unsigned int | updatePeriod () const |
| virtual bool | lodSystemEnabled () const |
Protected Attributes | |
| DtDe & | myDe |
| DtUniqueID | myUniqueId |
| DtModel * | myTidalStreamWakeModel |
| DtTime | myLastUpdateTime |
| double | myCurrentSpeed |
| double | myCurrentDirection |
Protected Attributes inherited from makVrv::DtTickable | |
| DtTickableManagerInterface * | myManager |
| DtSignalConnectionManager | myConnections |
| unsigned int | myFrameCounter |
| unsigned int | myFrameToUpdate |
| unsigned int | myUpdatePeriod |
| DtTime | myLastUpdateTime |
| bool | myIsThreadSafe |
| TickableListState | myTickableListState |
Additional Inherited Members | |
Public Types inherited from makVrv::DtTickable | |
| enum | TickableListState { TickableNotOnList, TickableOnMainList, TickableOnThreadSafeList } |
Protected Member Functions inherited from makVrv::DtTickable | |
| DtTickable (DtTickableManagerInterface *manager) | |
| DtTickable () | |
| virtual void | slot_managerAboutToBeDeleted () |
| makVrv::DtTidalStreamWakeUpdater::DtTidalStreamWakeUpdater | ( | DtDe & | de, |
| DtUniqueID | id | ||
| ) |
CTOR.
| [in] | de | is the display engine. |
| [in] | id | is a unique identifier for this distributed object. |
|
virtual |
Virtual DTOR.
|
pure virtual |
The update function called by DtTickableManager during update-ticks.
| [in] | tNow | is the current time-stamp. |
Implements makVrv::DtTickable.
Implemented in makVrv::DtTritonTidalStreamWakeUpdater.
|
virtual |
Get the time-stamp of the last update.
|
virtual |
Set the tidalStreamWake model to be updated.
| [in] | tidalStreamWakeModel | is a pointer to the model to be updated |
|
virtual |
In m/s. Only used to override global current speed. Set to -1. to start using global current speed again.
|
virtual |
In rad from North (clockwise). Only used for override. Set to -1 to start using global direction again.
|
inline |
Returns the distributed object id of this updater.
|
protected |
The display engine.
|
protected |
This distributed object's unique identifier.
|
protected |
A pointer to the current tidalStreamWake model being updated.
|
protected |
The last time stamp when the update() was called.
|
protected |
In m/s. Only used to override global current speed.
|
protected |
In rad from North (clockwise). Only used for override.