Class Gateway

Inheritance Relationships

Derived Types

Class Documentation

class Gateway

Subclassed by puma_motor_driver::SerialGateway, puma_motor_driver::SocketCANGateway

Public Functions

virtual bool connect() = 0
virtual bool isConnected() const = 0
virtual void queue(const Message &msg) = 0

Queue specified message to be sent on the bus.

virtual bool recv(Message *msg) = 0

Receive the next available message from the bus, blocking for timeout_millis if nonzero.

Returns:

True if a message was returned false if timeout occurred.