remoteControlSharedInterface.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 1992-2011 VT MAK
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 
00009 
00010 
00011 #pragma once
00012 
00013 #include "remoteControlDomainInterface.h"
00014 #include "virtualConstructor.h"
00015 #include "absoluteTime.h"
00016 
00017 namespace MAKLogger
00018 {
00019 
00022    class DT_DLL_LGRSIM DtRemoteControlSharedInterface : public DtRemoteControlDomainInterface
00023    {
00024    public:
00025 
00026       DT_VIRTUAL_CTR(DtRemoteControlSharedInterface,(DtRemoteControlInterface*))
00027 
00028       
00029       virtual ~DtRemoteControlSharedInterface();
00030 
00031    private:
00033       DtRemoteControlSharedInterface(const DtRemoteControlSharedInterface&);
00035       DtRemoteControlSharedInterface& operator=(const DtRemoteControlSharedInterface&);
00036 
00037    public:
00038 
00040       virtual const DtAbsoluteTime& firstTime() const;
00041 
00043       virtual const DtAbsoluteTime& lastTime() const;
00044 
00046 
00047 
00049 
00051       virtual void processResponse(const DtLgrResponsePdu& responsePdu);
00052 
00053    public:
00054 
00056       static const char* commandToString(int command);
00057 
00058    protected:
00059 
00061 
00062       // Not sure about these as they apply to playback and record 
00063       virtual void startStopTimesChanged(const DtEntityIdentifier& source, const DtAbsoluteTime& startTime,
00064          const DtAbsoluteTime& stopTime );
00065       virtual void firstLastTimesChanged(const DtEntityIdentifier& source, const DtAbsoluteTime& firstTime,
00066          const DtAbsoluteTime& lastTime );
00068 
00071       virtual void setFirstTime(const DtAbsoluteTime& time, bool initialValue=false);
00072 
00075       virtual void setLastTime(const DtAbsoluteTime& time, bool initialValue=false);
00076 
00077 
00078    protected:
00079 
00080       DtAbsoluteTime myFirstTime;
00081       DtAbsoluteTime myLastTime;
00082 
00083    };
00084 }

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)