// =====================================================================
/*!
//
//  \file TExecuteCommand.hh
//  \brief This file contains the TExecuteCommand class.
//  \author Go IWAI <goiwai@users.sourceforge.jp>
//
//  $Id: TExecuteCommand.hh,v 1.4 2003/11/03 08:35:11 goiwai Exp $
//  $Name: CLDAQ-1-11-00 $
//  $Log: TExecuteCommand.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 __TEXECUTECOMMAND_HH
#define __TEXECUTECOMMAND_HH

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

class TMacroFileParser;
class TUserInterface;
class TRunManager;


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

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

  protected:
    TMacroFileParser theMacroFileParser;

  public:
    TExecuteCommand( TRunManager* manager );
    virtual ~TExecuteCommand();

  public:
    virtual Tvoid Execute( const TstringList& arguments );

  protected:
    virtual Tvoid doExecute( TUserInterface* ui, const Tstring& filename, Tint nloop = 1 );

};

#endif
