VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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 <vlutil/vlMachineTypes.h>
16 
17 
18 
20 
25 class DT_DLL_VL DtServicePublisher : public DtObjectPublisher
26 {
27 public:
29  typedef DtServiceStateRepository* (*DtStateRepCreator)();
30 
31 public:
33  DtServicePublisher(
34  DtServiceStateRepository* stateRepToUse,
35  DtExerciseConn* conn,
36  const char* name = 0,
37  const DtDDMRegionSet* regionSetToUse = 0);
38 
40  DtServicePublisher(
41  RTI::ObjectClassHandle h,
42  DtExerciseConn* conn,
43  const char* name = 0,
44  const DtDDMRegionSet* regionSetToUse = 0);
45 
47  DtServicePublisher(
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:
67  DtServicePublisher(const DtServicePublisher& orig);
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 
90 inline DtServiceStateRepository* DtServicePublisher::serviceStateRep()
91 {
92  return (DtServiceStateRepository*) myStateRep;
93 }
94 
95 inline DtServiceStateRepository* DtServicePublisher::ssr()
96 {
97  return (DtServiceStateRepository*) myStateRep;
98 }
99 
100 
101 
102 #endif
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 DtObjectPublisher are used for local or source simulations of objects, (i.e.
Definition: objectPublisherDIS.h:36
Instances of DtServiceStateRepository are used to store state data for METOC_Root.Service objects.
Definition: serviceStateRepository.h:30
DtObjectPublisher & operator=(const DtObjectPublisher &orig)
assignment operator – not implemented
This file contains typedefs for machine dependant types.

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)