![]() |
BoB robotics
The Brains on Board robotics library
|
Platform-independent networking functionality, for communicating with robots. More...
Classes | |
class | BadCommandError |
An exception thrown if a command received over the network is badly formed. More... | |
class | Client |
General-purpose TCP client. More... | |
class | Connection |
An abstract class representing a network connection, inherited by Server and Client classes. More... | |
class | IMUNetSource |
class | Server |
A general-purpose TCP server. More... | |
class | Socket |
A class for operating on sockets in a platform-independent way. More... | |
class | SocketClosedError |
An exception thrown if the socket is deliberately being closed. More... | |
Typedefs | |
using | CommandHandler = std::function< void(Connection &, const Command &)> |
A callback function to handle incoming commands over the network. | |
using | ConnectedHandler = std::function< void(Connection &)> |
A callback function which is notified when a connection is made. | |
using | Command = std::vector< std::string > |
Represents a command read from the network. | |
Platform-independent networking functionality, for communicating with robots.