lgrDisSimInput.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 1992-2010 VT MAK
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 
00009 
00010 #ifndef lgrDisSimInput_H_
00011 #define lgrDisSimInput_H_
00012 
00013 #if DtDIS
00014 
00015 #include "lgrSim.h"
00016 #include "lgrSimInput.h"
00017 #include "virtualConstructor.h"
00018 
00019 #include <list>
00020 
00021 class DtPdu;
00022 class DtInteraction;
00023 
00024 namespace MAKLogger
00025 {
00026 
00027    class DtLgrDisSimulationManager;
00028    class DtMessageBuffer;
00029    class DtSmartBuffer;
00030    class DtLgrDisMessageIOInfo;
00031 
00034    class DT_DLL_LGRSIM DtLgrDisSimInput : public DtLgrSimInput
00035    {
00036    public:
00037 
00038       DT_VIRTUAL_CTR(DtLgrDisSimInput,(DtLgrDisSimulationManager* manager))
00039 
00040       virtual ~DtLgrDisSimInput();
00041 
00042    private:
00044       DtLgrDisSimInput(const DtLgrDisSimInput&);
00046       DtLgrDisSimInput& operator=(const DtLgrDisSimInput&);
00047 
00048    public:
00049 
00050       virtual void activateImplementation();
00051       virtual void deactivateImplementation();
00052 
00054       virtual void disconnecting();
00055 
00056       virtual const DtMessageIOInfo* info() const;
00057 
00058    protected:
00059 
00060       static void receivePduCb(DtPdu* pdu,void* usr);
00061       virtual void receivePdu(DtPdu& pdu);
00062 
00063       virtual void startListening();
00064       virtual void stopListening();
00065 
00066       DtLgrDisSimulationManager* myManager;
00067 
00068       bool myActivatedFlag;
00069       int myReceivedCount;
00070 
00071       DtLgrDisMessageIOInfo* myInfo;
00072 
00073    };
00074 
00075 }
00076 
00077 #endif
00078 #endif

Document ID: Generated on Tue Oct 11 19:41:03 EDT 2011 from SVN revision 107422
Copyright © 2005-2011 VT MÄK Inc. All Rights Reserved (www.mak.com)