#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 } |
types of view width [詳細] | |
Public メソッド | |
ViewWidth () | |
init by NORMAL | |
ViewWidth (const ViewWidth::Type t) | |
construct with 't'. NO explicit | |
ViewWidth & | operator= (const ViewWidth::Type t) |
substituion operator by type Id | |
operator ViewWidth::Type () const | |
type operator | |
ViewWidth::Type | type () const |
get type Id | |
bool | operator== (const ViewWidth &w) const |
compare operator. | |
bool | operator== (const ViewWidth::Type t) const |
compare operator. | |
bool | operator!= (const ViewWidth &w) const |
compare operator. | |
bool | operator!= (const ViewWidth::Type t) const |
compare operator. | |
const ViewWidth & | operator++ () |
increase view width type | |
const ViewWidth | operator++ (int) |
increase view width type | |
const ViewWidth & | operator-- () |
decrease view width type | |
const ViewWidth | operator-- (int) |
increase view width type | |
double | width () const |
get degree value depending on the current type and server param | |
std::string | str () const |
get width type name | |
Static Public メソッド | |
static double | width (const ViewWidth::Type type) |
get degree value depending on the current type and server param | |
static ViewWidth::Type | parse (const char *msg) |
static method. get the type described by string |
rcsc::ViewWidth::ViewWidth | ( | const ViewWidth::Type | t | ) | [inline] |
construct with 't'. NO explicit
t | type Id |
ViewWidth& rcsc::ViewWidth::operator= | ( | const ViewWidth::Type | t | ) | [inline] |
substituion operator by type Id
t | type Id |
rcsc::ViewWidth::operator ViewWidth::Type | ( | ) | const [inline] |
type operator
ViewWidth::Type rcsc::ViewWidth::type | ( | ) | const [inline] |
get type Id
bool rcsc::ViewWidth::operator== | ( | const ViewWidth & | w | ) | const [inline] |
compare operator.
w | value to be compared |
bool rcsc::ViewWidth::operator== | ( | const ViewWidth::Type | t | ) | const [inline] |
compare operator.
t | type Id to be compared |
bool rcsc::ViewWidth::operator!= | ( | const ViewWidth & | w | ) | const [inline] |
compare operator.
w | value to be compared |
bool rcsc::ViewWidth::operator!= | ( | const ViewWidth::Type | t | ) | const [inline] |
compare operator.
t | type Id to be compared |
const ViewWidth & rcsc::ViewWidth::operator++ | ( | ) |
increase view width type
const ViewWidth rcsc::ViewWidth::operator++ | ( | int | ) |
increase view width type
const ViewWidth & rcsc::ViewWidth::operator-- | ( | ) |
decrease view width type
const ViewWidth rcsc::ViewWidth::operator-- | ( | int | ) |
increase view width type
double rcsc::ViewWidth::width | ( | ) | const [inline] |
get degree value depending on the current type and server param
std::string rcsc::ViewWidth::str | ( | ) | const |
get width type name
double rcsc::ViewWidth::width | ( | const ViewWidth::Type | type | ) | [static] |
get degree value depending on the current type and server param
type | view width type |
ViewWidth::Type rcsc::ViewWidth::parse | ( | const char * | msg | ) | [static] |
static method. get the type described by string
msg | string to be analyzed |