VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtRotorWashUpdater.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2019 VT MAK
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvCore/DtTickable.h>
13 #include <vrvCore/DtUniqueID.h>
14 
15 #include <boost/signals.hpp>
16 
17 namespace makVrv
18 {
19  class DtDe;
20  class DtModel;
21 
26  // during the manager 'tick' update.
29  {
30  public:
31 
36 
38  virtual ~DtRotorWashUpdater();
39 
44  virtual void update( DtTime tNow );
45 
48  virtual DtTime lastUpdateTime() const;
49 
52  virtual void setRotorWashModel( DtModel* rotorWashModel );
53 
55  virtual unsigned int landCheckInterval() const;
58  virtual void setLandCheckInterval( unsigned int frames );
60 
62  DtUniqueID uniqueId() const;
63 
64  protected:
65 
68 
71 
74 
77 
79  unsigned int myLandCheckInterval;
80  };
81 }
DtModel * myRotorWashModel
A pointer to the current rotorWash model being updated.
Definition: DtRotorWashUpdater.h:73
An abstract base class for objects that require updates.
Definition: DtTickable.h:26
Abstract rotorWash object updater interface.
Definition: DtRotorWashUpdater.h:28
DtUniqueID myUniqueId
This distributed object&#39;s unique identifier.
Definition: DtRotorWashUpdater.h:70
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
DtTime myLastUpdateTime
The last time stamp when the update() was called.
Definition: DtRotorWashUpdater.h:76
unsigned long long DtUniqueID
Definition: DtUniqueID.h:22
Contains the declaration for makVrv::DtTickable.
unsigned int myLandCheckInterval
How often to check if over water (default every 60 frames)
Definition: DtRotorWashUpdater.h:79
A model which owns a single model instance.
Definition: DtModel.h:56
Contains makVrv::DtUniqueID type.
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
DtDe & myDe
The display engine.
Definition: DtRotorWashUpdater.h:67

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)