VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
rttReplyRadioSignalInteraction.h
Go to the documentation of this file.
1 /*********************************************************************
2 * ** Copyright (c) 2011 MAK Technologies, Inc
3 * ** All rights reserved.
4 * *********************************************************************/
5 /*********************************************************************
6 * ** $RCSfile: hRttReplyRadSigInter.h,v $ $Revision: 1.1 $ $State: Exp $
7 * *********************************************************************/
8 
9 #if DtHLA
10 
11 #ifndef RttReplyRadioSignalInteraction_H_
12 #define RttReplyRadioSignalInteraction_H_
13 
14 
16 #include <vl/exerciseConnHLA.h>
17 #include <vl/link16Structs.h>
18 
19 class DtRttReplyRadioSignalInteraction;
20 
21 typedef void (*DtRttReplyRadioInteractionCb)(DtRttReplyRadioSignalInteraction* inter, void* usr);
22 
23 class DT_DLL_VL DtRttReplyRadioSignalInteraction : public DtL16RadioSignalInteraction
24 {
25 public:
27  DtRttReplyRadioSignalInteraction();
28 
30  virtual ~DtRttReplyRadioSignalInteraction();
31 
33  DtRttReplyRadioSignalInteraction(const DtRttReplyRadioSignalInteraction& orig);
34 
36  DtRttReplyRadioSignalInteraction& operator=(const DtRttReplyRadioSignalInteraction& 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  DtRttReplyRadioInteractionCb cb, void* usr);
47  static void removeCallback(DtExerciseConn* conn,
48  DtRttReplyRadioInteractionCb cb, void* usr);
49 
50 protected:
51 
59  virtual const char* interactionClassToUse(DtExerciseConn* exConn) const;
60 
68  virtual DtInteractionDecoder* createDecoder(DtExerciseConn* exConn) const;
69 
70 
78  virtual DtInteractionEncoder* createEncoder(DtExerciseConn* exConn) const;
79 
80 };
81 
82 #endif
83 #endif
DtInteraction is an base class for representing DIS PDUs which don&#39;t have state.
Definition: interactionDIS.h:24
Instances of DtExerciseConn are used to provide an application&#39;s interface or connection to the netwo...
Definition: exerciseConnDIS.h:62
#define DT_DLL_VL
Definition: vlMachineTypes.h:108

Document ID: Generated on Wed Mar 27 02:04:30 EDT 2024 from SVN revision 264570
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)