LTKCPP-- LLRP Toolkit C Plus Plus Library
Public Member Functions | Public Attributes | List of all members
LLRP::CTypeDescriptor Class Reference

Describes a message or parameter type. More...

#include <ltkcpp_base.h>

Public Member Functions

CElementconstructElement (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 CVendorDescriptorm_pVendorDescriptor
 NULL=>standard LLRP, !NULL=>Vendor (PEN) of custom message or parameter.
 
const CNamespaceDescriptorm_pNamespaceDescriptor
 Namespace of message or parameter, for XML.
 
llrp_u32_t m_TypeNum
 Type number or, for custom, subtype number.
 
const CTypeDescriptorm_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.
 

Detailed Description

Describes a message or parameter type.

CTypeDescriptor

+--------------------—+ | | | CTypeDescriptor -----—+ m_ppFieldDescriptorTable | | | +--------------------—+ | | +----------------—+ V +--------------------—+ | | [field number] ~ CFieldDescriptor *[] -----—+ | | | +--------------------—+ | | +----------------—+ V +--------------------—+ | | Optional m_pEnumTable | CFieldDescriptor -----—+ | | | +--------------------—+ | | +----------------—+ V +--------------------—+ | | | SEnumTableEntry[] | | | +--------------------—+

Definition at line 755 of file ltkcpp_base.h.


The documentation for this class was generated from the following file: