クラス rcsc::MonitorCommand

abstract monitor command class [詳細]

#include <monitor_command.h>

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

rcsc::MonitorByeCommand rcsc::MonitorCompressionCommand rcsc::MonitorDiscardPlayerCommand rcsc::MonitorDropBallCommand rcsc::MonitorFreeKickCommand rcsc::MonitorInitCommand rcsc::MonitorKickOffCommand rcsc::MonitorMovePlayerCommand すべてのメンバ一覧

Public 型

enum  Type {
  INIT, BYE, CHECK_BALL, LOOK,
  TEAM_NAMES, EYE, CHANGE_PLAYER_TYPE, CHANGE_PLAYER_TYPES,
  SAY, TEAM_GRAPHIC, COMPRESSION, DONE,
  ILLEGAL, BeforeKickOff, TimeOver, PlayOn,
  KickOff_, KickIn_, FreeKick_, CornerKick_,
  GoalKick_, AfterGoal_, OffSide_, PenaltyKick_,
  FirstHalfOver, Pause, Human, FoulCharge_,
  FoulPush_, FoulMultipleAttacker_, FoulBallOut_, BackPass_,
  FreeKickFault_, CatchFault_, IndFreeKick_, PenaltySetup_,
  PenaltyReady_, PenaltyTaken_, PenaltyMiss_, PenaltyScore_,
  PenaltyOnfield_, PenaltyFoul_, GoalieCatch_, ExtendHalf,
  MODE_MAX, INIT, BYE, START,
  FOUL, PLAYER, DISCARD, COMPRESSION,
  ILLEGAL, INIT, RECONNECT, BYE,
  MOVE, DASH, TURN, KICK,
  CATCH, TACKLE, TURN_NECK, CHANGE_VIEW,
  SAY, POINTTO, ATTENTIONTO, CLANG,
  EAR, SENSE_BODY, SCORE, COMPRESSION,
  DONE, ILLEGAL, NARROW, NORMAL,
  WIDE, ILLEGAL, HIGH, LOW,
  ILLEGAL, INIT, CHECK_BALL, LOOK,
  TEAM_NAMES, EAR, EYE, START,
  CHANGE_MODE, MOVE, RECOVER, CHANGE_PLAYER_TYPE,
  SAY, COMPRESSION, DONE, ILLEGAL
}
 monitor client command Id [詳細]

Public メソッド

virtual ~MonitorCommand ()
 virtual destructor. nothing to do
virtual Type type () const=0
 pure virtual method. get command type id.
virtual std::ostream & toStr (std::ostream &to) const=0
 pure virtual method. make command string.
virtual std::string name () const=0
 pure virtual method. get command name string

Protected メソッド

 MonitorCommand ()
 protected default constructor because this is abstract class.

説明

abstract monitor command class


列挙型

enum rcsc::MonitorCommand::Type

monitor client command Id

列挙型の値:
INIT  server connection command
RECONNECT  server reconnection command
BYE  server disconnection command
INIT  connection command


関数

virtual Type rcsc::MonitorCommand::type (  )  const [pure virtual]

pure virtual method. get command type id.

戻り値:
monitor command type.

rcsc::MonitorInitCommandrcsc::MonitorByeCommandrcsc::MonitorKickOffCommandrcsc::MonitorDropBallCommandrcsc::MonitorFreeKickCommandrcsc::MonitorMovePlayerCommandrcsc::MonitorDiscardPlayerCommandrcsc::MonitorCompressionCommandで実装されています。

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

pure virtual method. make command string.

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

rcsc::MonitorInitCommandrcsc::MonitorByeCommandrcsc::MonitorKickOffCommandrcsc::MonitorDropBallCommandrcsc::MonitorFreeKickCommandrcsc::MonitorMovePlayerCommandrcsc::MonitorDiscardPlayerCommandrcsc::MonitorCompressionCommandで実装されています。

virtual std::string rcsc::MonitorCommand::name (  )  const [pure virtual]

pure virtual method. get command name string

戻り値:
command name string

rcsc::MonitorInitCommandrcsc::MonitorByeCommandrcsc::MonitorKickOffCommandrcsc::MonitorDropBallCommandrcsc::MonitorFreeKickCommandrcsc::MonitorMovePlayerCommandrcsc::MonitorDiscardPlayerCommandrcsc::MonitorCompressionCommandで実装されています。


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