blmc_drivers
|
CanBusInterface is an abstract class that defines an API for the communication via Can bus. More...
#include <can_bus.hpp>
Public Types | |
typedef real_time_tools::ThreadsafeTimeseries< CanBusFrame > | CanframeTimeseries |
CanframeTimeseries is a simple sohortcut. | |
Public Member Functions | |
virtual | ~CanBusInterface () |
Destroy the CanBusInterface object. | |
virtual std::shared_ptr< const CanframeTimeseries > | get_output_frame () const =0 |
getters More... | |
virtual std::shared_ptr< const CanframeTimeseries > | get_input_frame ()=0 |
Get the input frame. More... | |
virtual std::shared_ptr< const CanframeTimeseries > | get_sent_input_frame ()=0 |
Get the sent input frame. More... | |
virtual void | set_input_frame (const CanBusFrame &input_frame)=0 |
setters More... | |
virtual void | send_if_input_changed ()=0 |
Sender. More... | |
CanBusInterface is an abstract class that defines an API for the communication via Can bus.
|
pure virtual |
Get the input frame.
Implemented in blmc_drivers::CanBus.
|
pure virtual |
getters
Get the output frame
Implemented in blmc_drivers::CanBus.
|
pure virtual |
Get the sent input frame.
Implemented in blmc_drivers::CanBus.
|
pure virtual |
|
pure virtual |
setters
Set the input frame saves the input frame to be sent in a queue.
input_frame |
Implemented in blmc_drivers::CanBus.