クラス rcsc::ViewQuality

view quality data class [詳細]

#include <view_mode.h>

すべてのメンバ一覧

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
}

Public メソッド

 ViewQuality ()
 init by HIGH
 ViewQuality (const ViewQuality::Type t)
 init by t
ViewQualityoperator= (const ViewQuality::Type t)
 substitution operator by type Id
 operator ViewQuality::Type () const
 type operator
ViewQuality::Type type () const
 get type Id
bool operator== (const ViewQuality &q) const
 compare operator.
bool operator== (const ViewQuality::Type t) const
 compare operator.
bool operator!= (const ViewQuality &q) const
 compare operator.
bool operator!= (const ViewQuality::Type &t) const
 compare operator.
std::string str () const
 return the name of current view quality

Static Public メソッド

static ViewQuality::Type parse (const char *msg)
 static method. get the type described by string


説明

view quality data class


列挙型

enum rcsc::ViewQuality::Type

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


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

rcsc::ViewQuality::ViewQuality ( const ViewQuality::Type  t  )  [inline]

init by t

引数:
t type Id


関数

ViewQuality& rcsc::ViewQuality::operator= ( const ViewQuality::Type  t  )  [inline]

substitution operator by type Id

引数:
t type Id
戻り値:
reference to itself

rcsc::ViewQuality::operator ViewQuality::Type (  )  const [inline]

type operator

戻り値:
type Id

ViewQuality::Type rcsc::ViewQuality::type (  )  const [inline]

get type Id

戻り値:
type Id

bool rcsc::ViewQuality::operator== ( const ViewQuality q  )  const [inline]

compare operator.

引数:
q value to be compared
戻り値:
compared result
This operator should declare and defined at the global scope...

bool rcsc::ViewQuality::operator== ( const ViewQuality::Type  t  )  const [inline]

compare operator.

引数:
t type Id to be compared
戻り値:
compared result

bool rcsc::ViewQuality::operator!= ( const ViewQuality q  )  const [inline]

compare operator.

引数:
q value to be compared
戻り値:
compared result
This operator should declare and defined at the global scope...

bool rcsc::ViewQuality::operator!= ( const ViewQuality::Type t  )  const [inline]

compare operator.

引数:
t type Id to be compared
戻り値:
compared result

std::string rcsc::ViewQuality::str (  )  const

return the name of current view quality

戻り値:
the name string of quality type

ViewQuality::Type rcsc::ViewQuality::parse ( const char *  msg  )  [static]

static method. get the type described by string

引数:
msg string to be analyzed
戻り値:
type Id


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