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

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

#include <ltkcpp_base.h>

Inheritance diagram for LLRP::CParameter:
LLRP::CElement LLRP::CAccessCommand LLRP::CAccessReportSpec LLRP::CAccessSpec LLRP::CAccessSpecID LLRP::CAccessSpecStopTrigger LLRP::CAISpec LLRP::CAISpecEvent LLRP::CAISpecStopTrigger LLRP::CAntennaConfiguration LLRP::CAntennaEvent LLRP::CAntennaID LLRP::CAntennaProperties LLRP::CC1G2_CRC LLRP::CC1G2_PC LLRP::CC1G2BlockErase LLRP::CC1G2BlockEraseOpSpecResult LLRP::CC1G2BlockWrite LLRP::CC1G2BlockWriteOpSpecResult LLRP::CC1G2EPCMemorySelector LLRP::CC1G2Filter LLRP::CC1G2InventoryCommand LLRP::CC1G2Kill LLRP::CC1G2KillOpSpecResult LLRP::CC1G2LLRPCapabilities LLRP::CC1G2Lock LLRP::CC1G2LockOpSpecResult LLRP::CC1G2LockPayload LLRP::CC1G2Read LLRP::CC1G2ReadOpSpecResult LLRP::CC1G2RFControl LLRP::CC1G2SingulationControl LLRP::CC1G2SingulationDetails LLRP::CC1G2TagInventoryMask LLRP::CC1G2TagInventoryStateAwareFilterAction LLRP::CC1G2TagInventoryStateAwareSingulationAction LLRP::CC1G2TagInventoryStateUnawareFilterAction LLRP::CC1G2TagSpec LLRP::CC1G2TargetTag LLRP::CC1G2UHFRFModeTable LLRP::CC1G2UHFRFModeTableEntry LLRP::CC1G2Write LLRP::CC1G2WriteOpSpecResult LLRP::CChannelIndex LLRP::CClientRequestOpSpec LLRP::CClientRequestOpSpecResult LLRP::CClientRequestResponse LLRP::CConnectionAttemptEvent LLRP::CConnectionCloseEvent LLRP::CCustom LLRP::CEPC_96 LLRP::CEPCData LLRP::CEventNotificationState LLRP::CEventsAndReports LLRP::CFieldError LLRP::CFirstSeenTimestampUptime LLRP::CFirstSeenTimestampUTC LLRP::CFixedFrequencyTable LLRP::CFrequencyHopTable LLRP::CFrequencyInformation LLRP::CFrequencyRSSILevelEntry LLRP::CGeneralDeviceCapabilities LLRP::CGPIEvent LLRP::CGPIOCapabilities LLRP::CGPIPortCurrentState LLRP::CGPITriggerValue LLRP::CGPOWriteData LLRP::CHoppingEvent LLRP::CIdentification LLRP::CImpinjAccessSpecConfiguration LLRP::CImpinjAccessSpecOrdering LLRP::CImpinjAdvancedGPOConfiguration LLRP::CImpinjAntennaAttemptEvent LLRP::CImpinjAntennaCapabilities LLRP::CImpinjAntennaConfiguration LLRP::CImpinjAntennaEventConfiguration LLRP::CImpinjAntennaEventHysteresis LLRP::CImpinjAntennaPolarizationCapability LLRP::CImpinjArrayVersion LLRP::CImpinjBeaconConfiguration LLRP::CImpinjBLEVersion LLRP::CImpinjBlockPermalock LLRP::CImpinjBlockPermalockOpSpecResult LLRP::CImpinjBlockWriteWordCount LLRP::CImpinjC1G2DirectionConfig LLRP::CImpinjC1G2LocationConfig LLRP::CImpinjDetailedVersion LLRP::CImpinjDiagnosticReport LLRP::CImpinjDirectionConfig LLRP::CImpinjDirectionDiagnosticData LLRP::CImpinjDirectionReportData LLRP::CImpinjDirectionReporting LLRP::CImpinjDirectionSectors LLRP::CImpinjDirectionUserTagPopulationLimit LLRP::CImpinjDisabledAntennas LLRP::CImpinjDISpec LLRP::CImpinjEnableGPSCoordinates LLRP::CImpinjEnableOptimizedRead LLRP::CImpinjEnablePeakRSSI LLRP::CImpinjEnableRFDopplerFrequency LLRP::CImpinjEnableRFPhaseAngle LLRP::CImpinjEnableSerializedTID LLRP::CImpinjEnableTxPower LLRP::CImpinjExtendedTagInformation LLRP::CImpinjFixedFrequencyList LLRP::CImpinjFrequencyCapabilities LLRP::CImpinjGetBlockPermalockStatus LLRP::CImpinjGetBlockPermalockStatusOpSpecResult LLRP::CImpinjGetQTConfig LLRP::CImpinjGetQTConfigOpSpecResult LLRP::CImpinjGGASentence LLRP::CImpinjGPIDebounceConfiguration LLRP::CImpinjGPSCoordinates LLRP::CImpinjGPSNMEASentences LLRP::CImpinjHubConfiguration LLRP::CImpinjHubVersions LLRP::CImpinjIntelligentAntennaManagement LLRP::CImpinjInventoryConfiguration LLRP::CImpinjInventorySearchMode LLRP::CImpinjLinkMonitorConfiguration LLRP::CImpinjLISpec LLRP::CImpinjLocationAlgorithmControl LLRP::CImpinjLocationConfidence LLRP::CImpinjLocationConfig LLRP::CImpinjLocationReportData LLRP::CImpinjLocationReporting LLRP::CImpinjLoopSpec LLRP::CImpinjLowDutyCycle LLRP::CImpinjMarginRead LLRP::CImpinjMarginReadOpSpecResult LLRP::CImpinjOpSpecRetryCount LLRP::CImpinjPeakRSSI LLRP::CImpinjPlacementConfiguration LLRP::CImpinjPolarizationControl LLRP::CImpinjReaderTemperature LLRP::CImpinjReducedPowerFrequencyList LLRP::CImpinjReportBufferConfiguration LLRP::CImpinjRequestedData LLRP::CImpinjRFDopplerFrequency LLRP::CImpinjRFPhaseAngle LLRP::CImpinjRFPowerSweep LLRP::CImpinjRMCSentence LLRP::CImpinjSerializedTID LLRP::CImpinjSetQTConfig LLRP::CImpinjSetQTConfigOpSpecResult LLRP::CImpinjSubRegulatoryRegion LLRP::CImpinjTagReportContentSelector LLRP::CImpinjTIDParity LLRP::CImpinjTiltConfiguration LLRP::CImpinjTransmitPower LLRP::CImpinjTxPower LLRP::CImpinjxArrayCapabilities LLRP::CImpinjxArrayDirectionCapabilities LLRP::CInventoryParameterSpec LLRP::CInventoryParameterSpecID LLRP::CKeepaliveSpec LLRP::CLastSeenTimestampUptime LLRP::CLastSeenTimestampUTC LLRP::CLLRPCapabilities LLRP::CLLRPConfigurationStateValue LLRP::CLLRPStatus LLRP::COpSpecID LLRP::CParameterError LLRP::CPeakRSSI LLRP::CPerAntennaAirProtocol LLRP::CPerAntennaReceiveSensitivityRange LLRP::CPeriodicTriggerValue LLRP::CReaderEventNotificationData LLRP::CReaderEventNotificationSpec LLRP::CReaderExceptionEvent LLRP::CReceiveSensitivityTableEntry LLRP::CRegulatoryCapabilities LLRP::CReportBufferLevelWarningEvent LLRP::CReportBufferOverflowErrorEvent LLRP::CRFReceiver LLRP::CRFSurveyEvent LLRP::CRFSurveyReportData LLRP::CRFSurveySpec LLRP::CRFSurveySpecStopTrigger LLRP::CRFTransmitter LLRP::CROBoundarySpec LLRP::CROReportSpec LLRP::CROSpec LLRP::CROSpecEvent LLRP::CROSpecID LLRP::CROSpecStartTrigger LLRP::CROSpecStopTrigger LLRP::CSpecIndex LLRP::CTagObservationTrigger LLRP::CTagReportContentSelector LLRP::CTagReportData LLRP::CTagSeenCount LLRP::CTransmitPowerLevelTableEntry LLRP::CUHFBandCapabilities LLRP::CUptime LLRP::CUTCTimestamp

Public Member Functions

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...
 
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...
 

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 Parameters.

Definition at line 1125 of file ltkcpp_base.h.

Member Function Documentation

llrp_bool_t CParameter::isAllowedExtension ( const CTypeDescriptor pEnclosingTypeDescriptor)

Validate whether the element is allowed as an extension in the enclosing element.

Parameters
[in]pEnclosingTypeDescriptorA pointer to the enclosing type
Returns
TRUE if the element is allowed to be encoded within the EnclosingElement
FALSE if the element is not allowed to be encoded within the EnclosingElement

Definition at line 127 of file ltkcpp_element.cpp.

References isAllowedIn(), LLRP::CTypeDescriptor::m_bIsMessage, LLRP::CElement::m_pType, LLRP::CTypeDescriptor::m_pVendorDescriptor, and LLRP::CTypeDescriptor::m_TypeNum.

llrp_bool_t CParameter::isAllowedIn ( const CTypeDescriptor pEnclosingTypeDescriptor) const
virtual

Validate whether the element is allowed as a base type in the enclosing element.

Parameters
[in]pEnclosingTypeDescriptorA pointer to the enclosing type
Returns
TRUE if the element is allowed to be encoded within the EnclosingElement
FALSE if the element is not allowed to be encoded within the EnclosingElement

Reimplemented in LLRP::CImpinjRFPowerSweep, LLRP::CImpinjLocationAlgorithmControl, LLRP::CImpinjBLEVersion, LLRP::CImpinjMarginReadOpSpecResult, LLRP::CImpinjMarginRead, LLRP::CImpinjTIDParity, LLRP::CImpinjDisabledAntennas, LLRP::CImpinjAntennaPolarizationCapability, LLRP::CImpinjAntennaCapabilities, LLRP::CImpinjPolarizationControl, LLRP::CImpinjTransmitPower, LLRP::CImpinjIntelligentAntennaManagement, LLRP::CImpinjxArrayDirectionCapabilities, LLRP::CImpinjDirectionDiagnosticData, LLRP::CImpinjDirectionReportData, LLRP::CImpinjDirectionReporting, LLRP::CImpinjExtendedTagInformation, LLRP::CImpinjC1G2DirectionConfig, LLRP::CImpinjDirectionUserTagPopulationLimit, LLRP::CImpinjDirectionConfig, LLRP::CImpinjDirectionSectors, LLRP::CImpinjDISpec, LLRP::CImpinjLocationReportData, LLRP::CImpinjLocationConfidence, LLRP::CImpinjLocationReporting, LLRP::CImpinjC1G2LocationConfig, LLRP::CImpinjLocationConfig, LLRP::CImpinjLISpec, LLRP::CImpinjPlacementConfiguration, LLRP::CImpinjDiagnosticReport, LLRP::CImpinjHubConfiguration, LLRP::CImpinjAntennaAttemptEvent, LLRP::CImpinjAntennaEventConfiguration, LLRP::CImpinjAntennaEventHysteresis, LLRP::CImpinjAntennaConfiguration, LLRP::CImpinjBeaconConfiguration, LLRP::CImpinjTiltConfiguration, LLRP::CImpinjxArrayCapabilities, LLRP::CImpinjArrayVersion, LLRP::CImpinjTxPower, LLRP::CImpinjEnableTxPower, LLRP::CImpinjInventoryConfiguration, LLRP::CImpinjRFDopplerFrequency, LLRP::CImpinjEnableRFDopplerFrequency, LLRP::CImpinjAccessSpecOrdering, LLRP::CImpinjEnableOptimizedRead, LLRP::CImpinjAdvancedGPOConfiguration, LLRP::CImpinjOpSpecRetryCount, LLRP::CImpinjRMCSentence, LLRP::CImpinjGGASentence, LLRP::CImpinjGPSNMEASentences, LLRP::CImpinjLoopSpec, LLRP::CImpinjGPSCoordinates, LLRP::CImpinjPeakRSSI, LLRP::CImpinjRFPhaseAngle, LLRP::CImpinjSerializedTID, LLRP::CImpinjEnableGPSCoordinates, LLRP::CImpinjEnablePeakRSSI, LLRP::CImpinjEnableRFPhaseAngle, LLRP::CImpinjEnableSerializedTID, LLRP::CImpinjTagReportContentSelector, LLRP::CImpinjGetQTConfigOpSpecResult, LLRP::CImpinjGetQTConfig, LLRP::CImpinjSetQTConfigOpSpecResult, LLRP::CImpinjSetQTConfig, LLRP::CImpinjGetBlockPermalockStatusOpSpecResult, LLRP::CImpinjGetBlockPermalockStatus, LLRP::CImpinjBlockPermalockOpSpecResult, LLRP::CImpinjBlockPermalock, LLRP::CImpinjBlockWriteWordCount, LLRP::CImpinjAccessSpecConfiguration, LLRP::CImpinjReportBufferConfiguration, LLRP::CImpinjLinkMonitorConfiguration, LLRP::CImpinjReaderTemperature, LLRP::CImpinjGPIDebounceConfiguration, LLRP::CImpinjFrequencyCapabilities, LLRP::CImpinjDetailedVersion, LLRP::CImpinjHubVersions, LLRP::CImpinjLowDutyCycle, LLRP::CImpinjReducedPowerFrequencyList, LLRP::CImpinjFixedFrequencyList, LLRP::CImpinjInventorySearchMode, LLRP::CImpinjSubRegulatoryRegion, and LLRP::CImpinjRequestedData.

Definition at line 120 of file ltkcpp_element.cpp.

Referenced by isAllowedExtension().


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