PdCom
5.3
Process data communication client
|
Transmission mode for subscriptions. More...
#include <Subscriber.h>
Public Member Functions | |
constexpr double | getInterval () const noexcept |
template<typename T , typename R > | |
constexpr | Transmission (std::chrono::duration< T, R > d) |
constexpr | Transmission (event_mode_tag) noexcept |
constexpr | Transmission (poll_mode_tag) noexcept |
bool | operator== (const Transmission &o) const noexcept |
Static Public Member Functions | |
static constexpr Transmission | fromDouble (double d) |
Transmission mode for subscriptions.
This class specifies whether a Subscriber should get new values periodically, event-based or by polling only. Therefore, it is passed to the Subscribers' constructor. All Subscriptions registered with that subscriber will share the given transmission mode.