This class provides a Publisher implementation for use with kaco::Bridge. It publishes a value from a device's dictionary. More...
#include <entry_subscriber.h>
Public Member Functions | |
EntrySubscriber (Device &device, const std::string &entry_name, const WriteAccessMethod access_method=WriteAccessMethod::use_default) | |
Constructor. More... | |
void | advertise () override |
This class provides a Publisher implementation for use with kaco::Bridge. It publishes a value from a device's dictionary.
Definition at line 55 of file entry_subscriber.h.
kaco::EntrySubscriber::EntrySubscriber | ( | Device & | device, |
const std::string & | entry_name, | ||
const WriteAccessMethod | access_method = WriteAccessMethod::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 42 of file entry_subscriber.cpp.
|
overridevirtual |
Implements kaco::Subscriber.
Definition at line 54 of file entry_subscriber.cpp.