23 #ifndef __TOOLS_REFBOXREP_REFBOX_STATE_SENDER_H_ 24 #define __TOOLS_REFBOXREP_REFBOX_STATE_SENDER_H_ 26 #include <core/threading/thread.h> 27 #include <netcomm/worldinfo/enums.h> 31 class WorldInfoTransceiver;
38 const char *key,
const char *iv,
43 virtual void set_gamestate(
int game_state,
45 virtual void set_score(
unsigned int score_cyan,
unsigned int score_magenta);
49 virtual void add_penalty(
unsigned int player,
unsigned int penalty,
50 unsigned int seconds_remaining);
59 unsigned int __timeout_usec;
76 unsigned int __score_cyan;
77 unsigned int __score_magenta;
86 unsigned int seconds_remaining;
89 std::map<unsigned int, rss_penalty_t> __penalties;
90 std::map<unsigned int, rss_penalty_t>::iterator __pit;
Class to send and receive world information.
RefBox repeater state sender.
Fawkes library namespace.
Thread class encapsulation of pthreads.
worldinfo_gamestate_half_t
Game time half.
worldinfo_gamestate_team_t
Team.
worldinfo_gamestate_goalcolor_t
Goal color.