![]() |
VR-Forces 4.5 Class Documentation
|
Abstract tidalStreamWake object updater interface. More...

Public Member Functions | |
| DtTidalStreamWakeUpdater (DtDe &de, DtUniqueID id) | |
| CTOR. | |
| virtual | ~DtTidalStreamWakeUpdater () |
| Virtual DTOR. | |
| virtual void | update (DtTime tNow)=0 |
| The update function called by DtTickableManager during update-ticks. | |
| virtual DtTime | lastUpdateTime () const |
| Get the time-stamp of the last update. | |
| virtual void | setTidalStreamWakeModel (DtModel *tidalStreamWakeModel) |
| Set the tidalStreamWake model to be updated. | |
| virtual void | setCurrentSpeed (double speed) |
| In m/s. | |
| virtual void | setCurrentDirection (double dir) |
| In rad from North (clockwise). | |
| DtUniqueID | uniqueId () const |
| Returns the distributed object id of this updater. | |
Public Member Functions inherited from makVrv::DtTickable | |
| virtual bool | needsUpdate (DtTime tNow) |
| The check function called by DtTickableManager to verify if an update is required. | |
| virtual | ~DtTickable () |
| Virtual DTOR. | |
| virtual void | setUpdatePeriod (unsigned int period) |
| Specify how often (in # of frames) this tickable should call update. | |
| virtual unsigned int | updatePeriod () const |
Protected Attributes | |
| DtDe & | myDe |
| The display engine. | |
| DtUniqueID | myUniqueId |
| This distributed object's unique identifier. | |
| DtModel * | myTidalStreamWakeModel |
| A pointer to the current tidalStreamWake model being updated. | |
| DtTime | myLastUpdateTime |
| The last time stamp when the update() was called. | |
| double | myCurrentSpeed |
| In m/s. Only used to override global current speed. | |
| double | myCurrentDirection |
| In rad from North (clockwise). Only used for override. | |
Protected Attributes inherited from makVrv::DtTickable | |
| DtTickableManagerInterface * | myManager |
| Pointer to manager for removal during destruction. | |
| DtSignalConnectionManager | myConnections |
| unsigned int | myFrameCounter |
| unsigned int | myFrameToUpdate |
| unsigned int | myUpdatePeriod |
Additional Inherited Members | |
Protected Member Functions inherited from makVrv::DtTickable | |
| DtTickable (DtTickableManagerInterface *manager) | |
| CTOR. | |
| DtTickable () | |
| Unimplemented default CTOR. | |
| virtual void | slot_managerAboutToBeDeleted () |
Abstract tidalStreamWake object updater interface.
DtTidalStreamWakeUpdaters are distributed objects, managed by DtTickableManager. They update the tidalStreamWake of DtTidalStreamWakeModels
| 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.