VR-Forces 4.0.4 Class Documentation
appsrc/vrfMsgDump/vrfSignalPrinter.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2007 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: vrfSignalPrinter.h,v $ $Revision: 1.1 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00012 #ifndef vrfSignalPrinter_h
00013 #define vrfSignalPrinter_h
00014 
00015 class DtExerciseConn;
00016 class DtRadioMessageListener;
00017 class DtVrfObjectMessage;
00018 
00019 // Registers for all radio messages using a DtRadioMessageListener
00020 // and prints their contents to the console.
00021 // Radio messages a typically sent though signal PDUs from VR-Forces.
00022 class DtVrfSignalPrinter
00023 {
00024 private:
00025    // Not implemented.
00027    DtVrfSignalPrinter();
00028    DtVrfSignalPrinter(const DtVrfSignalPrinter& orig);
00029    DtVrfSignalPrinter& operator=(const DtVrfSignalPrinter& orig);
00031 public:
00032    DtVrfSignalPrinter(DtExerciseConn* exConn);
00033    virtual ~DtVrfSignalPrinter();
00034 
00035    virtual bool init();
00036 
00037 protected:
00038    static void radioMessageCallback(const DtVrfObjectMessage* msg, void* usr);
00039    virtual void processRadioMessageCallback(const DtVrfObjectMessage* msg);
00040 
00041 protected:
00042    DtExerciseConn* myExConn;
00043    DtRadioMessageListener* myRadioMessageListener;
00044 
00045 };
00046 
00047 #endif

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)