GT RoboCup SSL
Soccer software, robot firmware
SimRadio Class Reference

Radio IO with robots in the simulator. More...

Public Member Functions

 SimRadio (Context *const context, bool blueTeam=false)
 
virtual bool isOpen () const override
 
virtual void send (Packet::RadioTx &packet) override
 
virtual void receive () override
 
virtual void switchTeam (bool blueTeam) override
 
void stopRobots ()
 
- Public Member Functions inherited from Radio
virtual void channel (int n)
 
int channel () const
 
bool hasReversePackets ()
 
const Packet::RadioRx popReversePacket ()
 
void clear ()
 

Static Public Attributes

static std::size_t instance_count
 

Additional Inherited Members

- Protected Attributes inherited from Radio
std::deque< Packet::RadioRx > _reversePackets
 
std::mutex _reverse_packets_mutex
 
int _channel
 

Detailed Description

Radio IO with robots in the simulator.

+ Inheritance diagram for SimRadio:
+ Collaboration diagram for SimRadio:

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