#include <soccer_agent.h>
rcsc::SoccerAgentに対する継承グラフ
Public メソッド | |
SoccerAgent () | |
nothing to do. just set NULL to M_client | |
virtual | ~SoccerAgent () |
virtual destructor. | |
bool | init (BasicClient *client, const int argc, const char *const *argv) |
initialize with command line options. | |
Protected メソッド | |
virtual bool | initImpl (CmdLineParser &cmd_parser)=0 |
init interval status using command line options | |
virtual bool | handleStart ()=0 |
(pure virtual) handle start event | |
virtual void | handleMessage ()=0 |
(pure virtual) handle server messege | |
virtual void | handleTimeout (const int timeout_count, const int waited_msec)=0 |
(pure virtual) handle timeout event | |
virtual void | handleExit ()=0 |
(pure virtual) handle exit event | |
Protected 変数 | |
BasicClient * | M_client |
interface to the rcssserver | |
フレンド | |
class | BasicClient |
This class supplies:
bool rcsc::SoccerAgent::init | ( | BasicClient * | client, | |
const int | argc, | |||
const char *const * | argv | |||
) |
initialize with command line options.
client | pointer to the client instance | |
argc | number of options. | |
argv | array of option string. |
virtual bool rcsc::SoccerAgent::initImpl | ( | CmdLineParser & | cmd_parser | ) | [protected, pure virtual] |
init interval status using command line options
cmd_parser | command line parser object |
rcsc::CoachAgent・rcsc::PlayerAgent・rcsc::TrainerAgentで実装されています。
virtual bool rcsc::SoccerAgent::handleStart | ( | ) | [protected, pure virtual] |
(pure virtual) handle start event
rcsc::CoachAgent・rcsc::PlayerAgent・rcsc::TrainerAgentで実装されています。
virtual void rcsc::SoccerAgent::handleMessage | ( | ) | [protected, pure virtual] |
(pure virtual) handle server messege
This method is called when server message is arrived.
rcsc::CoachAgent・rcsc::PlayerAgent・rcsc::TrainerAgentで実装されています。
virtual void rcsc::SoccerAgent::handleTimeout | ( | const int | timeout_count, | |
const int | waited_msec | |||
) | [protected, pure virtual] |
(pure virtual) handle timeout event
timeout_count | count of timeout without sensory message. | |
waited_msec | elapsed milli seconds sinc last sensory message. |
rcsc::CoachAgent・rcsc::PlayerAgent・rcsc::TrainerAgentで実装されています。
virtual void rcsc::SoccerAgent::handleExit | ( | ) | [protected, pure virtual] |
(pure virtual) handle exit event
This method is called when client estimates server is not alive.
rcsc::CoachAgent・rcsc::PlayerAgent・rcsc::TrainerAgentで実装されています。