VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
metocRootPublisherHLA.h
Go to the documentation of this file.
1 /*********************************************************************
2 **This file was generated by MAK Technologies' VR-Link Code Generator.
3 **hpubHeader.tlt
4 *********************************************************************/
5 
9 
10 #pragma once
11 
12 #if DtHLA
13 
14 #include <vl/objectPublisherHLA.h>
15 #include "vrfMetocDefines.h"
16 
17 namespace makVrfMetoc {
18 
19 class DtMetocRootStateRepository;
20 
26 {
27 public:
29  typedef DtMetocRootStateRepository* (*DtStateRepCreator)();
30 
31 public:
34  DtMetocRootStateRepository* stateRepToUse,
35  DtExerciseConn* conn,
36  const char* name = 0,
37  const DtDDMRegionSet* regionSetToUse = 0);
38 
41  RTI::ObjectClassHandle h,
42  DtExerciseConn* conn,
43  const char* name = 0,
44  const DtDDMRegionSet* regionSetToUse = 0);
45 
48  DtExerciseConn* conn,
49  const char* name = 0,
50  const DtDDMRegionSet* regionSetToUse = 0);
51 
57  DtMetocRootPublisher( DtHlaObjectWithStateRep* obj, DtExerciseConn* conn);
58 
60  static const char * objectClassName();
61 
63  virtual ~DtMetocRootPublisher();
64 
65 private:
68 
70  DtMetocRootPublisher& operator=(
71  const DtMetocRootPublisher& orig);
72 
73 public:
74 
77  virtual DtMetocRootStateRepository* METOC_RootStateRep();
78 
80  virtual DtMetocRootStateRepository* Msr();
81 
82 public:
84  static DtStateRepCreator setStateRepCreator(DtStateRepCreator creator);
85 
86 protected:
87  static DtStateRepCreator theStateRepCreator;
88 };
89 
91 {
92  return (DtMetocRootStateRepository*) myStateRep;
93 }
94 
96 {
97  return (DtMetocRootStateRepository*) myStateRep;
98 }
99 
100 } //end makVrfMetoc
101 
102 #endif
#define DT_DLL_METOC
This file is used to determine how to build.
Definition: vrfMetocDefines.h:21
virtual DtMetocRootStateRepository * METOC_RootStateRep()
Returns a pointer to the DtMetocRootStateRepository - through which you can set or inspect current st...
Definition: metocRootPublisherHLA.h:90
Instances of DtMetocRootStateRepository are used to store state data for METOC_Root objects...
Definition: metocRootStateRepository.h:31
Instances of DtMetocRootPublisher publish METOC_Root objects to the network.
Definition: metocRootPublisherHLA.h:25
virtual DtMetocRootStateRepository * Msr()
Synonym for METOC_RootStateRep().
Definition: metocRootPublisherHLA.h:95
static DtStateRepCreator theStateRepCreator
Definition: metocRootPublisherHLA.h:87

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)