46 class CVendorDescriptor;
47 class CNamespaceDescriptor;
48 class CTypeDescriptor;
49 class CFieldDescriptor;
50 struct SEnumTableEntry;
106 unsigned int nValue);
149 unsigned int nValue);
192 unsigned int nValue);
235 unsigned int nValue);
278 unsigned int nValue);
321 unsigned int nValue);
364 unsigned int nValue);
407 unsigned int nValue);
493 unsigned int nValue);
536 unsigned int nValue);
570 llrp_u8_t m_aValue[12];
665 unexpectedParameter (
673 resultCodeAndWhatStr (
675 const char * pWhatStr);
783 (*m_pfConstruct)(void);
787 (*m_pfDecodeFields) (
796 return (*m_pfConstruct)();
812 FT_U8, FT_S8, FT_U8V, FT_S8V,
813 FT_U16, FT_S16, FT_U16V, FT_S16V,
814 FT_U32, FT_S32, FT_U32V, FT_S32V,
815 FT_U64, FT_S64, FT_U64V, FT_S64V,
817 FT_U1, FT_U1V, FT_U2, FT_U96,
820 FT_E1, FT_E2, FT_E8, FT_E16, FT_E32,
866 struct SEnumTableEntry
908 unsigned int MessageTypeNum)
const;
913 unsigned int ParameterTypeNum)
const;
917 lookupCustomMessage (
918 unsigned int VendorID,
919 unsigned int MessageSubTypeNum)
const;
923 lookupCustomParameter (
924 unsigned int VendorID,
925 unsigned int ParameterSubTypeNum)
const;
936 typedef std::list<CParameter *> tListOfParameters;
994 addSubParameterToAllList (
1006 removeSubParameterFromAllList (
1017 clearSubParameterList (
1018 tListOfParameters * pParameterList);
1028 int nMaxDepth)
const;
1066 assimilateSubParameters (
1098 llrp_u32_t MessageID)
1100 m_MessageID = MessageID;
1113 llrp_u32_t m_MessageID;
1147 isAllowedExtension (
1222 decodeMessage (
void) = 0;
1411 unsigned int nBits) = 0;
1458 putRequiredSubParameter (
1467 putOptionalSubParameter (
1476 putRequiredSubParameterList (
1477 const tListOfParameters * pParameterList,
1485 putOptionalSubParameterList (
1486 const tListOfParameters * pParameterList,
1772 unsigned int nBits) = 0;
CElement * constructElement(void) const
Convenience function.
const char * m_pName
Short name for the vendor, e.g. "Acme".
This is the base class for all parameter and message types.
char * m_pName
String name of field (e.g. "ROSpecID")
const CTypeDescriptor * m_pType
The type descriptor desribing this element.
llrp_s64_t * m_pValue
Pointer to the first array element.
llrp_u16_t m_nValue
The number of arrray elements.
Class for LLRP basic type bytesToEnd (vector of unsigned bytes)
llrp_u8_t * m_pValue
Pointer to the first array element.
Class for LLRP basic type s8v (List of signed 8-bit values)
FieldType
Describes the basic field type.
Class for LLRP basic type u16v (List of unsigned 16-bit values)
FieldFormat m_eFieldFormat
A code for how the field should be formatted.
CErrorDetails m_ErrorDetails
The error details from the last decode operation.
const CFieldDescriptor * m_pRefField
If non-NULL this is the field descriptors for the errored field.
llrp_s32_t * m_pValue
Pointer to the first array element.
llrp_u8_t * m_pValue
Pointer to the first array element.
const CTypeDescriptor * m_pRefType
If non-NULL this is the type descriptors for the errored type.
EResultCode m_eResultCode
Result code from operation.
Class for LLRP basic type u96 (96-bit value)
llrp_u32_t m_TypeNum
Type number or, for custom, subtype number.
const char * m_pWhatStr
Descriptive printable error string.
Class for LLRP basic type s32v (vector of signed 32-bit values)
EResultCode
Error result codes for LTK operations.
FieldFormat
Describes the fields display format.
const CFieldDescriptor *const *const m_ppFieldDescriptorTable
Table of pointers to the field descriptors.
Class for LLRP basic type s64v (vector of signed 64-bit values)
llrp_u16_t m_nValue
The number of arrray elements.
llrp_u16_t m_nValue
The number of arrray elements.
llrp_u16_t m_nValue
The number of arrray elements.
llrp_s16_t * m_pValue
Pointer to the first array element.
A collection of pointers to CTypeDescriptors.
std::list< const CTypeDescriptor * > m_listCustomParameterTypeDescriptors
List of custom parameters types.
Describes the namespae information for converting LLRP messages to LTK-XML.
llrp_u8v_t & operator=(const llrp_u8v_t &rValue)
Assignement operator. Used to copy an existing instance.
~llrp_u8v_t(void)
Destructor. Deletes m_pValue in cases where it is allocated.
const char * m_pPrefix
Short name for the namespace, e.g. "acmeNS".
llrp_u16_t m_nValue
The number of arrray elements.
llrp_u16_t m_nValue
The number of arrray elements.
llrp_u64_t * m_pValue
Pointer to the first array element.
FieldType m_eFieldType
A code for the field type.
CElement * m_pParent
Element that encloses this one, NULL if this is top-level element.
Class for LLRP basic type s16v (List of signed 16-bit values)
llrp_u16_t m_nValue
The number of arrray elements.
const CVendorDescriptor * m_pVendorDescriptor
NULL=>standard LLRP, !NULL=>Vendor (PEN) of custom message or parameter.
Class for LLRP basic type utf8v (vector of utf-8 encoded characters)
llrp_u16_t m_nBit
The number of arrray elements.
Class for LLRP basic type u1v (vector of unsigned 1-bit values)
const SEnumTableEntry * m_pEnumTable
NULL or ptr to table base for enumerated fields.
Class that encodes internal LTK CElements into messages.
Describes the vendor information for vendor extension classes.
llrp_u32_t m_VendorID
Vendor PEN of a custom message or parameter.
llrp_u16_t m_nValue
The number of arrray elements.
llrp_u16_t m_nValue
The number of arrray elements.
const CTypeDescriptor * m_pResponseType
For messages (bIsMessage==TRUE), this is the type descriptor for the corresponding response...
Class to return error details in LTKCPP operations.
llrp_u32_t getMessageID(void) const
Gets the current LLRP Message ID for the Message.
char * m_pName
String name of parameter/message type (e.g. "ROSpec")
llrp_u16_t m_nValue
The number of arrray elements.
const char * m_pURI
URI for the namespace, this is the true namespace name.
std::list< const CTypeDescriptor * > m_listCustomMessageTypeDescriptors
List of custom message types.
const CNamespaceDescriptor * m_pNamespaceDescriptor
Namespace of message or parameter, for XML.
llrp_u16_t * m_pValue
Pointer to the first array element.
Base Class for All LLRP LTK Parameters.
llrp_byte_t * m_pValue
Pointer to the first array element.
Base Class for All LLRP LTK Messages.
Class for LLRP basic type u8v (List of unsigned 8-bit values)
Describes a single field inside an LTKCPP message or parameters.
Class for LLRP basic type u32v (vector of unsigned 32-bit values)
llrp_u32_t * m_pValue
Pointer to the first array element.
llrp_u8v_t(void)
Default Constructer. Sets members fields to zero.
llrp_s8_t * m_pValue
Pointer to the first array element.
void setMessageID(llrp_u32_t MessageID)
Sets the LLRP Message ID for the Message.
CErrorDetails m_ErrorDetails
internal storage of encoding errors
Class for LLRP basic type u64v (vector of unsigned 64-bit values)
tListOfParameters m_listAllSubParameters
List of all sub elements.
const char * m_pSchemaLocation
URI for the XSD (schema) for custom parameters and messages defined within the namespace.
llrp_utf8_t * m_pValue
Pointer to the first array element.
Class that decodes messages into internal LTK CElements.
llrp_bool_t m_bIsMessage
TRUE for a message type, FALSE for a parameter type.
Describes a message or parameter type.