QtPdCom
1.3.3
|
Transmission mode for subscriptions. More...
#include <Transmission.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, double interval) |
constexpr | Transmission (const Poll &poll) |
bool | operator== (const Transmission &o) const noexcept |
constexpr bool | isContinuous () const |
constexpr bool | isPoll () const |
PdCom::Transmission | toPdCom () const |
QString | toString () const |
Private Types | |
enum | { Poll = -1, Event, Continuous } |
Static Private Member Functions | |
static constexpr double | checkInterval (double d) |
Private Attributes | |
enum QtPdCom::Transmission:: { ... } | mode_ |
double | interval_ |
Transmission mode for subscriptions.
This class specifies whether a subscription should be updated periodically, event-based or by polling only.
|
inline |
|
inlinenoexcept |
|
inline |
|
inline |
|
inlinestaticprivate |
|
inlinenoexcept |
Referenced by QtPdCom::ScalarSubscriber::setVariable().
|
inline |
Referenced by QtPdCom::ScalarSubscriber::setVariable().
|
inline |
Referenced by QtPdCom::ScalarSubscriber::setVariable().
|
inlinenoexcept |
PdCom::Transmission Transmission::toPdCom | ( | ) | const |
References Continuous, Event, QtPdCom::event_mode, interval_, mode_, Poll, and QtPdCom::poll_mode.
Referenced by QtPdCom::ScalarSubscriber::Impl::ScalarSubscription::ScalarSubscription().
QString Transmission::toString | ( | ) | const |
References Continuous, Event, interval_, mode_, and Poll.
Referenced by QtPdCom::ScalarSubscriber::setVariable(), and QtPdCom::TableColumn::setVariable().
|
private |
Referenced by toPdCom(), and toString().
enum { ... } QtPdCom::Transmission::mode_ |
Referenced by toPdCom(), and toString().