VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtTimeAndDateStateInterceptor.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2023 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
11 #include <vrvVrl/vrvVrl.h>
12 
13 #ifndef DT_PROTOCOL_NAMESPACE
14 #error Namespace Protocol Macro DT_PROTOCOL_NAMESPACE not defined.
15 #endif
16 
17 #include <vrvCore/DtUniqueID.h>
18 
20 
21 #include <vl/timeAndDateStateRepository.h>
22 
23 class DtVrlUuid;
24 class DtString;
25 
26 namespace makVrv
27  {
28  class DtEnvironmentStatusManager;
29 
30  namespace DT_PROTOCOL_NAMESPACE
31  {
32  class DtVrlinkConnection;
33 
41  {
42  public:
45 
48 
51 
54 
57 
59  virtual void setDateAndTimeOfDay(const DtTime& val) override;
60 
62  virtual void setTimeOfDayAdvancementSpeed(const DtFloat64& val) override;
63 
65  virtual void setSunPositionLockedToObserver(bool val) override;
66 
67  public:
70 
71  private:
73  //\throws DtCorrutedState this class is not copyable.
74  virtual DtStateRepository* clone(bool copy = false) const override;
75 
76  protected:
79  };
80  }
81 }
static DtTimeAndDateStateRepository * create()
Creator method.
virtual void setTimeOfDayAdvancementSpeed(const DtFloat64 &val) override
Set the TimeOfDayAdvancementSpeed.
DtEnvironmentStatusManager * myEnvironmentStatusManager
Definition: DtTimeAndDateStateInterceptor.h:77
virtual void setDateAndTimeOfDay(const DtTime &val) override
Set the DateAndTimeOfDay.
DtTimeAndDateStateInterceptor extends the VR-Link DtTimeAndDateStateRepository class by overriding al...
Definition: DtTimeAndDateStateInterceptor.h:40
#define DT_PROTOCOL_NAMESPACE
Contains DLL export macros.
Definition: vrfDis.h:17
Contains makVrv::DtVirtualBaseClass class.
virtual void setSunPositionLockedToObserver(bool val) override
Set the SunPositionLockedToObserver.
double DtFloat64
Definition: vrvControlStructTypes.h:36
bool myUseGlobalTimeZoneSet
Definition: DtTimeAndDateStateInterceptor.h:78
virtual void setEnvironmentStatusManager(DtEnvironmentStatusManager *mgr)
Provide a pointer to the DtEnvironmentStatusManager to use.
DtTimeAndDateStateInterceptor & operator=(const DtTimeAndDateStateInterceptor &)=delete
not allowed - equals operator
virtual DtStateRepository * clone(bool copy=false) const override
Return a copy/empty object of the same type as this.
Contains makVrv::DtUniqueID type.
Contains DLL export macros.
DtEnvironmentStatusManager manages all of the environment-related data (including date and time) that...
Definition: DtEnvironmentStatusManager.h:50

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)