VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtRotorUpdater.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Copyright (c) 2021 MAK Technologies, Inc.
3  * All rights reserved.
4  *****************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvOsg/vrvOsg.h>
13 
14 #include <vrvCore/DtTickable.h>
15 
17 
18 #include <unordered_set>
19 
20 namespace makVrv
21 {
22  class DtOsgArticulatedModel;
23 
27  {
28  public:
30  DtRotorUpdater(DtDe& de);
31 
33  virtual ~DtRotorUpdater();
34 
35  private:
37  DtRotorUpdater() = delete;
39  DtRotorUpdater(const DtRotorUpdater&) = delete;
41  DtRotorUpdater& operator=(const DtRotorUpdater&) = delete;
42  public:
45  virtual void update(DtTime tNow);
46 
48  virtual void setRotorData(std::unordered_map<DtOsgArticulatedModel*, DtEntityRotorData*>* entityRotorData);
49 
50  protected:
51  std::unordered_map<DtOsgArticulatedModel*, DtEntityRotorData*>* myEntityToRotorData;
52 
54  };
55 
56 }
std::unordered_map< DtOsgArticulatedModel *, DtEntityRotorData * > * myEntityToRotorData
Definition: DtRotorUpdater.h:51
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
An abstract base class for objects that require updates. This object automatically adds itself to a D...
Definition: DtTickable.h:26
Contains makVrv::DtEntityRotorManager class.
class to update the map of entities to their rotor datas via the tickable interface ...
Definition: DtRotorUpdater.h:26
Contains the declaration for makVrv::DtTickable.
Contains DLL export macros.
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
DtDe & myDe
Definition: DtRotorUpdater.h:53

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)