Abstract Scalar Value.
More...
#include <ScalarVariable.h>
|
| void | valueChanged () |
| | Emitted, when the value changes, or the variable is disconnected.
|
|
| template<typename T> |
| std::enable_if< std::is_arithmetic< T >::value, void >::type | copyData (T &dest) const |
| | ScalarSubscriber () |
| | Constructor.
|
| virtual | ~ScalarSubscriber () |
| | Destructor.
|
| 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.
|
| 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.
|
| void | clearVariable () |
| | Unsubscribe from a Variable.
|
| bool | hasVariable () const |
| | Subscription active.
|
| 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.
|
| double | getFilterConstant () const |
| PdCom::Variable | getVariable () const |
| const void * | getData () const |
| Q_INVOKABLE bool | poll () |
| | Poll an active subscription.
|
◆ 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 |
The documentation for this class was generated from the following file: