Public Member Functions
puma_motor_driver::Gateway Class Reference

#include <gateway.h>

Inheritance diagram for puma_motor_driver::Gateway:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

Definition at line 36 of file gateway.h.


Member Function Documentation

virtual bool puma_motor_driver::Gateway::connect ( ) [pure virtual]
virtual bool puma_motor_driver::Gateway::isConnected ( ) [pure virtual]
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.

Returns:
True if a message was returned false if timeout occurred.

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.


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


puma_motor_driver
Author(s):
autogenerated on Sat Jun 8 2019 18:55:15