org.arm4.arm40.metric

Class ArmMetricCounter32

public class ArmMetricCounter32 extends ArmMetric implements ArmMetricCounter32

Implements a 32-bit integer counter. It is the same as ARM 2.0 metric type=1 (ARM_Counter32).

Objects implementing this interface are created using ArmMetricFactory.

Version: $Revision$ $Date$

Author: dcarter

Field Summary
protected intm_counter
Constructor Summary
ArmMetricCounter32(ArmMetricDefinition definition)
Create ARM Metric.
Method Summary
intget()
intset(int value)

Field Detail

m_counter

protected int m_counter

Constructor Detail

ArmMetricCounter32

public ArmMetricCounter32(ArmMetricDefinition definition)
Create ARM Metric.

Parameters: definition the descriptive metadata (name, units, usage, ID) for the metric

Method Detail

get

public int get()

set

public int set(int value)