TSDuck v3.40-3963
MPEG Transport Stream Toolkit
|
Implementation of a state value. More...
#include <tsSignalState.h>
Public Member Functions | |
Value (int64_t v=0, Unit u=Unit::COUNTER) | |
Constructor. | |
virtual UString | toString () const override |
Convert to a string object. | |
Public Attributes | |
Unit | unit |
The unit of value. | |
int64_t | value |
The value. | |
Implementation of a state value.
Since different operating systems or drivers may return different units, there is no standard way to represent values. Each value comes with its unit.
|
inlineexplicit |
Constructor.
[in] | v | Initial value. |
[in] | u | Unit of v. |
|
overridevirtual |
Convert to a string object.
Implements ts::StringifyInterface.