GT RoboCup SSL
Soccer software, robot firmware
Radio Class Referenceabstract

Sends and receives information to/from our robots. More...

Public Member Functions

virtual bool isOpen () const =0
 
virtual void send (Packet::RadioTx &packet)=0
 
virtual void receive ()=0
 
virtual void switchTeam (bool blueTeam)=0
 
virtual void channel (int n)
 
int channel () const
 
bool hasReversePackets ()
 
const Packet::RadioRx popReversePacket ()
 
void clear ()
 

Protected Attributes

std::deque< Packet::RadioRx > _reversePackets
 
std::mutex _reverse_packets_mutex
 
int _channel
 

Detailed Description

Sends and receives information to/from our robots.

This is the abstract superclass for USBRadio and SimRadio, which do the actual work - this just declares the interface.

+ Inheritance diagram for Radio:
+ Collaboration diagram for Radio:

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