クラス rcsc::TrainerChangeModeCommand

command to change playmode [詳細]

#include <trainer_command.h>

rcsc::TrainerChangeModeCommandに対する継承グラフ

rcsc::TrainerCommand すべてのメンバ一覧

Public メソッド

 TrainerChangeModeCommand (const PlayMode mode)
 construct with playmode type
Type type () const
 get command type
std::ostream & toStr (std::ostream &to) const
 put command string to ostream
std::string name () const
 get command name

説明

command to change playmode

  Format:
  <- (change_mode <playmode>)
  Response:
  -> (ok change_mode)
  -> (error illegal_mode)
  


コンストラクタとデストラクタ

rcsc::TrainerChangeModeCommand::TrainerChangeModeCommand ( const PlayMode  mode  )  [inline, explicit]

construct with playmode type

引数:
mode playmode type


関数

Type rcsc::TrainerChangeModeCommand::type (  )  const [inline, virtual]

get command type

戻り値:
command type Id

rcsc::TrainerCommandを実装しています。

std::ostream & rcsc::TrainerChangeModeCommand::toStr ( std::ostream &  to  )  const [virtual]

put command string to ostream

引数:
to referent to the output stream
戻り値:
referenct to the output stream

rcsc::TrainerCommandを実装しています。

std::string rcsc::TrainerChangeModeCommand::name (  )  const [inline, virtual]

get command name

戻り値:
command name string

rcsc::TrainerCommandを実装しています。


このクラスの説明は次のファイルから生成されました:
librcscに対してThu May 1 15:41:28 2008に生成されました。  doxygen 1.5.0