VR-Link API Documentation for DIS
hRttabRadSigInter.h
Go to the documentation of this file.
00001 /*********************************************************************
00002 * ** Copyright (c) 2011 VT MAK
00003 * ** All rights reserved.
00004 * *********************************************************************/
00005 /*********************************************************************
00006 * ** $RCSfile: hRttabRadSigInter.h,v $ $Revision: 1.1 $ $State: Exp $
00007 * *********************************************************************/
00008 
00009 #if DtHLA
00010 
00011 #ifndef DtRttabRadioSignalInteraction_H_
00012 #define DtRttabRadioSignalInteraction_H_
00013 
00014 #include <vl/hL16RadSigInter.h>
00015 #include <vl/hExerciseConn.h>
00016 #include <vl/Link16Structs.h>
00017 
00018 class DtRttabRadioSignalInteraction;
00019 
00020 typedef void (*DtRttabRadioSignalInteractionCb)(DtRttabRadioSignalInteraction* inter, void* usr);
00021 
00022 class DT_DLL_VL DtRttabRadioSignalInteraction : public DtL16RadioSignalInteraction
00023 {
00024 public:
00026    DtRttabRadioSignalInteraction();
00027 
00029    virtual ~DtRttabRadioSignalInteraction();
00030 
00032    DtRttabRadioSignalInteraction(const DtRttabRadioSignalInteraction& orig);
00033 
00035    DtRttabRadioSignalInteraction& operator=(const DtRttabRadioSignalInteraction& orig);
00036 
00038    virtual const char* name() const;
00039 
00040    virtual void printDataToStream(std::ostream& stream) const;
00041 
00042    static DtInteraction* create();
00043 
00044    static void addCallback(DtExerciseConn* conn,
00045       DtRttabRadioSignalInteractionCb cb, void* usr);
00046    static void removeCallback(DtExerciseConn* conn,
00047       DtRttabRadioSignalInteractionCb cb, void* usr);
00048 
00050 
00051    virtual const DtRttabStruct& rttabData()const;
00052    virtual void setRttabData(const DtRttabStruct& data);
00054 
00055 protected:
00056 
00064    virtual char* interactionClassToUse(DtExerciseConn* exConn) const;
00065 
00073    virtual DtInteractionDecoder* createDecoder(DtExerciseConn* exConn) const;
00074 
00075 
00083    virtual DtInteractionEncoder* createEncoder(DtExerciseConn* exConn) const;
00084 
00086    DtRttabStruct myRttabData;
00087 
00088 };
00089 
00090 #endif
00091 #endif

Document ID: Generated on Mon May 14 08:06:18 EDT 2012 from SVN revision 114750
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)