#include <global_visual_sensor.h>
Public メソッド | |
GlobalVisualSensor () | |
init member variable | |
~GlobalVisualSensor () | |
nothing to do | |
const GameTime & | time () const |
get updated time | |
const std::string & | teamNameLeft () const |
get an analyzed left team name | |
const std::string & | teamNameRight () const |
get an analyzed right team name | |
const GlobalBallObject & | ball () const |
get analyzed ball info | |
const std::vector< GlobalPlayerObject > & | players () const |
get seen players | |
void | parse (const char *msg, const double &version, const GameTime ¤t) |
analyze see message | |
std::ostream & | print (std::ostream &os) const |
put data to the output stream |
const GameTime& rcsc::GlobalVisualSensor::time | ( | ) | const [inline] |
get updated time
const std::string& rcsc::GlobalVisualSensor::teamNameLeft | ( | ) | const [inline] |
get an analyzed left team name
const std::string& rcsc::GlobalVisualSensor::teamNameRight | ( | ) | const [inline] |
get an analyzed right team name
const GlobalBallObject& rcsc::GlobalVisualSensor::ball | ( | ) | const [inline] |
get analyzed ball info
const std::vector< GlobalPlayerObject >& rcsc::GlobalVisualSensor::players | ( | ) | const [inline] |
get seen players
void rcsc::GlobalVisualSensor::parse | ( | const char * | msg, | |
const double & | version, | |||
const GameTime & | current | |||
) |
analyze see message
msg | server raw message | |
version | client version | |
current | current game time |
std::ostream & rcsc::GlobalVisualSensor::print | ( | std::ostream & | os | ) | const |
put data to the output stream
os | reference to the output stream |