Abstract Scalar Value.
More...
#include <ScalarVariable.h>
|
| template<typename T > |
| std::enable_if< std::is_arithmetic< T >::value, void >::type | copyData (T &dest) const |
| |
| | ScalarSubscriber () |
| | Constructor. More...
|
| |
| virtual | ~ScalarSubscriber () |
| | Destructor. More...
|
| |
| void | setVariable (PdCom::Variable pv, const PdCom::Selector &selector={}, const Transmission &=event_mode, double scale=1.0, double offset=0.0, double tau=0.0) |
| | Subscribe to a process variable via variable. More...
|
| |
| void | setVariable (PdCom::Process *process, const QString &path, const PdCom::Selector &selector={}, const Transmission &=event_mode, double scale=1.0, double offset=0.0, double tau=0.0) |
| | Subscribe to a process variable via process and path. More...
|
| |
| void | clearVariable () |
| | Unsubscribe from a Variable. More...
|
| |
| bool | hasVariable () const |
| | Subscription active. More...
|
| |
| virtual void | newValues (std::chrono::nanoseconds)=0 |
| |
| virtual void | stateChange (PdCom::Subscription::State) |
| |
| template<class T > |
| void | writeValue (T) |
| | Write a value to the process. More...
|
| |
| double | getFilterConstant () const |
| |
| PdCom::Variable | getVariable () const |
| |
| const void * | getData () const |
| |
| Q_INVOKABLE bool | poll () |
| | Poll an active subscription. More...
|
| |
◆ copyData()
template<typename T >
| std::enable_if<std::is_arithmetic<T>::value, void>::type QtPdCom::AbstractScalarVariable::copyData |
( |
T & |
dest | ) |
const |
|
inline |
◆ valueChanged
| void QtPdCom::AbstractScalarVariable::valueChanged |
( |
| ) |
|
|
signal |
Emitted, when the value changes, or the variable is disconnected.
The documentation for this class was generated from the following file: