![]() |
VR-Link API Documentation for HLA 1516
|
00001 /********************************************************************* 00002 * ** Copyright (c) 2011 VT MAK 00003 * ** All rights reserved. 00004 * *********************************************************************/ 00005 /********************************************************************* 00006 * ** $RCSfile: hRttReplyRadSigInter.h,v $ $Revision: 1.1 $ $State: Exp $ 00007 * *********************************************************************/ 00008 00009 #if DtHLA 00010 00011 #ifndef RttReplyRadioSignalInteraction_H_ 00012 #define RttReplyRadioSignalInteraction_H_ 00013 00014 00015 #include <vl/hL16RadSigInter.h> 00016 #include <vl/hExerciseConn.h> 00017 #include <vl/Link16Structs.h> 00018 00019 class DtRttReplyRadioSignalInteraction; 00020 00021 typedef void (*DtRttReplyRadioInteractionCb)(DtRttReplyRadioSignalInteraction* inter, void* usr); 00022 00023 class DT_DLL_VL DtRttReplyRadioSignalInteraction : public DtL16RadioSignalInteraction 00024 { 00025 public: 00027 DtRttReplyRadioSignalInteraction(); 00028 00030 virtual ~DtRttReplyRadioSignalInteraction(); 00031 00033 DtRttReplyRadioSignalInteraction(const DtRttReplyRadioSignalInteraction& orig); 00034 00036 DtRttReplyRadioSignalInteraction& operator=(const DtRttReplyRadioSignalInteraction& orig); 00037 00039 virtual const char* name() const; 00040 00041 virtual void printDataToStream(std::ostream& stream) const; 00042 00043 static DtInteraction* create(); 00044 00045 static void addCallback(DtExerciseConn* conn, 00046 DtRttReplyRadioInteractionCb cb, void* usr); 00047 static void removeCallback(DtExerciseConn* conn, 00048 DtRttReplyRadioInteractionCb cb, void* usr); 00049 00050 protected: 00051 00059 virtual char* interactionClassToUse(DtExerciseConn* exConn) const; 00060 00068 virtual DtInteractionDecoder* createDecoder(DtExerciseConn* exConn) const; 00069 00070 00078 virtual DtInteractionEncoder* createEncoder(DtExerciseConn* exConn) const; 00079 00080 }; 00081 00082 #endif 00083 #endif