public class ArmMetricCounter32 extends ArmMetric implements ArmMetricCounter32
ARM_Counter32
).
Objects implementing this interface are created using
ArmMetricFactory.newArmMetricCounter32(org.opengroup.arm40.metric.ArmMetricCounter32Definition)
.Modifier and Type | Field and Description |
---|---|
protected int |
m_counter |
m_errorCode, m_factory
Constructor and Description |
---|
ArmMetricCounter32(ArmMetricDefinition definition)
Create ARM Metric.
|
Modifier and Type | Method and Description |
---|---|
int |
get()
Gets the counter value.
|
int |
set(int value)
Sets the counter value.
|
getDefinition
getErrorCode, getErrorMessage, getFactory, setErrorCode, setFactory
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDefinition
getErrorCode, getErrorMessage, setErrorCode
public ArmMetricCounter32(ArmMetricDefinition definition)
definition
- the descriptive metadata (name, units, usage, ID) for the metricpublic int get()
ArmMetricCounter32
get
in interface ArmMetricCounter32
public int set(int value)
ArmMetricCounter32
set
in interface ArmMetricCounter32
value
- new counter value.ArmInterface
).