KaCanOpen
 All Classes Functions Variables Typedefs Enumerations Pages
Public Member Functions | List of all members
kaco::EntrySubscriber Class Reference

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>

Inheritance diagram for kaco::EntrySubscriber:
Inheritance graph
[legend]
Collaboration diagram for kaco::EntrySubscriber:
Collaboration graph
[legend]

Public Member Functions

 EntrySubscriber (Device &device, const std::string &entry_name, const WriteAccessMethod access_method=WriteAccessMethod::use_default)
 Constructor. More...
 
void advertise () override
 

Detailed Description

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.

Constructor & Destructor Documentation

kaco::EntrySubscriber::EntrySubscriber ( Device device,
const std::string &  entry_name,
const WriteAccessMethod  access_method = WriteAccessMethod::use_default 
)

Constructor.

Parameters
deviceThe CanOpen device
entry_nameThe name of the entry. See device profile.
access_methodYou can choose default/sdo/pdo method. See kaco::Device docs.

Definition at line 42 of file entry_subscriber.cpp.

Member Function Documentation

void kaco::EntrySubscriber::advertise ( )
overridevirtual
See also
interface Subscriber

Implements kaco::Subscriber.

Definition at line 54 of file entry_subscriber.cpp.


The documentation for this class was generated from the following files: