VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
reflectedUnderwaterAcousticsListDIS.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2013 MAK Technologies, Inc
3  * All rights reserved.
4  ****************************************************************************/
5 
9 
10 #pragma once
11 
12 #if DtDIS
13 
17 
18 class DtSystemHashKey;
19 class DtUnderwaterAcousticPdu;
20 
25 {
26 public:
27 
29  DtReflectedUnderwaterAcousticsList( DtExerciseConn* exConn, int numBucketsPrimeNumber = 503 );
30 
33 
34 public:
35 
38  virtual DtReflectedUnderwaterAcoustics* lookup(
39  const DtGlobalObjectDesignator& hostEntity ) const;
40 
42  virtual DtReflectedUnderwaterAcoustics* first() const;
43  virtual DtReflectedUnderwaterAcoustics* last() const;
44 
46  virtual void addUnderwaterAcousticsAdditionCallback(
47  DtUnderwaterAcousticsCallbackFunction cb, void* userData );
48  virtual void removeUnderwaterAcousticsAdditionCallback(
49  DtUnderwaterAcousticsCallbackFunction cb, void* userData );
50 
52  virtual void addUnderwaterAcousticsRemovalCallback(
53  DtUnderwaterAcousticsCallbackFunction cb, void* userData );
54  virtual void removeUnderwaterAcousticsRemovalCallback(
55  DtUnderwaterAcousticsCallbackFunction cb, void* userData );
56 
58  virtual void print() const;
59 
61  virtual void printDataToStream( std::ostream& stream ) const;
62 
63 protected:
64 
67  virtual DtReflectedUnderwaterAcoustics* newReflectedUnderwaterAcoustics(
68  const DtEntityIdentifier& hostEntity );
69 
71  virtual DtReflectedObject* newReflectedObj( const DtStateMsg& msg );
72 
75  virtual void objectAdded( DtReflectedObject* obj );
76 
82  const DtBaseHashKey& hashKeyFromStateMessage( const DtStateMsg* );
83 
85  static void underwaterAcousticCb( DtUnderwaterAcousticPdu* pdu, void* usr );
86 
87 protected:
88 
91 
94 
95 protected:
96 
97  DtObjectIdHashKey myHashKey;
98 
99 };
100 
101 #endif // DtDIS
class DtReflectedObjectList
Definition: reflectedObjectListHLA.h:58
Instances of DtExerciseConn are used to provide an application's interface or connection to the netwo...
Definition: exerciseConnHLA.h:61
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
Instances of DtObjectIdHashKey are hash keys made from DtObjectIds.
Definition: objectIdHashKey.h:22
DtBaseHashKey is an abstract base class for hash keys.
Definition: vlHashKeys.h:39
Instances of DtReflectedUnderwaterAcoustics represent EmitterSystem objects simulated by remote appli...
Definition: reflectedUnderwaterAcousticsHLA.h:28
Instances of DtSystemHashKey are used as hash keys for an emitter system.
Definition: systemHashKey.h:18
Contains the DIS DtReflectedUnderwaterAcoustics class declaration.
This file contains typedefs used to represent objects in a protocol neutral way.
void(* DtUnderwaterAcousticsCallbackFunction)(DtReflectedUnderwaterAcoustics *obj, void *userData)
Callback function that takes a DtReflectedObject and user data.
Definition: reflectedUnderwaterAcousticsHLA.h:21
Instances of DtReflectedUnderwaterAcousticsList manage a list of DtReflectedActiveSonar objects...
Definition: reflectedUnderwaterAcousticsListHLA.h:23
DtReflectedObjectList & operator=(const DtReflectedObjectList &orig)
assignment operator – not implemented
class DtReflectedObject:
Definition: reflectedObjectHLA.h:36
Instances of DtEntityIdentifier are used as a unique ID for entities in DIS.
Definition: entityIdentifier.h:31
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
class DtStateMsg:
Definition: stateMsgHLA.h:32
virtual void print()
Print the SRs of all objects.

Document ID: Generated on Wed Mar 27 02:04:30 EDT 2024 from SVN revision 264570
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)