VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtOverWaterUpdater.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2024 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvCore/vrvCore.h>
13 
14 #include <vrvCore/DtDe.h>
15 #include <vrvCore/DtTickable.h>
16 #include <vrvCore/DtUniqueID.h>
17 
18 #include <vrvUtil/signalslib.h>
20 
21 #include <matrix/vlVector.h>
22 #include <vlutil/vlTime.h>
23 
24 namespace makVrv
25 {
26 
29 
32 
34  template <>
35  inline const char* creatorTypeName<DtOverWaterUpdater>(void) { return "DtOverWaterUpdaterCreator"; }
36 
48  {
50 
51  public:
52 
54  virtual ~DtOverWaterUpdater();
55 
56  public:
58 
63  virtual bool needsUpdate( DtTime tNow );
64 
67  virtual void update( DtTime tNow );
68 
70 
72  virtual void setLocalLocation( const DtVector& location );
74  virtual const DtVector& localLocation() const;
76 
78  virtual bool isOverWater() const;
81  virtual void setIsOverWater( bool isOverWater );
83 
85  virtual bool locationIsChanged() const;
89  virtual void setLocationIsChanged( bool locationIsChanged );
91 
95  virtual void slot_dynamicOceanObjectsChanged();
96 
97  protected:
104 
107 
108  protected:
110  DtVector myLocalLocation;
114  };
115 }
DtSignalConnectionManager mySignalConnections
Definition: DtOverWaterUpdater.h:113
Contains makVrv::DtDe class.
An abstract base class for objects that require updates. This object automatically adds itself to a D...
Definition: DtTickable.h:26
DtVector myLocalLocation
Definition: DtOverWaterUpdater.h:110
Variadic templated creator class for defining a DtVirtualBaseClass creator that is automatically regi...
Definition: DtVirtualBaseClassCreator.h:23
bool myIsOverWater
Definition: DtOverWaterUpdater.h:112
bool myLocationIsChanged
Definition: DtOverWaterUpdater.h:111
friend DtOverWaterUpdaterCreator
Definition: DtOverWaterUpdater.h:49
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
const char * creatorTypeName< DtOverWaterUpdater >(void)
template specialization for the creator (pass the class being created to the creatorTypeName template...
Definition: DtOverWaterUpdater.h:35
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
unsigned long long DtUniqueID
Definition: DtUniqueID.h:19
DtDe & myDe
Definition: DtOverWaterUpdater.h:109
Contains the declaration for makVrv::DtTickable.
DtVirtualBaseClassCreator< DtOverWaterUpdater, DtUniqueID > DtOverWaterUpdaterCreator
creator
Definition: DtOverWaterUpdater.h:28
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:76
Class to periodically check if a location is over triton dynamic ocean or not (assumed to be land)...
Definition: DtOverWaterUpdater.h:47
Contains DLL export macros.

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)