VR-Link API Documentation for HLA 4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
reflectedTimeAndDateHLA.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 1992-2025 MAK Technologies, Inc
3 ** All rights reserved.
4 *******************************************************************************/
5 
9 
10 #pragma once
11 
12 #if DtHLA
13 
14 #include <vl/reflectedObjectHLA.h>
16 
17 
19 
24  DtReflectedTimeAndDate* obj, void* userData);
25 
31 {
32 public:
35  typedef DtTimeAndDateStateRepository* (*DtStateRepCreator)();
36 
37 public:
40 
42  virtual ~DtReflectedTimeAndDate();
43 
45  virtual DtTimeAndDateStateRepository* timeAndDateStateRep() const;
46 
48  virtual DtTimeAndDateStateRepository* tsr() const;
49 
52  virtual DtReflectedTimeAndDate* next() const;
53 
56  virtual DtReflectedTimeAndDate* prev() const;
57 
60  virtual DtReflectedTimeAndDate* wrapNext() const;
61 
64  virtual DtReflectedTimeAndDate* wrapPrev() const;
65 
68  virtual void addPostUpdateCallback(
69  DtTimeAndDateCallbackFunction cb, void* userData);
70 
73  virtual void removePostUpdateCallback(
74  DtTimeAndDateCallbackFunction cb, void* userData);
75 
76 public:
78  static DtStateRepCreator setStateRepCreator(DtStateRepCreator creator);
79 
80 protected:
83 
86 
87 protected:
89  static DtStateRepCreator theStateRepCreator;
90 };
91 
93 {
95 }
96 
98 {
100 }
101 
102 
103 
104 #endif
virtual DtTimeAndDateStateRepository * tsr() const
Shorter version of lifeformRep.
Definition: reflectedTimeAndDateHLA.h:97
Instances of DtExerciseConn are used to provide an application&#39;s interface or connection to the netwo...
Definition: exerciseConnHLA.h:61
virtual DtTimeAndDateStateRepository * timeAndDateStateRep() const
Returns the MAK_TimeAndDate&#39;s state repository.
Definition: reflectedTimeAndDateHLA.h:92
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
Instances of DtReflectedTimeAndDate are used to represent a simulated HLAobjectRoot.MAK_TimeAndDate object reflected across a network.
Definition: reflectedTimeAndDateHLA.h:30
DtReflectedObject & operator=(const DtReflectedObject &orig)
assignment operator – Not Implemented
void(* DtTimeAndDateCallbackFunction)(DtReflectedTimeAndDate *obj, void *userData)
Signature of the callback function that takes a DtReflectedTimeAndDate and user data.
Definition: reflectedTimeAndDateHLA.h:23
Instances of DtHlaObject are used to represent HLA objects which are communicated across the network...
Definition: hlaObject.h:58
class DtReflectedObject:
Definition: reflectedObjectHLA.h:36
Contains the DtTimeAndDateStateRepository class declaration.
static DtStateRepCreator theStateRepCreator
The function called to create state repositories.
Definition: reflectedTimeAndDateHLA.h:89
DtStateRepository * myStateRep
Definition: reflectedObjectHLA.h:180
Instances of DtTimeAndDateStateRepository are used to store state data for MAK_TimeAndDate objects...
Definition: timeAndDateStateRepository.h:26
This file provides a declaration of the class DtReflectedObject.

Document ID: Generated on Thu Oct 16 00:12:25 EDT 2025 from SVN revision 280738
Copyright © 1992-2025 MAK Technologies. All Rights Reserved (www.mak.com)