This class provides a Publisher implementation for use with kaco::Bridge. It publishes a value from a device's dictionary. More...
#include <entry_publisher.h>
Public Member Functions | |
EntryPublisher (Device &device, const std::string &entry_name, const ReadAccessMethod access_method=ReadAccessMethod::use_default) | |
Constructor. More... | |
void | advertise () override |
void | publish () override |
This class provides a Publisher implementation for use with kaco::Bridge. It publishes a value from a device's dictionary.
Definition at line 45 of file entry_publisher.h.
kaco::EntryPublisher::EntryPublisher | ( | Device & | device, |
const std::string & | entry_name, | ||
const ReadAccessMethod | access_method = ReadAccessMethod::use_default |
||
) |
Constructor.
device | The CanOpen device |
entry_name | The name of the entry. See device profile. |
access_method | You can choose default/sdo/pdo method. See kaco::Device docs. |
Definition at line 51 of file entry_publisher.cpp.
|
overridevirtual |
Implements kaco::Publisher.
Definition at line 63 of file entry_publisher.cpp.
|
overridevirtual |
Implements kaco::Publisher.
Definition at line 100 of file entry_publisher.cpp.