#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 | |
ViewQuality & | operator= (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 |
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 |
rcsc::ViewQuality::operator ViewQuality::Type | ( | ) | const [inline] |
type operator
ViewQuality::Type rcsc::ViewQuality::type | ( | ) | const [inline] |
get type Id
bool rcsc::ViewQuality::operator== | ( | const ViewQuality & | q | ) | const [inline] |
compare operator.
q | value to be compared |
bool rcsc::ViewQuality::operator== | ( | const ViewQuality::Type | t | ) | const [inline] |
compare operator.
t | type Id to be compared |
bool rcsc::ViewQuality::operator!= | ( | const ViewQuality & | q | ) | const [inline] |
compare operator.
q | value to be compared |
bool rcsc::ViewQuality::operator!= | ( | const ViewQuality::Type & | t | ) | const [inline] |
compare operator.
t | type Id to be compared |
std::string rcsc::ViewQuality::str | ( | ) | const |
return the name of current view quality
ViewQuality::Type rcsc::ViewQuality::parse | ( | const char * | msg | ) | [static] |
static method. get the type described by string
msg | string to be analyzed |