クラス rcsc::PlayerAttentiontoCommand

player's attentionto command [詳細]

#include <player_command.h>

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

rcsc::PlayerSupportCommand rcsc::PlayerCommand すべてのメンバ一覧

Public 型

enum  SideType {
  SIDE = -1, SYNMETRY = 1, CENTER = 0, OUR,
  OPP, NONE, OUR, OPP
}
 target player's side type [詳細]

Public メソッド

 PlayerAttentiontoCommand ()
 construct off type attentionto command
 PlayerAttentiontoCommand (const SideType side, const int unum)
 construct on type attentionto command
Type type () const
 get command type
std::ostream & toStr (std::ostream &to) const
 put command string to ostream
std::string name () const
 get command paramter
bool isOn () const
 get on/off flag
SideType side () const
 get target player's side type
int number () const
 get target player's uniform number

説明

player's attentionto command

  Format:
  <- (attentionto <side> <unum>)
  <- (attentionto off)

  side :- our | opp | l | left | r | right | TEAMNAME
  


列挙型

enum rcsc::PlayerAttentiontoCommand::SideType

target player's side type

列挙型の値:
SIDE  original type, consider all region
SYNMETRY  synmetry type, this type refers SIDE
CENTER  original type, consider half region


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

rcsc::PlayerAttentiontoCommand::PlayerAttentiontoCommand ( const SideType  side,
const int  unum 
) [inline]

construct on type attentionto command

引数:
side target player's side
unum target player's uniform number


関数

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

get command type

戻り値:
command type Id

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

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

put command string to ostream

引数:
to reference to the output stream
戻り値:
reference to the output stream

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

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

get command paramter

戻り値:
turn neck moment of this command

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

bool rcsc::PlayerAttentiontoCommand::isOn (  )  const [inline]

get on/off flag

戻り値:
true if this command is on type

SideType rcsc::PlayerAttentiontoCommand::side (  )  const [inline]

get target player's side type

戻り値:
target player's side type

int rcsc::PlayerAttentiontoCommand::number (  )  const [inline]

get target player's uniform number

戻り値:
target player's uniform number


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