VR-Link API Documentation for HLA 1.3
hJtidsVoiceLpc10RadSigInter.h
Go to the documentation of this file.
00001 /*********************************************************************
00002 * ** Copyright (c) 2011 VT MAK
00003 * ** All rights reserved.
00004 * *********************************************************************/
00005 /*********************************************************************
00006 * ** $RCSfile: hJtidsVoiceLpc10RadSigInter.h,v $ $Revision: 1.1 $ $State: Exp $
00007 * *********************************************************************/
00008 
00009 #if DtHLA
00010 
00011 #ifndef DtJtidsVoiceLpc10RadioSignalInteraction_H_
00012 #define DtJtidsVoiceLpc10RadioSignalInteraction_H_
00013 
00014 #include <vl/hL16RadSigInter.h>
00015 #include <vl/Link16Structs.h>
00016 #include <vl/hJtidsHeader.h>
00017 #include <vl/hExerciseConn.h>
00018 
00019 class DtJtidsVoiceLpc10RadioSignalInteraction;
00020 
00021 typedef void (*DtJtidsVoiceLpc10RadioSignalInteractionCb)(DtJtidsVoiceLpc10RadioSignalInteraction* inter, void* usr);
00022 
00023 class DT_DLL_VL DtJtidsVoiceLpc10RadioSignalInteraction : public DtL16RadioSignalInteraction
00024 {
00025 public:
00027    DtJtidsVoiceLpc10RadioSignalInteraction();
00028 
00030    virtual ~DtJtidsVoiceLpc10RadioSignalInteraction();
00031 
00033    DtJtidsVoiceLpc10RadioSignalInteraction(const DtJtidsVoiceLpc10RadioSignalInteraction& orig);
00034 
00036    DtJtidsVoiceLpc10RadioSignalInteraction& operator=(const DtJtidsVoiceLpc10RadioSignalInteraction& 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       DtJtidsVoiceLpc10RadioSignalInteractionCb cb, void* usr);
00047    static void removeCallback(DtExerciseConn* conn,
00048       DtJtidsVoiceLpc10RadioSignalInteractionCb cb, void* usr);
00049 
00051 
00052    virtual const DtJtidsHeader& jtidsHeader()const;
00053    virtual void setJtidsHeader(const DtJtidsHeader& data);
00054 
00055    virtual const DtJtidsHeaderStruct& jtidsHeaderRawData()const;
00056    virtual void setJtidsHeaderRawData(const DtJtidsHeaderStruct& data);
00058 
00060 
00061    virtual const std::vector<DtU8>& interactionData() const;
00062    virtual void setInteractionData(const std::vector<DtU8>& data);
00064 
00065 protected:
00066 
00074    virtual char* interactionClassToUse(DtExerciseConn* exConn) const;
00075 
00083    virtual DtInteractionDecoder* createDecoder(DtExerciseConn* exConn) const;
00084 
00085 
00093    virtual DtInteractionEncoder* createEncoder(DtExerciseConn* exConn) const;
00094 
00096    DtJtidsHeader myJtidsHeader;
00097 
00099    std::vector<DtU8> myData;
00100 
00101 };
00102 
00103 #endif
00104 #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)