// =====================================================================
/*!
//
//  \file TDateCommand.hh
//  \brief This file contains the TDateCommand class.
//  \author Go IWAI <goiwai@users.sourceforge.jp>
//
//  $Id: TDateCommand.hh,v 1.4 2003/11/03 08:35:11 goiwai Exp $
//  $Name: CLDAQ-1-11-00 $
//  $Log: TDateCommand.hh,v $
//  Revision 1.4  2003/11/03 08:35:11  goiwai
//  Doxygen用のタグとコメントをうちこんでいく試みを開始しました.
//
//  Revision 1.3  2003/10/06 17:02:37  goiwai
//  *** empty log message ***
//
//  Revision 1.2  2003/07/30 16:17:31  goiwai
//  ファイルにコミットログをつけることにしました.
//
*/
// =====================================================================
#ifndef __TDATECOMMAND_HH
#define __TDATECOMMAND_HH

#include "Tglobals.h"
#include "TCommand.hh"
#include "TSystemClock.hh"

class TRunManager;
class TSystemClock;


/*!
// \example
//
// If example code exists.
//
*/

/*!
// \class TDateCommand
// \brief This is the TDateCommand class.
// \author Go IWAI <goiwai@users.sourceforge.jp>
//
// The TDateCommand class detail description.
// Write it down ASAP!
//
// \todo None?
// \bug None?
// \ingroup CommandsCategory
*/
class TDateCommand
  : public TCommand
{

  private:
    TSystemClock theSystemClock;

  public:
    TDateCommand( TRunManager* manager );
    ~TDateCommand();

  public:
    Tvoid Execute( const TstringList& arguments );

  public:
    const TSystemClock& GetSystemClock() const;
    Tvoid SetSystemClock( const TSystemClock& clock );

};

inline const TSystemClock& TDateCommand::GetSystemClock() const
{
  return theSystemClock;
}

inline Tvoid TDateCommand::SetSystemClock( const TSystemClock& clock )
{
  theSystemClock = clock;
  return;
}

#endif
