メインページ   モジュール   クラス階層   アルファベット順一覧   構成   ファイル一覧   構成メンバ   ファイルメンバ   関連ページ    

TDateCommand.hh

解説を見る。
00001 // =====================================================================
00021 // =====================================================================
00022 #ifndef __TDATECOMMAND_HH
00023 #define __TDATECOMMAND_HH
00024 
00025 #include "Tglobals.h"
00026 #include "TCommand.hh"
00027 #include "TSystemClock.hh"
00028 
00029 class TRunManager;
00030 class TSystemClock;
00031 
00032 
00052 class TDateCommand
00053   : public TCommand
00054 {
00055 
00056   private:
00057     TSystemClock theSystemClock;
00058 
00059   public:
00060     TDateCommand( TRunManager* manager );
00061     ~TDateCommand();
00062 
00063   public:
00064     Tvoid Execute( const TstringList& arguments );
00065 
00066   public:
00067     const TSystemClock& GetSystemClock() const;
00068     Tvoid SetSystemClock( const TSystemClock& clock );
00069 
00070 };
00071 
00072 inline const TSystemClock& TDateCommand::GetSystemClock() const
00073 {
00074   return theSystemClock;
00075 }
00076 
00077 inline Tvoid TDateCommand::SetSystemClock( const TSystemClock& clock )
00078 {
00079   theSystemClock = clock;
00080   return;
00081 }
00082 
00083 #endif

CLDAQ - a Class Library for Data AcQuisition (Version 1.10.0)
Go IWAI <goiwai@users.sourceforge.jp>