VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
vmfRadioSignalInteraction.h
Go to the documentation of this file.
1 /*********************************************************************
2 * ** Copyright (c) 2011 VT MAK
3 * ** All rights reserved.
4 * *********************************************************************/
5 /*********************************************************************
6 * ** $RCSfile: hVmfRadSigInter.h,v $ $Revision: 1.1 $ $State: Exp $
7 * *********************************************************************/
8 
9 #ifdef DtHLA
10 
11 #ifndef VmfRadioSignalInteraction_H_
12 #define VmfRadioSignalInteraction_H_
13 
15 #include <vl/jtidsHeader.h>
16 #include <vl/link16Structs.h>
17 #include <vl/exerciseConnHLA.h>
18 
20 
22 
24 {
25 public:
28 
30  virtual ~DtVmfRadioSignalInteraction();
31 
34 
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  DtVmfRadioSignalInteractionCb cb, void* usr);
47  static void removeCallback(DtExerciseConn* conn,
48  DtVmfRadioSignalInteractionCb cb, void* usr);
49 
51  virtual const DtJtidsHeader& jtidsHeader()const;
53  virtual void setJtidsHeader(const DtJtidsHeader& data);
54 
55  virtual const DtJtidsHeaderStruct& jtidsHeaderRawData()const;
56  virtual void setJtidsHeaderRawData(const DtJtidsHeaderStruct& data);
58 
60  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 const char* interactionClassToUse(DtExerciseConn* exConn) const;
78 
86  virtual DtInteractionDecoder* createDecoder(DtExerciseConn* exConn) const;
87 
88 
96  virtual DtInteractionEncoder* createEncoder(DtExerciseConn* exConn) const;
97 
100 
102  std::vector<DtTadilJWordStruct> myTadiljMessageData;
103 
104 };
105 
106 #endif
107 #endif
DtInteraction is an abstract base class for representing HLA interactions (or events) (as opposed to ...
Definition: interactionHLA.h:33
Definition: jtidsHeader.h:16
Instances of DtExerciseConn are used to provide an application&#39;s interface or connection to the netwo...
Definition: exerciseConnHLA.h:58
void(* DtVmfRadioSignalInteractionCb)(DtVmfRadioSignalInteraction *inter, void *usr)
Definition: vmfRadioSignalInteraction.h:21
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
DtJtidsHeader myJtidsHeader
The JTIDS header.
Definition: vmfRadioSignalInteraction.h:99
DtInteractionEncoder is used to provide encoding of an interaction into an RTI::ParameterHandleValueP...
Definition: interactionEncoder.h:36
Definition: l16RadioSignalInteraction.h:22
virtual const char * name() const
Name of the interaction. (Not necessarily the ClassName from the FOM.)
static void removeCallback(DtExerciseConn *conn, DtL16RadioSignalInteractionCb cb, void *usr)
static void addCallback(DtExerciseConn *conn, DtL16RadioSignalInteractionCb cb, void *usr)
static DtInteraction * create()
std::vector< DtTadilJWordStruct > myTadiljMessageData
The TADILJ message.
Definition: vmfRadioSignalInteraction.h:102
Definition: link16Structs.h:20
virtual DtInteractionDecoder * createDecoder(DtExerciseConn *exConn) const
Virtual function override.
Definition: vmfRadioSignalInteraction.h:23
Definition: link16Structs.h:14
Instances of DtInteractionDecoder are used to decode interactions from the network.
Definition: interactionDecoder.h:37
virtual void printDataToStream(std::ostream &stream) const
Print the interaction&#39;s data to a stream.
unsigned long DtU32
A 32 bit unsigned integer value.
Definition: vlMachineTypes.h:153
virtual const char * interactionClassToUse(DtExerciseConn *exConn) const
Virtual function override.
DtL16RadioSignalInteraction & operator=(const DtL16RadioSignalInteraction &orig)
Assignment operator.
virtual DtInteractionEncoder * createEncoder(DtExerciseConn *exConn) const
Virtual function override.

Document ID: Generated on Tue Feb 2 21:02:17 EST 2021 from SVN revision 223668
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)