VR-Link API Documentation for HLA Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
timeAndDateStateRepository.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 1992-2023 MAK Technologies, Inc
3 ** All rights reserved.
4 *******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vl/stateRepository.h>
13 #include <matrix/vlVector.h>
15 #include <vl/hlaLogicalTime.h>
17 #include <vlpi/entityType.h>
18 #include <vlpi/entityIdentifier.h>
19 #include <vlutil/vlString.h>
20 #include <vector>
21 
22 
27 {
28 public:
31 
34 
37 
40 
42  virtual DtStateRepository* clone(bool copy) const;
43 
45  static DtTimeAndDateStateRepository* create();
46 
48  virtual void printData() const;
49 
51  virtual void printDataToStream(std::ostream& stream) const;
52 
54  virtual void setDateAndTimeOfDay(const DtTime& val);
55 
57  virtual const DtTime dateAndTimeOfDay() const;
58 
60  virtual void setTimeOfDayAdvancementSpeed(const DtFloat64& val);
61 
63  virtual const DtFloat64& timeOfDayAdvancementSpeed() const;
64 
66  virtual void setSunPositionLockedToObserver(bool val);
67 
69  virtual bool sunPositionLockedToObserver() const;
70 
72  //virtual void setSimulationIdentifier(const DtEntityIdentifier& identifier);
73 
75  //virtual const DtEntityIdentifier& simulationIdentifier() const;
76 
77 protected:
81  //DtEntityIdentifier mySimulationIdentifier;
82 };
83 
Contains the DtEntityIdentifier class declaration.
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
Contains the DtString class declaration.
Contains the DtEntityType and DtRadioEntityType class declarations.
DtTime myDateAndTimeOfDay
Definition: timeAndDateStateRepository.h:78
This file contains typedefs used to represent objects in a protocol neutral way.
This file declares DtVector and DtVector32.
virtual DtStateRepository * clone(bool copy=false) const
Return a copy/empty object of the same type as this.
DtStateRepository is an abstract base class for maintaining state for an object.
Definition: stateRepository.h:50
bool mySunPositionLockedToObserver
Definition: timeAndDateStateRepository.h:80
virtual void printData() const
Print State Data to the DtInfo Stream.
DtFloat64 myTimeOfDayAdvancementSpeed
Definition: timeAndDateStateRepository.h:79
virtual void printDataToStream(std::ostream &stream) const
Prints the State Data to the stream specified.
DtStateRepository & operator=(const DtStateRepository &orig)
assignment operator
Instances of DtTimeAndDateStateRepository are used to store state data for MAK_TimeAndDate objects...
Definition: timeAndDateStateRepository.h:26

Document ID: Generated on Wed Mar 27 02:04:30 EDT 2024 from SVN revision 264570
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)