VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
servicePublisherHLA.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 DtServiceStateRepository;
20 
26 {
27 public:
29  typedef DtServiceStateRepository* (*DtStateRepCreator)();
30 
31 public:
34  DtServiceStateRepository* 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  DtServicePublisher( DtHlaObjectWithStateRep* obj, DtExerciseConn* conn);
58 
60  static const char * objectClassName();
61 
63  virtual ~DtServicePublisher();
64 
65 private:
68 
70  DtServicePublisher& operator=(
71  const DtServicePublisher& orig);
72 
73 public:
74 
77  virtual DtServiceStateRepository* serviceStateRep();
78 
80  virtual DtServiceStateRepository* ssr();
81 
82 public:
84  static DtStateRepCreator setStateRepCreator(DtStateRepCreator creator);
85 
86 protected:
87  static DtStateRepCreator theStateRepCreator;
88 };
89 
91 {
92  return (DtServiceStateRepository*) myStateRep;
93 }
94 
96 {
97  return (DtServiceStateRepository*) 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 DtServiceStateRepository * ssr()
Synonym for serviceStateRep().
Definition: servicePublisherHLA.h:95
Instances of DtServicePublisher publish METOC_Root.Service objects to the network.
Definition: servicePublisherHLA.h:25
static DtStateRepCreator theStateRepCreator
Definition: servicePublisherHLA.h:87
virtual DtServiceStateRepository * serviceStateRep()
Returns a pointer to the DtServiceStateRepository - through which you can set or inspect current stat...
Definition: servicePublisherHLA.h:90
Instances of DtServiceStateRepository are used to store state data for METOC_Root.Service objects.
Definition: serviceStateRepository.h:30

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)