VR-Link API Documentation for DIS
rttabRadioSignalInteraction.h
Go to the documentation of this file.
1 /*********************************************************************
2 * ** Copyright (c) 2011 VT MAK
3 * ** All rights reserved.
4 * *********************************************************************/
5 /*********************************************************************
6 * ** $RCSfile: hRttabRadSigInter.h,v $ $Revision: 1.1 $ $State: Exp $
7 * *********************************************************************/
8 
9 #if DtHLA
10 
11 #ifndef DtRttabRadioSignalInteraction_H_
12 #define DtRttabRadioSignalInteraction_H_
13 
15 #include <vl/exerciseConnHLA.h>
16 #include <vl/link16Structs.h>
17 
18 class DtRttabRadioSignalInteraction;
19 
20 typedef void (*DtRttabRadioSignalInteractionCb)(DtRttabRadioSignalInteraction* inter, void* usr);
21 
22 class DT_DLL_VL DtRttabRadioSignalInteraction : public DtL16RadioSignalInteraction
23 {
24 public:
26  DtRttabRadioSignalInteraction();
27 
29  virtual ~DtRttabRadioSignalInteraction();
30 
32  DtRttabRadioSignalInteraction(const DtRttabRadioSignalInteraction& orig);
33 
35  DtRttabRadioSignalInteraction& operator=(const DtRttabRadioSignalInteraction& orig);
36 
38  virtual const char* name() const;
39 
40  virtual void printDataToStream(std::ostream& stream) const;
41 
42  static DtInteraction* create();
43 
44  static void addCallback(DtExerciseConn* conn,
45  DtRttabRadioSignalInteractionCb cb, void* usr);
46  static void removeCallback(DtExerciseConn* conn,
47  DtRttabRadioSignalInteractionCb cb, void* usr);
48 
50 
51  virtual const DtRttabStruct& rttabData()const;
52  virtual void setRttabData(const DtRttabStruct& data);
54 
55 protected:
56 
64  virtual char* interactionClassToUse(DtExerciseConn* exConn) const;
65 
73  virtual DtInteractionDecoder* createDecoder(DtExerciseConn* exConn) const;
74 
75 
83  virtual DtInteractionEncoder* createEncoder(DtExerciseConn* exConn) const;
84 
86  DtRttabStruct myRttabData;
87 
88 };
89 
90 #endif
91 #endif

Document ID: Generated on Wed Oct 23 22:25:48 EDT 2013 from SVN revision 132765
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)