yarp-devices
|
A sender delegate that adheres to standard YARP interfaces for CAN.
#include <YarpCanSenderDelegate.hpp>
Public Member Functions | |
YarpCanSenderDelegate (yarp::dev::CanBuffer &_buffer, std::mutex &_bufferMutex, unsigned int &n, unsigned int size) | |
Constructor, takes a reference to an existing CAN message buffer. | |
bool | prepareMessage (const can_message &msg) override |
Register CAN message for write. | |
void | reportAvailability (bool available, unsigned int id) override |
Report availability of CAN node. | |
Public Member Functions inherited from roboticslab::ICanSenderDelegate | |
virtual | ~ICanSenderDelegate ()=default |
Virtual destructor. | |