|
LTKCPP-- LLRP Toolkit C Plus Plus Library
|
Describes a message or parameter type. More...
#include <ltkcpp_base.h>
Public Member Functions | |
| CElement * | constructElement (void) const |
| Convenience function. | |
Public Attributes | |
| llrp_bool_t | m_bIsMessage |
| TRUE for a message type, FALSE for a parameter type. | |
| char * | m_pName |
| String name of parameter/message type (e.g. "ROSpec") | |
| const CVendorDescriptor * | m_pVendorDescriptor |
| NULL=>standard LLRP, !NULL=>Vendor (PEN) of custom message or parameter. | |
| const CNamespaceDescriptor * | m_pNamespaceDescriptor |
| Namespace of message or parameter, for XML. | |
| llrp_u32_t | m_TypeNum |
| Type number or, for custom, subtype number. | |
| const CTypeDescriptor * | m_pResponseType |
| For messages (bIsMessage==TRUE), this is the type descriptor for the corresponding response. NULL for a request or notification. | |
|
const CFieldDescriptor *const *const | m_ppFieldDescriptorTable |
| Table of pointers to the field descriptors. | |
| CElement *(* | m_pfConstruct )(void) |
| Function to make an instance of the parameter or message. | |
| void(* | m_pfDecodeFields )(CDecoderStream *pDecoderStream, CElement *pTargetElement) |
| Decoder, sometimes used when we want to decode w/o an instance. | |
Describes a message or parameter type.
+--------------------—+ | | | CTypeDescriptor -----—+ m_ppFieldDescriptorTable | | | +--------------------—+ | | +----------------—+ V +--------------------—+ | | [field number] ~ CFieldDescriptor *[] -----—+ | | | +--------------------—+ | | +----------------—+ V +--------------------—+ | | Optional m_pEnumTable | CFieldDescriptor -----—+ | | | +--------------------—+ | | +----------------—+ V +--------------------—+ | | | SEnumTableEntry[] | | | +--------------------—+
Definition at line 755 of file ltkcpp_base.h.
1.8.6