Scalar Value Template.
More...
#include <ScalarVariable.h>
|
| | ScalarVariable (QObject *parent=nullptr) |
| | Constructor. More...
|
| |
| virtual | ~ScalarVariable () |
| | Destructor. More...
|
| |
| void | clearData () |
| |
| bool | hasData () const |
| |
| T | getValue () const |
| |
| std::chrono::nanoseconds | getMTime () const |
| |
| void | inc () |
| | Increments the current value and writes it to the process. More...
|
| |
| 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 | 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...
|
| |
|
| void | newValues (std::chrono::nanoseconds) override |
| | This virtual method is called if the process variable's value changed. More...
|
| |
template<class T>
class QtPdCom::ScalarVariable< T >
Scalar Value Template.
◆ ScalarVariable()
◆ ~ScalarVariable()
◆ clearData()
◆ getMTime()
- Returns
- The current Modification Time.
◆ getValue()
◆ hasData()
◆ inc()
Increments the current value and writes it to the process.
This does not update value directly.
◆ newValues()
◆ dataPresent
There is a process value to display.
◆ mTime
Modification Time of Current value.
◆ value
The documentation for this class was generated from the following file: