#include <gateway.h>
Public Member Functions | |
virtual bool | connect ()=0 |
virtual bool | isConnected ()=0 |
virtual void | queue (const Message &msg)=0 |
virtual bool | recv (Message *msg)=0 |
virtual bool | sendAllQueued ()=0 |
virtual bool puma_motor_driver::Gateway::connect | ( | ) | [pure virtual] |
Implemented in puma_motor_driver::SocketCANGateway, and puma_motor_driver::SerialGateway.
virtual bool puma_motor_driver::Gateway::isConnected | ( | ) | [pure virtual] |
Implemented in puma_motor_driver::SocketCANGateway, and puma_motor_driver::SerialGateway.
virtual void puma_motor_driver::Gateway::queue | ( | const Message & | msg | ) | [pure virtual] |
Queue specified message to be sent on the bus.
Implemented in puma_motor_driver::SocketCANGateway, and puma_motor_driver::SerialGateway.
virtual bool puma_motor_driver::Gateway::recv | ( | Message * | msg | ) | [pure virtual] |
Receive the next available message from the bus, blocking for timeout_millis if nonzero.
Implemented in puma_motor_driver::SocketCANGateway, and puma_motor_driver::SerialGateway.
virtual bool puma_motor_driver::Gateway::sendAllQueued | ( | ) | [pure virtual] |
Send the queued messages on the bus.
Implemented in puma_motor_driver::SocketCANGateway, and puma_motor_driver::SerialGateway.