yarp-devices
|
Stores registered fake CAN messages and eases access to them.
Public Member Functions | |
bool | prepareMessage (const can_message &msg) override |
Store message data internally. | |
void | reportAvailability (bool available, unsigned int id) override |
Report availability of CAN node. | |
const fake_message & | getLastMessage () const |
Retrieve last message. | |
const fake_message & | getMessage (std::size_t n) const |
Retrieve message at specified index. | |
void | flush () |
Empties internal message registry. | |
Public Member Functions inherited from roboticslab::ICanSenderDelegate | |
virtual | ~ICanSenderDelegate ()=default |
Virtual destructor. | |
Private Attributes | |
std::vector< fake_message > | messages |