クラス rcsc::PlayerPointtoCommand

player's turn neck command [詳細]

#include <player_command.h>

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

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

Public メソッド

 PlayerPointtoCommand ()
 target angle relative to body angle construct off type pointto command
 PlayerPointtoCommand (const double &dist, const double &rel_dir)
 construct on type pointto command with point target
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 pointtoOn () const
 get pointto command switch
const double & pointtoDist () const
 get pointto command parameter
const double & pointtoDir () const
 get pointto command parameter

説明

player's turn neck command

  Format:
  <- (pointto <dist> <dir>)
  <- (pointto off)
  


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

rcsc::PlayerPointtoCommand::PlayerPointtoCommand ( const double &  dist,
const double &  rel_dir 
) [inline]

construct on type pointto command with point target

引数:
dist point target distance
rel_dir point target angle relative to body angle


関数

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

get command type

戻り値:
command type Id

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

std::ostream & rcsc::PlayerPointtoCommand::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::PlayerPointtoCommand::name (  )  const [inline, virtual]

get command paramter

戻り値:
turn neck moment of this command

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

bool rcsc::PlayerPointtoCommand::pointtoOn (  )  const [inline]

get pointto command switch

戻り値:
true if pointo is on

const double& rcsc::PlayerPointtoCommand::pointtoDist (  )  const [inline]

get pointto command parameter

戻り値:
pointto distance

const double& rcsc::PlayerPointtoCommand::pointtoDir (  )  const [inline]

get pointto command parameter

戻り値:
pointto dir


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