Robot
The embedded systems for UTRA's autonomous humanoid soccer-playing robot
pc_interface::PcInterface Class Reference
Collaboration diagram for pc_interface::PcInterface:

Public Member Functions

 PcInterface (Protocol_e _protocol)
 
bool setup ()
 
bool receive ()
 
bool transmit ()
 
bool getRxBuffer (uint8_t *_rxArray) const
 
bool setTxBuffer (const uint8_t *_txArray)
 
Protocol_e getProtocol ()
 
bool setUdpInterface (udp_interface::UdpInterface *_udpInterface)
 
udp_interface::UdpInterfacegetUdpInterface () const
 

Private Attributes

const Protocol_e protocol = UDP
 
uint8_t rxBuffer [PC_INTERFACE_BUFFER_SIZE] = {}
 
uint8_t txBuffer [PC_INTERFACE_BUFFER_SIZE] = {}
 
udp_interface::UdpInterfaceudpInterface = nullptr
 

Friends

class PcInterfaceTester
 

Detailed Description

Definition at line 31 of file PcInterface.h.


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