yarp-devices
|
Abstract base for a CAN bus sharer.
#include <ICanBusSharer.hpp>
Public Member Functions | |
virtual | ~ICanBusSharer ()=default |
Destructor. | |
virtual unsigned int | getId ()=0 |
Retrieve CAN node ID. | |
virtual std::vector< unsigned int > | getAdditionalIds () |
Retrieve more associated CAN node IDs, if any. | |
virtual bool | initialize ()=0 |
Perform CAN node initialization. | |
virtual bool | finalize ()=0 |
Finalize CAN node communications. | |
virtual bool | registerSender (ICanSenderDelegate *sender)=0 |
Pass a handle to a CAN sender delegate instance. | |
virtual bool | synchronize (double timestamp)=0 |
Perform synchronized action on CAN master's request. | |
Public Member Functions inherited from roboticslab::ICanMessageNotifier | |
virtual | ~ICanMessageNotifier ()=default |
Virtual destructor. | |
virtual bool | notifyMessage (const can_message &msg)=0 |
Notify observers that a new CAN message has arrived. | |