arm4::ArmMetricGauge64 Class Reference
[ARM 4.0 Metric Gauges]
Implements a 64-bit integer gauge. More...
Inheritance diagram for arm4::ArmMetricGauge64:
Public Member Functions | |
| ArmMetricGauge64 (const ArmMetricGauge64Definition &definition) | |
| Constructs a new metric instance. | |
| int64_t | get () const |
| Gets the gauge value. | |
| int32_t | set (int64_t value) |
| Sets the gauge value. | |
Detailed Description
Implements a 64-bit integer gauge.
It is the same as ARM 2.0 metric type=5 (ARM_Gauge64).
Constructor & Destructor Documentation
| arm4::ArmMetricGauge64::ArmMetricGauge64 | ( | const ArmMetricGauge64Definition & | definition | ) | [inline] |
Constructs a new metric instance.
- Parameters:
-
definition the metadata describing this metric.
Member Function Documentation
| int64_t arm4::ArmMetricGauge64::get | ( | ) | const [inline] |
Gets the gauge value.
- Returns:
- the gauge value.
| int32_t arm4::ArmMetricGauge64::set | ( | int64_t | value | ) | [inline] |
Sets the gauge value.
- Parameters:
-
value new gauge value.
- Returns:
- 0 on sucess; otherwise, a non-zero error code is returned (as specified in ArmInterface).
The documentation for this class was generated from the following file:
- Arm4/ArmMetricGauge64
