VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
jtidsLetRadioSignalInteraction.h
Go to the documentation of this file.
1 /*********************************************************************
2 * ** Copyright (c) 2011 VT MAK
3 * ** All rights reserved.
4 * *********************************************************************/
5 /*********************************************************************
6 * ** $RCSfile: hJtidsLetRadSigInter.h,v $ $Revision: 1.1 $ $State: Exp $
7 * *********************************************************************/
8 
9 #ifdef DtHLA
10 
11 #ifndef JTIDSLETInteraction_H_
12 #define JTIDSLETInteraction_H_
13 
15 #include <vl/letHeader.h>
16 #include <vl/link16Structs.h>
17 #include <vl/exerciseConnHLA.h>
18 
19 class DtJtidsLetRadioSignalInteraction;
20 
21 typedef void (*DtJtidsLetRadioSignalInteractionCb)(DtJtidsLetRadioSignalInteraction* inter, void* usr);
22 
23 class DT_DLL_VL DtJtidsLetRadioSignalInteraction : public DtL16RadioSignalInteraction
24 {
25 public:
27  DtJtidsLetRadioSignalInteraction();
28 
30  virtual ~DtJtidsLetRadioSignalInteraction();
31 
33  DtJtidsLetRadioSignalInteraction(const DtJtidsLetRadioSignalInteraction& orig);
34 
36  DtJtidsLetRadioSignalInteraction& operator=(const DtJtidsLetRadioSignalInteraction& orig);
37 
39  virtual const char* name() const;
40 
41  virtual void printDataToStream(std::ostream& stream) const;
42 
43  static DtInteraction* create();
44 
45  static void addCallback(DtExerciseConn* conn,
46  DtJtidsLetRadioSignalInteractionCb cb, void* usr);
47  static void removeCallback(DtExerciseConn* conn,
48  DtJtidsLetRadioSignalInteractionCb cb, void* usr);
49 
51 
52  virtual const DtLetHeader& letHeader()const;
53  virtual void setLetHeader(const DtLetHeader& data);
54 
55  virtual const DtLetHeaderStruct& letHeaderRawData()const;
56  virtual void setLetHeaderRawData(const DtLetHeaderStruct& data);
58 
60 
61  virtual const DtTadilJWordStruct* tadilJWord(DtU32 index) const;
62  virtual void setTadilJWord(DtU32 index, const DtTadilJWordStruct& data);
64 
66  virtual DtU32 numTadilJWords() const;
67 
68 protected:
69 
77  virtual char* interactionClassToUse(DtExerciseConn* exConn) const;
78 
86  virtual DtInteractionDecoder* createDecoder(DtExerciseConn* exConn) const;
87 
88 
96  virtual DtInteractionEncoder* createEncoder(DtExerciseConn* exConn) const;
97 
99  DtLetHeader myLetHeader;
100 
102  std::vector<DtTadilJWordStruct> myTadiljMessageData;
103 
104 };
105 
106 #endif
107 #endif

Document ID: Generated on Fri May 15 06:36:13 EDT 2015 from SVN revision 153263
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)