VR-Forces 4.1.1 Class Documentation
DtVrlinkReflectedRadioTransmitterList.h
Go to the documentation of this file.
1 /*********************************************************************
2  * Copyright (c) 2012 MaK Technologies, Inc.
3  * All rights reserved.
4  ********************************************************************/
5 
9 
10 #pragma once
11 
12 #ifndef DT_PROTOCOL_NAMESPACE
13 #error Namespace Protocol Macro DT_PROTOCOL_NAMESPACE not defined.
14 #endif
15 
16 #include <vl/refRadXmList.h>
17 
18 namespace makVrv
19 {
20 
21  namespace DT_PROTOCOL_NAMESPACE
22  {
23 
24  class DtRadioTransmitterExistenceListener;
25  class DtVrlinkRadioTransmitterStateListener;
26  class DtVrlinkRadioTransmitterStateInterceptor;
27 
33  {
34 
35  public:
36 
39 
40 #if DtHLA
41 
44  const DtDDMRegionSet& regionsToUse );
45 
46  virtual void addRegion( DtDDMRegionSP regionToAdd );
47  virtual void removeRegion( DtDDMRegionSP regionToRemove );
48 
49 #endif
50 
53 
54  protected:
55 
56 #if DtHLA
57 
59  virtual DtReflectedObject* newReflectedObject( DtHlaObject* obj ) const;
60 
63  virtual DtVrlinkRadioTransmitterStateInterceptor* createRadioTransmitterInterceptor( DtHlaObject* obj ) const;
64 
65 #else
66 
71  DtReflectedRadioTransmitter* newReflectedRadioTransmitter(
72  const DtEntityIdentifier& transmittingEntity, int radioId ) const;
73 
76  virtual DtVrlinkRadioTransmitterStateInterceptor* createRadioTransmitterInterceptor(
77  const DtEntityIdentifier& transmittingEntity, int systemNumber ) const;
78 
79 #endif
80 
84  virtual void removeAndDelete( DtReflectedObject* obj, char* msg = NULL );
85 
88  virtual void objectAdded( DtReflectedObject* obj );
89 
94  static bool radioTransmitterDiscoveryFunction( DtReflectedObject* refObj, void* usr );
95 
99  virtual bool discoverRadioTransmitter( DtReflectedObject* refObj );
100 
101  protected:
102 
103  typedef std::map<DtReflectedRadioTransmitter*,DtVrlinkRadioTransmitterStateListener*>
106 
108 
109  private:
110 
113 
116 
117  };
118 
119 
124  : public DtVirtualBaseClass
125  {
126  public:
127 
130  instance( DtVrlinkConnection& conn );
131 
136 
137 #if DtHLA
138 
140  DtRadioTransmitterExistenceListener& l, const DtDDMRegionSet& r );
141 
142 #endif
143 
144  protected:
145 
147 
148  protected:
149 
151 
152  };
153 
154  }
155 }

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)