VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtTidalStreamWakeUpdater.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2020 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvCore/vrvCore.h>
13 #include <vrvCore/DtTickable.h>
14 #include <vrvCore/DtUniqueID.h>
15 
16 namespace makVrv
17 {
18  class DtDe;
19  class DtModel;
20 
25  // during the manager 'tick' update.
28  {
29  public:
30 
35 
37  virtual ~DtTidalStreamWakeUpdater();
38 
43  virtual void update( DtTime tNow ) = 0;
44 
47  virtual DtTime lastUpdateTime() const;
48 
51  virtual void setTidalStreamWakeModel( DtModel* tidalStreamWakeModel );
52 
55  virtual void setCurrentSpeed( double speed );
56 
59  virtual void setCurrentDirection( double dir );
60 
62  inline DtUniqueID uniqueId() const
63  {
64  return myUniqueId;
65  }
66 
67  protected:
68 
71 
74 
77 
80 
83 
86  };
87 }
DtDe & myDe
The display engine.
Definition: DtTidalStreamWakeUpdater.h:70
DtUniqueID myUniqueId
This distributed object&#39;s unique identifier.
Definition: DtTidalStreamWakeUpdater.h:73
DtModel * myTidalStreamWakeModel
A pointer to the current tidalStreamWake model being updated.
Definition: DtTidalStreamWakeUpdater.h:76
An abstract base class for objects that require updates. This object automatically adds itself to a D...
Definition: DtTickable.h:26
double myCurrentSpeed
In m/s. Only used to override global current speed.
Definition: DtTidalStreamWakeUpdater.h:82
double myCurrentDirection
In rad from North (clockwise). Only used for override.
Definition: DtTidalStreamWakeUpdater.h:85
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
Contains the declaration for makVrv::DtTickable.
Abstract tidalStreamWake object updater interface.
Definition: DtTidalStreamWakeUpdater.h:27
A model which owns a single model instance. A DtModel is a managing container for a single DtModelIns...
Definition: DtModel.h:55
Contains makVrv::DtUniqueID type.
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:70
DtUniqueID uniqueId() const
Returns the distributed object id of this updater.
Definition: DtTidalStreamWakeUpdater.h:62
DtTime myLastUpdateTime
The last time stamp when the update() was called.
Definition: DtTidalStreamWakeUpdater.h:79
Contains DLL export macros.

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)