VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
timeAndDatePublisherHLA.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 #if DtHLA
13 
14 #include <vl/objectPublisherHLA.h>
15 
17 
23 {
24 public:
26  typedef DtTimeAndDateStateRepository* (*DtStateRepCreator)();
27 
28 public:
31  DtTimeAndDateStateRepository* stateRepToUse,
32  DtExerciseConn* conn,
33  const char* name = 0,
34  const DtDDMRegionSet* regionSetToUse = 0);
35 
38  RTI::ObjectClassHandle h,
39  DtExerciseConn* conn,
40  const char* name = 0,
41  const DtDDMRegionSet* regionSetToUse = 0);
42 
45  DtExerciseConn* conn,
46  const char* name = 0,
47  const DtDDMRegionSet* regionSetToUse = 0);
48 
54  DtTimeAndDatePublisher( DtHlaObjectWithStateRep* obj, DtExerciseConn* conn);
55 
57  static const char * objectClassName();
58 
60  virtual ~DtTimeAndDatePublisher();
61 
62 private:
65 
68  const DtTimeAndDatePublisher& orig);
69 
70 public:
71 
74  virtual DtTimeAndDateStateRepository* timeAndDateStateRep();
75 
77  virtual DtTimeAndDateStateRepository* tsr();
78 
79 public:
81  static DtStateRepCreator setStateRepCreator(DtStateRepCreator creator);
82 
83 protected:
84  static DtStateRepCreator theStateRepCreator;
85 };
86 
88 {
90 }
91 
93 {
95 }
96 
97 
98 
99 #endif
DtStateRepository * myStateRep
Definition: objectPublisherDIS.h:193
Instances of DtExerciseConn are used to provide an application&#39;s interface or connection to the netwo...
Definition: exerciseConnDIS.h:62
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
Instances of DtTimeAndDatePublisher publish TimeAndDate objects to the network through the TimeAndDat...
Definition: timeAndDatePublisherDIS.h:29
virtual DtTimeAndDateStateRepository * timeAndDateStateRep()
Returns a pointer to the DtTimeAndDateStateRepository - through which you can set or inspect current ...
Definition: timeAndDatePublisherDIS.h:97
Instances of DtObjectPublisher are used for local or source simulations of objects, (i.e.
Definition: objectPublisherDIS.h:36
DtObjectPublisher & operator=(const DtObjectPublisher &orig)
assignment operator – not implemented
virtual DtTimeAndDateStateRepository * tsr()
Synonym for timeAndDateStateRep().
Definition: timeAndDatePublisherDIS.h:102
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)