The structure is used to store the information about the variables to be used in the trap. More...
#include <clAlarmUtils.h>
Public Attributes | |
ClUint32T | length |
Number of bytes the attribute would hold. | |
ClCorTypeT | type |
Data type of the attribute. | |
ClPtrT | value |
Value of the attribute. |
The structure is used to store the information about the variables to be used in the trap.
This takes the type of the attribute which is one of the value from the enum ClCorTypeT, the length of the atttribute and the value of the variable. The element value is a pointer which should be allocated of size equal to value of the element length.
ClUint32T ClAlarmUtilTlv::length |
Number of bytes the attribute would hold.
For simple attribute it is the size of the data type. For an array attribute, it is the number of elements multiplied by size of basic type.
ClCorTypeT ClAlarmUtilTlv::type |
Data type of the attribute.
This type is one of the entry of the enum ClCorTypeT.
ClPtrT ClAlarmUtilTlv::value |
Value of the attribute.
This should be allocated of the size equal to the value of "length".