VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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 <vlutil/vlMachineTypes.h>
16 #include "reflectedServiceHLA.h"
17 
18 
19 
23 class DT_DLL_VL DtReflectedServiceList : public DtReflectedObjectList
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 
41  DtReflectedServiceList(const DtReflectedServiceList& orig);
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 
96 
97 #endif
Instances of DtReflectedObjectList are lists of instances of classes derived from DtReflectedObject...
Definition: reflectedObjectListDIS.h:38
Contains the HLA DtReflectedObjectList class declaration.
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
DtReflectedObjectList & operator=(const DtReflectedObjectList &orig)
assignment operator – not implemented
DtList is deprecated, please use std::list&lt;T&gt;.
Definition: vlList.h:71
Instances of DtReflectedObject are used to represent a simulation entity reflected across a network (...
Definition: reflectedObjectDIS.h:34
Instances of DtEntityIdentifier are used as a unique ID for entities in DIS.
Definition: entityIdentifier.h:31
virtual void objectAdded(DtReflectedObject *object)
Called after a remote object has been added to the list.
This file contains typedefs for machine dependant types.

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)