Phoenix2D-Library
0.10
|
Command
The Command lorem Ipsum
More...
#include <Command.h>
Public Member Functions | |
Command () | |
Command (std::string command, int weight, COMMAND_TYPE type) | |
~Command () | |
void | setArgs (void *arg0, void *arg1=0, void *arg2=0) |
std::string | getCommand () |
int | getWeight () |
COMMAND_TYPE | getCommandType () |
COMMAND_STATUS | getCommandStatus () |
double | getDashPower () |
double | getDashDirection () |
double | getTurnMoment () |
double | getMoveX () |
double | getMoveY () |
std::string | getSayMessage () |
double | getCatchDirection () |
double | getKickPower () |
double | getKickDirection () |
double | getTacklePower () |
bool | getTackleWillToFoul () |
double | getTurnNeckMoment () |
double | getPointDistance () |
double | getPointDirection () |
std::string | getChangeViewWidth () |
void | changeStatusTo (COMMAND_STATUS status) |
int | createdAt () |
Private Attributes | |
std::string | command |
int | weight |
COMMAND_TYPE | type |
COMMAND_STATUS | status |
double | double_arg_0 |
double | double_arg_1 |
std::string | string_arg_0 |
std::string | string_arg_1 |
bool | bool_arg_0 |
bool | bool_arg_1 |
int | simulation_time |
Phoenix::Command::Command | ( | ) |
Definition at line 26 of file Command.cpp.
References bool_arg_0, bool_arg_1, command, double_arg_0, double_arg_1, Phoenix::EMPTY, Phoenix::ERROR, simulation_time, status, string_arg_0, string_arg_1, type, and weight.
Phoenix::Command::Command | ( | std::string | command, |
int | weight, | ||
COMMAND_TYPE | type | ||
) |
Definition at line 40 of file Command.cpp.
References bool_arg_0, bool_arg_1, command, Phoenix::CREATED, double_arg_0, double_arg_1, Phoenix::Game::SIMULATION_TIME, simulation_time, status, string_arg_0, string_arg_1, type, and weight.
Phoenix::Command::~Command | ( | ) |
Definition at line 54 of file Command.cpp.
void Phoenix::Command::changeStatusTo | ( | COMMAND_STATUS | status | ) |
Definition at line 157 of file Command.cpp.
References status.
Referenced by Phoenix::Self::processSenseBody(), and Phoenix::Commands::sendCommands().
int Phoenix::Command::createdAt | ( | ) |
Definition at line 165 of file Command.cpp.
References simulation_time.
double Phoenix::Command::getCatchDirection | ( | ) |
Definition at line 121 of file Command.cpp.
References double_arg_0.
std::string Phoenix::Command::getChangeViewWidth | ( | ) |
Definition at line 153 of file Command.cpp.
References string_arg_0.
std::string Phoenix::Command::getCommand | ( | ) |
Definition at line 85 of file Command.cpp.
References command.
Referenced by Phoenix::Commands::sendCommands().
COMMAND_STATUS Phoenix::Command::getCommandStatus | ( | ) |
Definition at line 161 of file Command.cpp.
References status.
COMMAND_TYPE Phoenix::Command::getCommandType | ( | ) |
Definition at line 93 of file Command.cpp.
References type.
double Phoenix::Command::getDashDirection | ( | ) |
Definition at line 101 of file Command.cpp.
References double_arg_1.
Referenced by Phoenix::Self::processSenseBody().
double Phoenix::Command::getDashPower | ( | ) |
Definition at line 97 of file Command.cpp.
References double_arg_0.
Referenced by Phoenix::Self::processSenseBody().
double Phoenix::Command::getKickDirection | ( | ) |
Definition at line 129 of file Command.cpp.
References double_arg_1.
double Phoenix::Command::getKickPower | ( | ) |
Definition at line 125 of file Command.cpp.
References double_arg_0.
double Phoenix::Command::getMoveX | ( | ) |
Definition at line 109 of file Command.cpp.
References double_arg_0.
Referenced by Phoenix::Self::processSenseBody().
double Phoenix::Command::getMoveY | ( | ) |
Definition at line 113 of file Command.cpp.
References double_arg_1.
Referenced by Phoenix::Self::processSenseBody().
double Phoenix::Command::getPointDirection | ( | ) |
Definition at line 149 of file Command.cpp.
References double_arg_1.
double Phoenix::Command::getPointDistance | ( | ) |
Definition at line 145 of file Command.cpp.
References double_arg_0.
std::string Phoenix::Command::getSayMessage | ( | ) |
Definition at line 117 of file Command.cpp.
References string_arg_0.
double Phoenix::Command::getTacklePower | ( | ) |
Definition at line 133 of file Command.cpp.
References double_arg_0.
bool Phoenix::Command::getTackleWillToFoul | ( | ) |
Definition at line 137 of file Command.cpp.
References bool_arg_1.
double Phoenix::Command::getTurnMoment | ( | ) |
Definition at line 105 of file Command.cpp.
References double_arg_0.
Referenced by Phoenix::Self::processSenseBody().
double Phoenix::Command::getTurnNeckMoment | ( | ) |
Definition at line 141 of file Command.cpp.
References double_arg_0.
int Phoenix::Command::getWeight | ( | ) |
Definition at line 89 of file Command.cpp.
References weight.
Referenced by Phoenix::Commands::sendCommands().
void Phoenix::Command::setArgs | ( | void * | arg0, |
void * | arg1 = 0 , |
||
void * | arg2 = 0 |
||
) |
Definition at line 58 of file Command.cpp.
References bool_arg_1, Phoenix::CATCH, Phoenix::CHANGE_VIEW, Phoenix::DASH, double_arg_0, double_arg_1, Phoenix::KICK, Phoenix::MOVE, Phoenix::POINT, Phoenix::SAY, string_arg_0, Phoenix::TACKLE, Phoenix::TURN, Phoenix::TURN_NECK, and type.
|
private |
|
private |
Definition at line 80 of file Command.h.
Referenced by Command(), getTackleWillToFoul(), and setArgs().
|
private |
Definition at line 71 of file Command.h.
Referenced by Command(), and getCommand().
|
private |
Definition at line 75 of file Command.h.
Referenced by Command(), getCatchDirection(), getDashPower(), getKickPower(), getMoveX(), getPointDistance(), getTacklePower(), getTurnMoment(), getTurnNeckMoment(), and setArgs().
|
private |
Definition at line 76 of file Command.h.
Referenced by Command(), getDashDirection(), getKickDirection(), getMoveY(), getPointDirection(), and setArgs().
|
private |
Definition at line 81 of file Command.h.
Referenced by Command(), and createdAt().
|
private |
Definition at line 74 of file Command.h.
Referenced by changeStatusTo(), Command(), and getCommandStatus().
|
private |
Definition at line 77 of file Command.h.
Referenced by Command(), getChangeViewWidth(), getSayMessage(), and setArgs().
|
private |
|
private |
Definition at line 73 of file Command.h.
Referenced by Command(), getCommandType(), and setArgs().
|
private |
Definition at line 72 of file Command.h.
Referenced by Command(), and getWeight().