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.
|
getDefinitiongetErrorCode, getErrorMessage, getFactory, setErrorCode, setFactoryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDefinitiongetErrorCode, getErrorMessage, setErrorCodepublic ArmMetricCounter32(ArmMetricDefinition definition)
definition - the descriptive metadata (name, units, usage, ID) for the metricpublic int get()
ArmMetricCounter32get in interface ArmMetricCounter32public int set(int value)
ArmMetricCounter32set in interface ArmMetricCounter32value - new counter value.ArmInterface).