VR-Forces 5.0.1 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
reflectedServiceListHLA.h
Go to the documentation of this file.
1 /*********************************************************************
2 **This file was generated by MAK Technologies' VR-Link Code Generator.
3 **hrefListHeader.tlt
4 *********************************************************************/
5 
9 
10 #pragma once
11 
12 #if DtHLA
13 
14 #include "vrfMetocDefines.h"
15 #include <vl/reflectedObjectListHLA.h>
16 #include "reflectedServiceHLA.h"
17 
18 namespace makVrfMetoc {
19 
24 {
25 public:
27  DtReflectedServiceList(DtExerciseConn* exConn,
28  const DtDDMRegionSet* regionSetToUse = 0);
29 
32  DtReflectedServiceList(DtExerciseConn* exConn,
33  const DtList *handleList, const DtDDMRegionSet* regionSetToUse = 0);
34 
36  virtual ~DtReflectedServiceList();
37 
38 private:
39 
42 
44  DtReflectedServiceList& operator=(const DtReflectedServiceList&orig);
45 
46 public:
47 
49  virtual DtReflectedService* lookup(
50 #if DtHLA_1516
51  RTI::ObjectInstanceHandle id);
52 #else
53  RTI::ObjectHandle id);
54 #endif
55 
57  virtual DtReflectedService* lookup(
58  const DtGlobalObjectDesignator& objName);
59 
61  virtual DtReflectedService* first() const;
62 
64  virtual DtReflectedService* last() const;
65 
67  virtual void addServiceAdditionCallback(
68  DtServiceCallbackFunction cb, void* userData);
69 
71  virtual void removeServiceAdditionCallback(
72  DtServiceCallbackFunction cb, void* userData);
73 
75  virtual void addServiceRemovalCallback(
76  DtServiceCallbackFunction cb, void* userData);
77 
79  virtual void removeServiceRemovalCallback(
80  DtServiceCallbackFunction cb, void* userData);
81 
82 protected:
83 
85  virtual DtReflectedObject* newReflectedObject(DtHlaObject* obj) const;
86 
91  virtual void objectAdded(DtReflectedObject* obj);
92 
93 };
94 
95 } //end makVrfMetoc
96 
97 #endif
#define DT_DLL_METOC
This file is used to determine how to build.
Definition: vrfMetocDefines.h:21
void(* DtServiceCallbackFunction)(DtReflectedService *obj, void *userData)
Signature of the callback function that takes a DtReflectedService and user data. ...
Definition: reflectedServiceHLA.h:25
Instances of DtReflectedServiceList manage a list of DtReflectedService objects.
Definition: reflectedServiceListHLA.h:23
Instances of DtReflectedService are used to represent a simulated HLAobjectRoot.METOC_Root.Service object reflected across a network.
Definition: reflectedServiceHLA.h:32

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)