#include <Tank.h>
|
| TankMedium (Tank *) |
|
| ~TankMedium () |
|
void | setLevelVariable (PdCom::Variable pv, const PdCom::Selector &selector={}, const QtPdCom::Transmission &=QtPdCom::event_mode, double scale=1.0, double offset=0.0, double tau=0.0) |
| Subscribe to a process variable. More...
|
|
void | setLevelVariable (PdCom::Process *process, const QString &path, const PdCom::Selector &selector={}, const QtPdCom::Transmission &=QtPdCom::event_mode, double scale=1.0, double offset=0.0, double tau=0.0) |
| Subscribe to a process variable. More...
|
|
void | setVolumeVariable (PdCom::Variable pv, const PdCom::Selector &selector={}, const QtPdCom::Transmission &=QtPdCom::event_mode, double scale=1.0, double offset=0.0, double tau=0.0) |
| Subscribe to a process variable. More...
|
|
void | setVolumeVariable (PdCom::Process *process, const QString &path, const PdCom::Selector &selector={}, const QtPdCom::Transmission &=QtPdCom::event_mode, double scale=1.0, double offset=0.0, double tau=0.0) |
| Subscribe to a process variable. More...
|
|
void | clearLevelVariable () |
| Unsubscribe from a Variable. More...
|
|
void | clearVolumeVariable () |
| Unsubscribe from a Variable. More...
|
|
QColor | getColor () const |
|
void | setColor (QColor) |
|
◆ TankMedium()
TankMedium::TankMedium |
( |
Tank * |
tank | ) |
|
◆ ~TankMedium()
TankMedium::~TankMedium |
( |
| ) |
|
◆ clearLevelVariable()
void TankMedium::clearLevelVariable |
( |
| ) |
|
◆ clearVolumeVariable()
void TankMedium::clearVolumeVariable |
( |
| ) |
|
◆ getColor()
QColor TankMedium::getColor |
( |
| ) |
const |
◆ setColor()
void TankMedium::setColor |
( |
QColor |
c | ) |
|
◆ setLevelVariable() [1/2]
void TankMedium::setLevelVariable |
( |
PdCom::Variable |
pv, |
|
|
const PdCom::Selector & |
selector = {} , |
|
|
const QtPdCom::Transmission & |
transmission = QtPdCom::event_mode , |
|
|
double |
scale = 1.0 , |
|
|
double |
offset = 0.0 , |
|
|
double |
tau = 0.0 |
|
) |
| |
Subscribe to a process variable.
Subscribes to a ProcessVariable.
- Parameters
-
pv | Process variable. |
selector | Selector. |
transmission | Transmission. |
scale | Scale factor. |
offset | Offset (applied after scaling). |
tau | PT1 filter time constant. A value less or equal to 0.0 means, that no filter is applied. |
References clearLevelVariable(), and impl.
◆ setLevelVariable() [2/2]
void TankMedium::setLevelVariable |
( |
PdCom::Process * |
process, |
|
|
const QString & |
path, |
|
|
const PdCom::Selector & |
selector = {} , |
|
|
const QtPdCom::Transmission & |
transmission = QtPdCom::event_mode , |
|
|
double |
scale = 1.0 , |
|
|
double |
offset = 0.0 , |
|
|
double |
tau = 0.0 |
|
) |
| |
Subscribe to a process variable.
Subscribes to a ProcessVariable.
- Parameters
-
process | Process. |
path | Variable path. |
selector | Selector. |
transmission | Transmission. |
scale | Scale factor. |
offset | Offset (applied after scaling). |
tau | PT1 filter time constant. A value less or equal to 0.0 means, that no filter is applied. |
References clearLevelVariable(), and impl.
◆ setVolumeVariable() [1/2]
void TankMedium::setVolumeVariable |
( |
PdCom::Variable |
pv, |
|
|
const PdCom::Selector & |
selector = {} , |
|
|
const QtPdCom::Transmission & |
transmission = QtPdCom::event_mode , |
|
|
double |
scale = 1.0 , |
|
|
double |
offset = 0.0 , |
|
|
double |
tau = 0.0 |
|
) |
| |
Subscribe to a process variable.
Subscribes to a ProcessVariable.
- Parameters
-
pv | Process variable. |
selector | Selector. |
transmission | Transmission. |
scale | Scale factor. |
offset | Offset (applied after scaling). |
tau | PT1 filter time constant. A value less or equal to 0.0 means, that no filter is applied. |
References clearVolumeVariable(), and impl.
◆ setVolumeVariable() [2/2]
void TankMedium::setVolumeVariable |
( |
PdCom::Process * |
process, |
|
|
const QString & |
path, |
|
|
const PdCom::Selector & |
selector = {} , |
|
|
const QtPdCom::Transmission & |
transmission = QtPdCom::event_mode , |
|
|
double |
scale = 1.0 , |
|
|
double |
offset = 0.0 , |
|
|
double |
tau = 0.0 |
|
) |
| |
Subscribe to a process variable.
Subscribes to a ProcessVariable.
- Parameters
-
process | Process. |
path | Variable path. |
selector | Selector. |
transmission | Transmission. |
scale | Scale factor. |
offset | Offset (applied after scaling). |
tau | PT1 filter time constant. A value less or equal to 0.0 means, that no filter is applied. |
References clearVolumeVariable(), and impl.
◆ Tank
◆ Impl
◆ impl
std::unique_ptr<Impl> Pd::TankMedium::impl |
|
private |
The documentation for this class was generated from the following files: