VR-Forces 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) 2022 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 void setTidalStreamWakeModel( DtModel* tidalStreamWakeModel );
48 
51  virtual void setCurrentSpeed( double speed );
52 
55  virtual void setCurrentDirection( double dir );
56 
58  inline DtUniqueID uniqueId() const
59  {
60  return myUniqueId;
61  }
62 
63  protected:
64 
67 
70 
73 
76 
79  };
80 }
DtDe & myDe
The display engine.
Definition: DtTidalStreamWakeUpdater.h:66
DtUniqueID myUniqueId
This distributed object&#39;s unique identifier.
Definition: DtTidalStreamWakeUpdater.h:69
DtModel * myTidalStreamWakeModel
A pointer to the current tidalStreamWake model being updated.
Definition: DtTidalStreamWakeUpdater.h:72
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:75
double myCurrentDirection
In rad from North (clockwise). Only used for override.
Definition: DtTidalStreamWakeUpdater.h:78
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
unsigned long long DtUniqueID
Definition: DtUniqueID.h:19
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:56
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:72
DtUniqueID uniqueId() const
Returns the distributed object id of this updater.
Definition: DtTidalStreamWakeUpdater.h:58
Contains DLL export macros.

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)