VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtVrlinkEmitterStateInterceptor.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Copyright (c) 2014 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 
17 
18 #include <vl/emitterSystemRepository.h>
19 
20 namespace makVrv
21 {
22 
23  namespace DT_PROTOCOL_NAMESPACE
24  {
25 
26  class DtVrlinkConnection;
27  class DtVrlinkEmitterStateListener;
28 
35  {
36  public:
37 
40 
42  virtual DtVrlinkEmitterStateListener* emitterStateListener();
43 
44  // @name DtEmitterSystemRepository functions
45  // @{
46 
48  virtual void setEmitterFunction( DtEmissionFunc function );
49 
51  virtual void setEmitterName( DtEmitterSysName name );
52 
54  virtual void setEmitterNumber( DtU8 number );
55 
57  virtual void setEventId( const DtEventId& id );
58 
60  virtual DtEmitterBeamRepository* addBeam( DtU8 beamId, DtBeamType type, DtEmitterSysRetCode *retcode );
61 
63  virtual DtEmitterSysRetCode removeBeam( DtU8 beamId );
64 
65 #if DtHLA
66  virtual DtEmitterSysRetCode removeBeam( const DtGlobalObjectDesignator& id );
68 #endif
69 
70  // @}
71 
72  // @name DtEmbeddedSystemRepository functions
73  // @{
74 
76  virtual void setEntityId( const DtEntityIdentifier& id );
77 
79  virtual void setHostId( const DtGlobalObjectDesignator& id );
80 
82  virtual void setRelativePosition( const DtVector32& position );
83 
84  // @}
85 
86  protected:
87 
89  virtual void beamRemovedByDelete( DtEmitterBeamRepository* );
90 
91  private:
92 
95 
98 
101  virtual DtStateRepository* clone( bool copy = false ) const;
102 
103  protected:
104 
106 
110 
111  protected:
112 
114 
115  };
116 
117 
121  {
122  public:
123 
126 
129 
132 
133  protected:
134 
136 
137  };
138 
139  }
140 }
Virtual base class. Allows for RTTI and proper virtual destruction. Used by Creators, Factories, Providers, Assemblers and User Interfaces.
Definition: DtVirtualBaseClass.h:19
#define DL_DLL_IGCONVRLINK
Definition: dllExport.h:26
#define DT_PROTOCOL_NAMESPACE
Contains DLL export macros.
Definition: vrfDis.h:17

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)