VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
reflectedUnderwaterAcousticsHLA.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 DtHLA
13 
14 #include <vl/reflectedObjectHLA.h>
16 
18 
22  DtReflectedUnderwaterAcoustics* obj, void* userData);
23 
29 {
30 public:
31 
33  typedef DtUnderwaterAcousticsStateRepository* (*DtStateRepCreator)();
34 
35 public:
36 
39  DtReflectedUnderwaterAcoustics( DtHlaObject* obj, DtExerciseConn* conn );
40 
44  const DtGlobalObjectDesignator& hostId, DtExerciseConn* conn );
45 
48 
50  virtual DtUnderwaterAcousticsStateRepository* underwaterAcousticsStateRep() const;
51 
53  virtual DtUnderwaterAcousticsStateRepository* usr() const;
54 
56  virtual DtReflectedUnderwaterAcoustics* next() const;
57 
59  virtual DtReflectedUnderwaterAcoustics* prev() const;
60 
64 
68 
70  virtual void addPostUpdateCallback( DtUnderwaterAcousticsCallbackFunction cb,
71  void* usr );
72  virtual void removePostUpdateCallback( DtUnderwaterAcousticsCallbackFunction cb,
73  void* usr );
74 
76  virtual void subsystemUpdated();
77 
78 public:
79 
81  static DtStateRepCreator setStateRepCreator( DtStateRepCreator creator );
82 
83 protected:
84 
87 
90  const DtReflectedUnderwaterAcoustics& orig );
91 
92 protected:
93 
94  static DtStateRepCreator theStateRepCreator;
95 
96  bool mySubsystemsCauseUpdate;
97 
98 };
99 
101 {
102  return (DtUnderwaterAcousticsStateRepository*) myStateRep;
103 }
104 
106 {
107  return (DtUnderwaterAcousticsStateRepository*) myStateRep;
108 }
109 
110 #endif // DtHLA
void * next() const
Return next (previous) elements on the list, or NULL if hit the end (beginning) of the list...
Definition: vlList.h:272
Contains the DtUnderwaterAcousticsStateRepository class declaration.
virtual DtUnderwaterAcousticsStateRepository * underwaterAcousticsStateRep() const
Get the underwater acoustic object&#39;s state repository.
Definition: reflectedUnderwaterAcousticsDIS.h:48
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
Instances of DtReflectedUnderwaterAcoustics represent underwater acoustics objects simulated by remot...
Definition: reflectedUnderwaterAcousticsDIS.h:29
DtReflectedObject & operator=(const DtReflectedObject &orig)
assignment operator – not implemented
Instances of DtUnderwaterAcousticsStateRepository are used to store state data for all underwater aco...
Definition: underwaterAcousticsStateRepository.h:37
Instances of DtReflectedObject are used to represent a simulation entity reflected across a network (...
Definition: reflectedObjectDIS.h:34
void * prev() const
Definition: vlList.h:277
void * wrapNext() const
Return next (previous) elements on the list, but wrap to the beginning (end) of the list when you hit...
Definition: vlList.h:282
Instances of DtEntityIdentifier are used as a unique ID for entities in DIS.
Definition: entityIdentifier.h:31
virtual DtUnderwaterAcousticsStateRepository * usr() const
Synonym for underwaterAcousticsStateRep().
Definition: reflectedUnderwaterAcousticsDIS.h:54
void(* DtUnderwaterAcousticsCallbackFunction)(DtReflectedUnderwaterAcoustics *, void *)
Callback function that takes a DtReflectedUnderwaterAcoustics and user data.
Definition: reflectedUnderwaterAcousticsDIS.h:23
void * wrapPrev() const
Definition: vlList.h:288

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)