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

A collection of pointers to CTypeDescriptors. More...

#include <ltkcpp_base.h>

Public Member Functions

EResultCode enroll (const CTypeDescriptor *pTypeDescriptor)
 Add a type descriptor to the registry.
 
const CTypeDescriptorlookupMessage (unsigned int MessageTypeNum) const
 Lookup a standard message type descriptor. NULL=>not found.
 
const CTypeDescriptorlookupParameter (unsigned int ParameterTypeNum) const
 Lookup a standard parameter type descriptor. NULL=>not found.
 
const CTypeDescriptorlookupCustomMessage (unsigned int VendorID, unsigned int MessageSubTypeNum) const
 Lookup a custom message type descriptor. NULL=>not found.
 
const CTypeDescriptorlookupCustomParameter (unsigned int VendorID, unsigned int ParameterSubTypeNum) const
 Lookup a custom parameter type descriptor. NULL=>not found.
 
const CTypeDescriptorlookupByName (char *pName) const
 

Public Attributes

const CTypeDescriptorm_apStdMessageTypeDescriptors [1024u]
 Standard messages subscripted by type number.
 
const CTypeDescriptorm_apStdParameterTypeDescriptors [1024u]
 Standard parameters subscripted by type number.
 
std::list< const
CTypeDescriptor * > 
m_listCustomMessageTypeDescriptors
 List of custom message types.
 
std::list< const
CTypeDescriptor * > 
m_listCustomParameterTypeDescriptors
 List of custom parameters types.
 

Detailed Description

A collection of pointers to CTypeDescriptors.

CTypeRegistry

During decode operations types can be looked up by code (vendor and typenum) or by name.

Definition at line 885 of file ltkcpp_base.h.


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