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

Class Definition CGeneralDeviceCapabilities for LLRP parameter GeneralDeviceCapabilities. More...

#include <ltkcpp.h>

Inheritance diagram for LLRP::CGeneralDeviceCapabilities:
LLRP::CParameter LLRP::CElement

Public Member Functions

llrp_u16_t getMaxNumberOfAntennaSupported (void)
 Get accessor functions for the LLRP MaxNumberOfAntennaSupported field.
 
void setMaxNumberOfAntennaSupported (llrp_u16_t value)
 Set accessor functions for the LLRP MaxNumberOfAntennaSupported field.
 
llrp_u1_t getCanSetAntennaProperties (void)
 Get accessor functions for the LLRP CanSetAntennaProperties field.
 
void setCanSetAntennaProperties (llrp_u1_t value)
 Set accessor functions for the LLRP CanSetAntennaProperties field.
 
llrp_u1_t getHasUTCClockCapability (void)
 Get accessor functions for the LLRP HasUTCClockCapability field.
 
void setHasUTCClockCapability (llrp_u1_t value)
 Set accessor functions for the LLRP HasUTCClockCapability field.
 
llrp_u32_t getDeviceManufacturerName (void)
 Get accessor functions for the LLRP DeviceManufacturerName field.
 
void setDeviceManufacturerName (llrp_u32_t value)
 Set accessor functions for the LLRP DeviceManufacturerName field.
 
llrp_u32_t getModelName (void)
 Get accessor functions for the LLRP ModelName field.
 
void setModelName (llrp_u32_t value)
 Set accessor functions for the LLRP ModelName field.
 
llrp_utf8v_t getReaderFirmwareVersion (void)
 Get accessor functions for the LLRP ReaderFirmwareVersion field.
 
void setReaderFirmwareVersion (llrp_utf8v_t value)
 Set accessor functions for the LLRP ReaderFirmwareVersion field.
 
std::list
< CReceiveSensitivityTableEntry * >
::iterator 
beginReceiveSensitivityTableEntry (void)
 Returns the first element of the ReceiveSensitivityTableEntry sub-parameter list.
 
std::list
< CReceiveSensitivityTableEntry * >
::iterator 
endReceiveSensitivityTableEntry (void)
 Returns the last element of the ReceiveSensitivityTableEntry sub-parameter list.
 
void clearReceiveSensitivityTableEntry (void)
 Clears the LLRP ReceiveSensitivityTableEntry sub-parameter list.
 
int countReceiveSensitivityTableEntry (void)
 Count of the LLRP ReceiveSensitivityTableEntry sub-parameter list.
 
EResultCode addReceiveSensitivityTableEntry (CReceiveSensitivityTableEntry *pValue)
 Add a ReceiveSensitivityTableEntry to the LLRP sub-parameter list.
 
std::list
< CPerAntennaReceiveSensitivityRange * >
::iterator 
beginPerAntennaReceiveSensitivityRange (void)
 Returns the first element of the PerAntennaReceiveSensitivityRange sub-parameter list.
 
std::list
< CPerAntennaReceiveSensitivityRange * >
::iterator 
endPerAntennaReceiveSensitivityRange (void)
 Returns the last element of the PerAntennaReceiveSensitivityRange sub-parameter list.
 
void clearPerAntennaReceiveSensitivityRange (void)
 Clears the LLRP PerAntennaReceiveSensitivityRange sub-parameter list.
 
int countPerAntennaReceiveSensitivityRange (void)
 Count of the LLRP PerAntennaReceiveSensitivityRange sub-parameter list.
 
EResultCode addPerAntennaReceiveSensitivityRange (CPerAntennaReceiveSensitivityRange *pValue)
 Add a PerAntennaReceiveSensitivityRange to the LLRP sub-parameter list.
 
CGPIOCapabilitiesgetGPIOCapabilities (void)
 Get accessor functions for the LLRP GPIOCapabilities sub-parameter.
 
EResultCode setGPIOCapabilities (CGPIOCapabilities *pValue)
 Set accessor functions for the LLRP GPIOCapabilities sub-parameter.
 
std::list
< CPerAntennaAirProtocol * >
::iterator 
beginPerAntennaAirProtocol (void)
 Returns the first element of the PerAntennaAirProtocol sub-parameter list.
 
std::list
< CPerAntennaAirProtocol * >
::iterator 
endPerAntennaAirProtocol (void)
 Returns the last element of the PerAntennaAirProtocol sub-parameter list.
 
void clearPerAntennaAirProtocol (void)
 Clears the LLRP PerAntennaAirProtocol sub-parameter list.
 
int countPerAntennaAirProtocol (void)
 Count of the LLRP PerAntennaAirProtocol sub-parameter list.
 
EResultCode addPerAntennaAirProtocol (CPerAntennaAirProtocol *pValue)
 Add a PerAntennaAirProtocol to the LLRP sub-parameter list.
 
- Public Member Functions inherited from LLRP::CParameter
virtual llrp_bool_t isAllowedIn (const CTypeDescriptor *pEnclosingTypeDescriptor) const
 Validate whether the element is allowed as a base type in the enclosing element. More...
 
llrp_bool_t isAllowedExtension (const CTypeDescriptor *pEnclosingTypeDescriptor)
 Validate whether the element is allowed as an extension in the enclosing element. More...
 
- 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...
 

Protected Attributes

llrp_u16_t m_MaxNumberOfAntennaSupported
 
llrp_u1_t m_CanSetAntennaProperties
 
llrp_u1_t m_HasUTCClockCapability
 
llrp_u32_t m_DeviceManufacturerName
 
llrp_u32_t m_ModelName
 
llrp_utf8v_t m_ReaderFirmwareVersion
 
std::list
< CReceiveSensitivityTableEntry * > 
m_listReceiveSensitivityTableEntry
 
std::list
< CPerAntennaReceiveSensitivityRange * > 
m_listPerAntennaReceiveSensitivityRange
 
CGPIOCapabilitiesm_pGPIOCapabilities
 
std::list
< CPerAntennaAirProtocol * > 
m_listPerAntennaAirProtocol
 

Internal Framework Functions

static const CFieldDescriptor
*const 
s_apFieldDescriptorTable []
 
static const CTypeDescriptor s_typeDescriptor
 
static const CFieldDescriptor s_fdMaxNumberOfAntennaSupported
 
static const CFieldDescriptor s_fdCanSetAntennaProperties
 
static const CFieldDescriptor s_fdHasUTCClockCapability
 
static const CFieldDescriptor s_fdDeviceManufacturerName
 
static const CFieldDescriptor s_fdModelName
 
static const CFieldDescriptor s_fdReaderFirmwareVersion
 
void decodeFields (CDecoderStream *pDecoderStream)
 Virtual function provided by each specific element type to decode fields (simple values). Leaves pDecoderStream at first subparameter. More...
 
void assimilateSubParameters (CErrorDetails *pError)
 Assimilates the decoded sub-parameters into m_listAllSubParameters. More...
 
void encode (CEncoderStream *pEncoderStream) const
 Encode fields and subparameters. More...
 
static CElements_construct (void)
 
static void s_decodeFields (CDecoderStream *pDecoderStream, CElement *pElement)
 

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

Class Definition CGeneralDeviceCapabilities for LLRP parameter GeneralDeviceCapabilities.

Document Reference LLRP Specification Section 9.1.2

Document Reference LLRP Specification Section 16.2.3.1

<p>This parameter carries the general capabilities of the device like supported air protocols, version of the Reader firmware, device hardware and software information, and receive sensitivity table. </p> 

  <SMALL><i>Copyright 2006, 2007, EPCglobal Inc. The proprietary text of EPCglobal Inc. included here is in not a Contribution to the LLRP toolkit, under Apache License, Version 2.0. The right to use the proprietary text is limited to reproduction and display thereof within the work.</i></SMALL> 

Definition at line 7134 of file ltkcpp.h.

Member Function Documentation

void LLRP::CGeneralDeviceCapabilities::assimilateSubParameters ( CErrorDetails pError)
virtual

Assimilates the decoded sub-parameters into m_listAllSubParameters.

After fields are decoded, the CDecoder itself takes care of gathering the subparameters into m_listAllSubParameters. Once the end of the enclosing TLV (or message) is reached this assimilateSubParameters() function is called to create parameter refrences from the primary member variables.

Parameters
[out]pErrorError details for encoded stream

Implements LLRP::CElement.

void LLRP::CGeneralDeviceCapabilities::decodeFields ( CDecoderStream pDecoderStream)
virtual

Virtual function provided by each specific element type to decode fields (simple values). Leaves pDecoderStream at first subparameter.

Parameters
[in]pDecoderStreamThe stream from which to decode fields
Returns
void

Implements LLRP::CElement.

void LLRP::CGeneralDeviceCapabilities::encode ( CEncoderStream pEncoderStream) const
virtual

Encode fields and subparameters.

Parameters
[in]pEncoderStreamStream to encode
Returns
void

Implements LLRP::CElement.


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