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

Base Class for All LLRP LTK Messages. More...

#include <ltkcpp_base.h>

Inheritance diagram for LLRP::CMessage:
LLRP::CElement

Public Member Functions

void setMessageID (llrp_u32_t MessageID)
 Sets the LLRP Message ID for the Message.
 
llrp_u32_t getMessageID (void) const
 Gets the current LLRP Message ID for the Message.
 
- Public Member Functions inherited from LLRP::CElement
void addSubParameterToAllList (CParameter *pParameter)
 Add a subparameter to m_listAllSubParameters. Called by the accessor functions setXXX and addXXX. More...
 
void removeSubParameterFromAllList (CParameter *pParameter)
 Delete a subparameter from m_listAllSubParameters. Called by the accessor functions setXXX (to remove prior reference) clearXXX(). More...
 
void clearSubParameterList (tListOfParameters *pParameterList)
 Clear a list of subparameters. For each entry apply removeSubParameter(). More...
 
int walk (int(*pFunc)(const CElement *pElement, void *pArg), void *pArg, int iDepth, int nMaxDepth) const
 Recursive tree walk. The callback is invoked for each element.
 
EResultCode toXMLString (char *pBuffer, int nBuffer)
 A wrapper around LLRP::toXMLString() More...
 
virtual void decodeFields (CDecoderStream *pDecoderStream)=0
 Virtual function provided by each specific element type to decode fields (simple values). Leaves pDecoderStream at first subparameter. More...
 
virtual void assimilateSubParameters (CErrorDetails *pError)=0
 Assimilates the decoded sub-parameters into m_listAllSubParameters. More...
 
virtual void encode (CEncoderStream *pEncoderStream) const =0
 Encode fields and subparameters. More...
 

Protected Attributes

llrp_u32_t m_MessageID
 

Additional Inherited Members

- Public Attributes inherited from LLRP::CElement
const CTypeDescriptorm_pType
 The type descriptor desribing this element.
 
CElementm_pParent
 Element that encloses this one, NULL if this is top-level element.
 
tListOfParameters m_listAllSubParameters
 List of all sub elements.
 

Detailed Description

Base Class for All LLRP LTK Messages.

Definition at line 1088 of file ltkcpp_base.h.


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