32#ifndef RCSC_COMMON_SOCCER_AGENT_H
33#define RCSC_COMMON_SOCCER_AGENT_H
97 void setClient( std::shared_ptr< AbstractClient > client );
171 const int waited_msec ) = 0;
abstract soccer client class
Definition: abstract_client.h:48
command line parser
Definition: cmd_line_parser.h:49
abstract soccer agent class
Definition: soccer_agent.h:54
virtual bool handleStartOffline()
(virtual) handle start event in offline client mode.
Definition: soccer_agent.h:139
virtual bool handleStart()=0
(pure virtual) handle start event
SoccerAgent()
nothing to do. just set NULL to M_client
virtual void handleMessageOffline()
(virtual) handle offline client log message in offline client mode.
Definition: soccer_agent.h:159
virtual void handleTimeout(const int timeout_count, const int waited_msec)=0
(pure virtual) handle timeout event
void setClient(std::shared_ptr< AbstractClient > client)
bool init(CmdLineParser &cmd_parser)
initialize with command line options.
std::shared_ptr< AbstractClient > M_client
interface to the rcssserver or offline log.
Definition: soccer_agent.h:60
virtual ~SoccerAgent()
virtual destructor.
virtual bool initImpl(CmdLineParser &cmd_parser)=0
init interval status using command line options
virtual void handleMessage()=0
(pure virtual) handle server messege
virtual void handleExit()=0
(pure virtual) handle exit event
virtual std::shared_ptr< AbstractClient > createConsoleClient()=0
create standard console client object (online or offline) according to the command line option.