yarp-devices
Public Member Functions | List of all members
roboticslab::ICanSenderDelegate Class Referenceabstract

Implementation-agnostic consumer for TX CAN transfers. More...

#include <ICanSenderDelegate.hpp>

Inheritance diagram for roboticslab::ICanSenderDelegate:
roboticslab::YarpCanSenderDelegate roboticslab::test::FakeCanSenderDelegate

Public Member Functions

virtual ~ICanSenderDelegate ()=default
 Virtual destructor.
 
virtual bool prepareMessage (const can_message &msg)=0
 Register CAN message for write.
 
virtual void reportAvailability (bool available, unsigned int id)=0
 Report availability of CAN node.
 

Detailed Description

Implementors can use this class to forward implementation-specific CAN message structures from the point of creation down to the internal TX buffer (if any) and the final CAN write routines.

Cf. ICanMessageNotifier.


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