arm4::ArmConstants Namespace Reference

Constants that are widely used in the ARM 4.0 interfaces. More...

Variables

const int32_t BLOCK_CAUSE_SYNCHRONOUS_EVENT = 1
const int32_t BLOCK_CAUSE_ASYNCHRONOUS_EVENT = 2
const int32_t CORR_MAX_LENGTH = 512
const int32_t CORR_MIN_LENGTH = 4
const int32_t DIAG_DETAILS_MAX_LENGTH = 4095
const int32_t ID_LENGTH = 16
const int32_t METRIC_MAX_COUNT = 7
const int32_t METRIC_MAX_INDEX = 6
const int32_t METRIC_MIN_INDEX = 0
const int32_t NAME_MAX_LENGTH = 127
const int32_t PROPERTY_MAX_COUNT = 20
const int32_t PROPERTY_MAX_INDEX = 19
const int32_t PROPERTY_MIN_INDEX = 0
const int32_t PROPERTY_NAME_MAX_LENGTH = 127
const int32_t PROPERTY_URI_MAX_LENGTH = 4095
const int32_t PROPERTY_VALUE_MAX_LENGTH = 255
const int32_t STATUS_ABORT = ARM_STATUS_ABORTED
const int32_t STATUS_FAILED = ARM_STATUS_FAILED
const int32_t STATUS_GOOD = ARM_STATUS_GOOD
const int32_t STATUS_INVALID = -1
const int32_t STATUS_UNKNOWN = ARM_STATUS_UNKNOWN
const int64_t USE_CURRENT_TIME = -1

Detailed Description

Constants that are widely used in the ARM 4.0 interfaces.

They are declared in one namespace as a matter of convenience (instead of duplicating them in multiple classes).

Author:
ARM Working Group of The Open Group, MyARM GmbH

Variable Documentation

An asynchronous event caused the block

Since:
ARM 4.1

A synchronous event caused the block

Since:
ARM 4.1

Maximum length of a correlator (currently = 512 bytes)

Minimum length of a correlator (= 4 bytes)

Maximum length of diagnostic details string (currently = 4095 characters)

const int32_t arm4::ArmConstants::ID_LENGTH = 16

Length of all IDs (16 bytes)

Maximum number of metric slots (currently = 7)

Maximum index of a metric slot (currently = 6)

Minimum index of a metric slot (currently = 0)

Maximum chars in app/tran/metric name (currently = 127)

Maximum number of identity and context properties (currently = 20)

Maximum array index of an identity or context property (currently = 19)

Minimum array index of an identity or context property (currently = 0)

Maximum chars in an identity or context property (currently = 127)

Maximum chars in an URI property (currently = 4095)

Maximum chars in an identity or context property (currently = 255)

const int32_t arm4::ArmConstants::STATUS_ABORT = ARM_STATUS_ABORTED

Valid (abort) status value for ArmTranReport and ArmTransaction (=1)

const int32_t arm4::ArmConstants::STATUS_FAILED = ARM_STATUS_FAILED

Valid (failed) status value for ArmTranReport and ArmTransaction (=2)

const int32_t arm4::ArmConstants::STATUS_GOOD = ARM_STATUS_GOOD

Valid (good) status value for ArmTranReport and ArmTransaction (=0)

Status value used when application passes an invalid value (=-1)

const int32_t arm4::ArmConstants::STATUS_UNKNOWN = ARM_STATUS_UNKNOWN

Valid (unknown) status value for ArmTranReport and ArmTransaction (=3)

Used with ArmTranReport (currently = -1)

 All Classes Namespaces Files Functions Variables