|
DAQ
1.0.0
Data Acquisition System (basic demo)
|
The VarValue class define a readed value. More...
#include <varvalue.h>

Public Member Functions | |
| VarValue ()=default | |
| VarValue (const Variable &variable, double val, std::uint64_t ts) | |
| VarValue (Variable &&variable, double &&val, std::uint64_t &&ts) | |
| VarValue (VarValue &&var) noexcept | |
| VarValue (const VarValue &var)=default | |
| const Variable & | variable () const noexcept |
| void | set_vaiable (const Variable &var) noexcept |
| double | val () const noexcept |
| void | set_val (double val) noexcept |
| std::uint64_t | timestamp () const noexcept |
| void | set_timestamp (std::uint64_t ts) noexcept |
| const std::string & | name () const noexcept |
| VarValue | DeepCopy () |
Private Attributes | |
| Variable | variable_ |
| double | val_ |
| std::uint64_t | timestamp_ |
The VarValue class define a readed value.
A read value is always related to a variable, for a better understanding check out the following MER diagram.
|
default |
| VarValue::VarValue | ( | const Variable & | variable, |
| double | val, | ||
| std::uint64_t | ts | ||
| ) |
| VarValue::VarValue | ( | Variable && | variable, |
| double && | val, | ||
| std::uint64_t && | ts | ||
| ) |

|
noexcept |
|
default |
|
inline |

|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
private |
|
private |
|
private |
1.8.11