VR-Link API Documentation for HLA 1516
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
reflectedActiveSonarBeamList.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2013 VT MAK
3  * All rights reserved.
4  ****************************************************************************/
5 
9 
10 #pragma once
11 
12 #if DtHLA
13 
16 
21 {
22 public:
23 
27  const DtDDMRegionSet* regionSetToUse = 0,
28  const DtString& updateRateTag = DtString("") );
29 
33  const DtList* handleList,
34  const DtDDMRegionSet* regionSetToUse = 0,
35  const DtString& updateRateTag = DtString(""));
36 
39 
41  virtual DtReflectedActiveSonarBeam* lookup(
42 #if DtHLA_1516
43  RTI::ObjectInstanceHandle id );
44 #else
45  RTI::ObjectHandle id );
46 #endif
47 
49  virtual DtReflectedActiveSonarBeam* lookup(
50  const DtGlobalObjectDesignator& objName );
51 
54  virtual DtReflectedActiveSonarBeam* first() const;
55 
58  virtual DtReflectedActiveSonarBeam* last() const;
59 
62  virtual void addActiveSonarBeamAdditionCallback(
63  DtActiveSonarBeamCallbackFunction cb, void* usr );
64 
67  virtual void removeActiveSonarBeamAdditionCallback(
68  DtActiveSonarBeamCallbackFunction cb, void* usr );
69 
72  virtual void addActiveSonarBeamRemovalCallback(
73  DtActiveSonarBeamCallbackFunction cb, void* usr );
74 
77  virtual void removeActiveSonarBeamRemovalCallback(
78  DtActiveSonarBeamCallbackFunction cb, void* usr );
79 
80 protected:
81 
84  virtual DtReflectedObject* newReflectedObject( DtHlaObject* obj ) const;
85 
91  virtual void objectAdded( DtReflectedObject* object );
92 
95  virtual const DtList* dfltHandleList();
96 
97 protected:
98 
101 
104 
105 };
106 
107 #endif // DtHLA
class DtReflectedObjectList
Definition: reflectedObjectListHLA.h:36
Contains the HLA DtReflectedObjectList class declaration.
Instances of DtExerciseConn are used to provide an application's interface or connection to the netwo...
Definition: exerciseConnHLA.h:58
virtual DtReflectedObject * newReflectedObject(DtHlaObject *obj) const =0
Create a remote object object for the HLA object.
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
void(* DtActiveSonarBeamCallbackFunction)(DtReflectedActiveSonarBeam *obj, void *userData)
Signature of the callback function that takes a DtReflectedActiveSonarBeam and userData.
Definition: reflectedActiveSonarBeam.h:21
DtReflectedObjectList & operator=(const DtReflectedObjectList &orig)
assignment operator – not implemented
Instances of DtHlaObject are used to represent HLA objects which are communicated across the network...
Definition: hlaObject.h:56
DtList is deprecated, please use std::list<T>.
Definition: vlList.h:71
ObjectInstanceHandle ObjectHandle
Definition: rtiCompatibility.h:192
class DtReflectedObject:
Definition: reflectedObjectHLA.h:36
Instances of DtReflectedActiveSonarBeamList manage a list of remote ActiveSonarBeams in the exercise...
Definition: reflectedActiveSonarBeamList.h:20
Instances of DtReflectedActiveSonarBeam are used to represent HLA ActiveSonarBeam objects that were r...
Definition: reflectedActiveSonarBeam.h:27
std::set< DtDDMRegionSP > DtDDMRegionSet
Definition: region1516.h:32
Contains the DtReflectedActiveSonarBeam class declaration.
virtual void objectAdded(DtReflectedObject *object)
Called from processDiscoverObject() after a remote object has been added to the list.
Instances of DtString are used to represent strings.
Definition: vlString.h:29

Document ID: Generated on Tue Aug 10 00:12:31 EDT 2021 from SVN revision 232765
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)