VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
reflectedServiceHLA.h
Go to the documentation of this file.
1 /*********************************************************************
2 **This file was generated by MAK Technologies' VR-Link Code Generator.
3 **hrefObjHeader.tlt
4 *********************************************************************/
5 
9 
10 #pragma once
11 
12 #if DtHLA
13 
14 #include <vl/reflectedObjectHLA.h>
15 #include <vlutil/vlMachineTypes.h>
16 #include "serviceStateRepository.h"
17 
18 
19 
20 class DtReflectedService;
21 
25 typedef void (*DtServiceCallbackFunction)(
26  DtReflectedService* obj, void* userData);
27 
33 {
34 public:
37  typedef DtServiceStateRepository* (*DtStateRepCreator)();
38 
39 public:
42 
44  virtual ~DtReflectedService();
45 
47  virtual DtServiceStateRepository* serviceStateRep() const;
48 
50  virtual DtServiceStateRepository* ssr() const;
51 
54  virtual DtReflectedService* next() const;
55 
58  virtual DtReflectedService* prev() const;
59 
62  virtual DtReflectedService* wrapNext() const;
63 
66  virtual DtReflectedService* wrapPrev() const;
67 
70  virtual void addPostUpdateCallback(
71  DtServiceCallbackFunction cb, void* userData);
72 
75  virtual void removePostUpdateCallback(
76  DtServiceCallbackFunction cb, void* userData);
77 
78 public:
80  static DtStateRepCreator setStateRepCreator(DtStateRepCreator creator);
81 
82 protected:
85 
88 
89 protected:
91  static DtStateRepCreator theStateRepCreator;
92 };
93 
95 {
97 }
98 
100 {
102 }
103 
104 
105 
106 #endif
Instances of DtExerciseConn are used to provide an application&#39;s interface or connection to the netwo...
Definition: exerciseConnHLA.h:61
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
DtReflectedObject & operator=(const DtReflectedObject &orig)
assignment operator – Not Implemented
Contains the DtServiceStateRepository class declaration.
Instances of DtHlaObject are used to represent HLA objects which are communicated across the network...
Definition: hlaObject.h:58
Instances of DtServiceStateRepository are used to store state data for METOC_Root.Service objects.
Definition: serviceStateRepository.h:30
class DtReflectedObject:
Definition: reflectedObjectHLA.h:36
virtual DtServiceStateRepository * serviceStateRep() const
Returns the Service&#39;s state repository.
Definition: reflectedServiceHLA.h:94
DtStateRepository * myStateRep
Definition: reflectedObjectHLA.h:180
static DtStateRepCreator theStateRepCreator
The function called to create state repositories.
Definition: reflectedServiceHLA.h:91
void(* DtServiceCallbackFunction)(DtReflectedService *obj, void *userData)
Signature of the callback function that takes a DtReflectedService and user data. ...
Definition: reflectedServiceHLA.h:25
Instances of DtReflectedService are used to represent a simulated HLAobjectRoot.METOC_Root.Service object reflected across a network.
Definition: reflectedServiceHLA.h:32
This file contains typedefs for machine dependant types.
This file provides a declaration of the class DtReflectedObject.
virtual DtServiceStateRepository * ssr() const
Shorter version of lifeformRep.
Definition: reflectedServiceHLA.h:99

Document ID: Generated on Thu Sep 19 02:12:35 EDT 2024 from SVN revision 269601
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)