OpenGroup::arm40::Provisional::metric::IArmMetricCounter32 Interface Reference
[ARM 4.0 Metrics, ARM 4.0 Metric Counters]
ArmMetricCounter32 implements a 32-bit integer counter. More...
Inheritance diagram for OpenGroup::arm40::Provisional::metric::IArmMetricCounter32:
Public Member Functions | |
int | get () |
Gets the counter value. | |
int | set (int value) |
Sets the counter value. |
Detailed Description
ArmMetricCounter32 is created with the newArmMetricCounter32() method of ArmMetricFactory.
It is the same as ARM 2.0 metric type=1 (ARM_Counter32
).
Objects implementing this interface are created using IArmMetricFactory.newArmMetricCounter32
Member Function Documentation
int OpenGroup::arm40::Provisional::metric::IArmMetricCounter32::get | ( | ) |
- Returns:
- the counter value.
int OpenGroup::arm40::Provisional::metric::IArmMetricCounter32::set | ( | int | value | ) |
- Parameters:
-
value new counter value.
- Returns:
- 0 on sucess; otherwise, a non-zero error code is returned (as specified in OpenGroup.arm40.Provisional.transaction.IArmInterface
The documentation for this interface was generated from the following file:
- opengroup/arm40/provisional/metric/IArmMetricCounter32.cs