Phoenix2D-Library  0.10
Public Member Functions | Private Attributes | List of all members
Phoenix::Command Class Reference

Command
The Command lorem Ipsum More...

#include <Command.h>

Collaboration diagram for Phoenix::Command:
Collaboration graph
[legend]

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
 

Detailed Description

Command
The Command lorem Ipsum

Definition at line 70 of file Command.h.

Constructor & Destructor Documentation

Phoenix::Command::Command ( )
Phoenix::Command::Command ( std::string  command,
int  weight,
COMMAND_TYPE  type 
)
Phoenix::Command::~Command ( )

Definition at line 54 of file Command.cpp.

Member Function Documentation

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 
)

Member Data Documentation

bool Phoenix::Command::bool_arg_0
private

Definition at line 79 of file Command.h.

Referenced by Command().

bool Phoenix::Command::bool_arg_1
private

Definition at line 80 of file Command.h.

Referenced by Command(), getTackleWillToFoul(), and setArgs().

std::string Phoenix::Command::command
private

Definition at line 71 of file Command.h.

Referenced by Command(), and getCommand().

double Phoenix::Command::double_arg_0
private
double Phoenix::Command::double_arg_1
private
int Phoenix::Command::simulation_time
private

Definition at line 81 of file Command.h.

Referenced by Command(), and createdAt().

COMMAND_STATUS Phoenix::Command::status
private

Definition at line 74 of file Command.h.

Referenced by changeStatusTo(), Command(), and getCommandStatus().

std::string Phoenix::Command::string_arg_0
private

Definition at line 77 of file Command.h.

Referenced by Command(), getChangeViewWidth(), getSayMessage(), and setArgs().

std::string Phoenix::Command::string_arg_1
private

Definition at line 78 of file Command.h.

Referenced by Command().

COMMAND_TYPE Phoenix::Command::type
private

Definition at line 73 of file Command.h.

Referenced by Command(), getCommandType(), and setArgs().

int Phoenix::Command::weight
private

Definition at line 72 of file Command.h.

Referenced by Command(), and getWeight().


The documentation for this class was generated from the following files: