LTKCPP-- LLRP Toolkit C Plus Plus Library
Public Member Functions | Protected Attributes
CTagReportData Class Reference

Class Definition CTagReportData for LLRP parameter TagReportData. More...

#include <out_ltkcpp.h>

List of all members.

Public Member Functions

CParameter * getEPCParameter (void)
 Get accessor functions for the LLRP EPCParameter sub-parameter.
EResultCode setEPCParameter (CParameter *pValue)
 Set accessor functions for the LLRP EPCParameter sub-parameter.
CROSpecIDgetROSpecID (void)
 Get accessor functions for the LLRP ROSpecID sub-parameter.
EResultCode setROSpecID (CROSpecID *pValue)
 Set accessor functions for the LLRP ROSpecID sub-parameter.
CSpecIndexgetSpecIndex (void)
 Get accessor functions for the LLRP SpecIndex sub-parameter.
EResultCode setSpecIndex (CSpecIndex *pValue)
 Set accessor functions for the LLRP SpecIndex sub-parameter.
CInventoryParameterSpecIDgetInventoryParameterSpecID (void)
 Get accessor functions for the LLRP InventoryParameterSpecID sub-parameter.
EResultCode setInventoryParameterSpecID (CInventoryParameterSpecID *pValue)
 Set accessor functions for the LLRP InventoryParameterSpecID sub-parameter.
CAntennaIDgetAntennaID (void)
 Get accessor functions for the LLRP AntennaID sub-parameter.
EResultCode setAntennaID (CAntennaID *pValue)
 Set accessor functions for the LLRP AntennaID sub-parameter.
CPeakRSSIgetPeakRSSI (void)
 Get accessor functions for the LLRP PeakRSSI sub-parameter.
EResultCode setPeakRSSI (CPeakRSSI *pValue)
 Set accessor functions for the LLRP PeakRSSI sub-parameter.
CChannelIndexgetChannelIndex (void)
 Get accessor functions for the LLRP ChannelIndex sub-parameter.
EResultCode setChannelIndex (CChannelIndex *pValue)
 Set accessor functions for the LLRP ChannelIndex sub-parameter.
CFirstSeenTimestampUTCgetFirstSeenTimestampUTC (void)
 Get accessor functions for the LLRP FirstSeenTimestampUTC sub-parameter.
EResultCode setFirstSeenTimestampUTC (CFirstSeenTimestampUTC *pValue)
 Set accessor functions for the LLRP FirstSeenTimestampUTC sub-parameter.
CFirstSeenTimestampUptimegetFirstSeenTimestampUptime (void)
 Get accessor functions for the LLRP FirstSeenTimestampUptime sub-parameter.
EResultCode setFirstSeenTimestampUptime (CFirstSeenTimestampUptime *pValue)
 Set accessor functions for the LLRP FirstSeenTimestampUptime sub-parameter.
CLastSeenTimestampUTCgetLastSeenTimestampUTC (void)
 Get accessor functions for the LLRP LastSeenTimestampUTC sub-parameter.
EResultCode setLastSeenTimestampUTC (CLastSeenTimestampUTC *pValue)
 Set accessor functions for the LLRP LastSeenTimestampUTC sub-parameter.
CLastSeenTimestampUptimegetLastSeenTimestampUptime (void)
 Get accessor functions for the LLRP LastSeenTimestampUptime sub-parameter.
EResultCode setLastSeenTimestampUptime (CLastSeenTimestampUptime *pValue)
 Set accessor functions for the LLRP LastSeenTimestampUptime sub-parameter.
CTagSeenCountgetTagSeenCount (void)
 Get accessor functions for the LLRP TagSeenCount sub-parameter.
EResultCode setTagSeenCount (CTagSeenCount *pValue)
 Set accessor functions for the LLRP TagSeenCount sub-parameter.
std::list< CParameter * >::iterator beginAirProtocolTagData (void)
 Returns the first element of the AirProtocolTagData sub-parameter list.
std::list< CParameter * >::iterator endAirProtocolTagData (void)
 Returns the last element of the AirProtocolTagData sub-parameter list.
void clearAirProtocolTagData (void)
 Clears the LLRP AirProtocolTagData sub-parameter list.
int countAirProtocolTagData (void)
 Count of the LLRP AirProtocolTagData sub-parameter list.
EResultCode addAirProtocolTagData (CParameter *pValue)
 Add a AirProtocolTagData to the LLRP sub-parameter list.
CAccessSpecIDgetAccessSpecID (void)
 Get accessor functions for the LLRP AccessSpecID sub-parameter.
EResultCode setAccessSpecID (CAccessSpecID *pValue)
 Set accessor functions for the LLRP AccessSpecID sub-parameter.
std::list< CParameter * >::iterator beginAccessCommandOpSpecResult (void)
 Returns the first element of the AccessCommandOpSpecResult sub-parameter list.
std::list< CParameter * >::iterator endAccessCommandOpSpecResult (void)
 Returns the last element of the AccessCommandOpSpecResult sub-parameter list.
void clearAccessCommandOpSpecResult (void)
 Clears the LLRP AccessCommandOpSpecResult sub-parameter list.
int countAccessCommandOpSpecResult (void)
 Count of the LLRP AccessCommandOpSpecResult sub-parameter list.
EResultCode addAccessCommandOpSpecResult (CParameter *pValue)
 Add a AccessCommandOpSpecResult to the LLRP sub-parameter list.
std::list< CParameter * >::iterator beginCustom (void)
 Returns the first element of the Custom sub-parameter list.
std::list< CParameter * >::iterator endCustom (void)
 Returns the last element of the Custom sub-parameter list.
void clearCustom (void)
 Clears the LLRP Custom sub-parameter list.
int countCustom (void)
 Count of the LLRP Custom sub-parameter list.
EResultCode addCustom (CParameter *pValue)
 Add a Custom to the LLRP sub-parameter list.
CParameter * getEPCParameter (void)
 Get accessor functions for the LLRP EPCParameter sub-parameter.
EResultCode setEPCParameter (CParameter *pValue)
 Set accessor functions for the LLRP EPCParameter sub-parameter.
CROSpecIDgetROSpecID (void)
 Get accessor functions for the LLRP ROSpecID sub-parameter.
EResultCode setROSpecID (CROSpecID *pValue)
 Set accessor functions for the LLRP ROSpecID sub-parameter.
CSpecIndexgetSpecIndex (void)
 Get accessor functions for the LLRP SpecIndex sub-parameter.
EResultCode setSpecIndex (CSpecIndex *pValue)
 Set accessor functions for the LLRP SpecIndex sub-parameter.
CInventoryParameterSpecIDgetInventoryParameterSpecID (void)
 Get accessor functions for the LLRP InventoryParameterSpecID sub-parameter.
EResultCode setInventoryParameterSpecID (CInventoryParameterSpecID *pValue)
 Set accessor functions for the LLRP InventoryParameterSpecID sub-parameter.
CAntennaIDgetAntennaID (void)
 Get accessor functions for the LLRP AntennaID sub-parameter.
EResultCode setAntennaID (CAntennaID *pValue)
 Set accessor functions for the LLRP AntennaID sub-parameter.
CPeakRSSIgetPeakRSSI (void)
 Get accessor functions for the LLRP PeakRSSI sub-parameter.
EResultCode setPeakRSSI (CPeakRSSI *pValue)
 Set accessor functions for the LLRP PeakRSSI sub-parameter.
CChannelIndexgetChannelIndex (void)
 Get accessor functions for the LLRP ChannelIndex sub-parameter.
EResultCode setChannelIndex (CChannelIndex *pValue)
 Set accessor functions for the LLRP ChannelIndex sub-parameter.
CFirstSeenTimestampUTCgetFirstSeenTimestampUTC (void)
 Get accessor functions for the LLRP FirstSeenTimestampUTC sub-parameter.
EResultCode setFirstSeenTimestampUTC (CFirstSeenTimestampUTC *pValue)
 Set accessor functions for the LLRP FirstSeenTimestampUTC sub-parameter.
CFirstSeenTimestampUptimegetFirstSeenTimestampUptime (void)
 Get accessor functions for the LLRP FirstSeenTimestampUptime sub-parameter.
EResultCode setFirstSeenTimestampUptime (CFirstSeenTimestampUptime *pValue)
 Set accessor functions for the LLRP FirstSeenTimestampUptime sub-parameter.
CLastSeenTimestampUTCgetLastSeenTimestampUTC (void)
 Get accessor functions for the LLRP LastSeenTimestampUTC sub-parameter.
EResultCode setLastSeenTimestampUTC (CLastSeenTimestampUTC *pValue)
 Set accessor functions for the LLRP LastSeenTimestampUTC sub-parameter.
CLastSeenTimestampUptimegetLastSeenTimestampUptime (void)
 Get accessor functions for the LLRP LastSeenTimestampUptime sub-parameter.
EResultCode setLastSeenTimestampUptime (CLastSeenTimestampUptime *pValue)
 Set accessor functions for the LLRP LastSeenTimestampUptime sub-parameter.
CTagSeenCountgetTagSeenCount (void)
 Get accessor functions for the LLRP TagSeenCount sub-parameter.
EResultCode setTagSeenCount (CTagSeenCount *pValue)
 Set accessor functions for the LLRP TagSeenCount sub-parameter.
std::list< CParameter * >::iterator beginAirProtocolTagData (void)
 Returns the first element of the AirProtocolTagData sub-parameter list.
std::list< CParameter * >::iterator endAirProtocolTagData (void)
 Returns the last element of the AirProtocolTagData sub-parameter list.
void clearAirProtocolTagData (void)
 Clears the LLRP AirProtocolTagData sub-parameter list.
int countAirProtocolTagData (void)
 Count of the LLRP AirProtocolTagData sub-parameter list.
EResultCode addAirProtocolTagData (CParameter *pValue)
 Add a AirProtocolTagData to the LLRP sub-parameter list.
CAccessSpecIDgetAccessSpecID (void)
 Get accessor functions for the LLRP AccessSpecID sub-parameter.
EResultCode setAccessSpecID (CAccessSpecID *pValue)
 Set accessor functions for the LLRP AccessSpecID sub-parameter.
std::list< CParameter * >::iterator beginAccessCommandOpSpecResult (void)
 Returns the first element of the AccessCommandOpSpecResult sub-parameter list.
std::list< CParameter * >::iterator endAccessCommandOpSpecResult (void)
 Returns the last element of the AccessCommandOpSpecResult sub-parameter list.
void clearAccessCommandOpSpecResult (void)
 Clears the LLRP AccessCommandOpSpecResult sub-parameter list.
int countAccessCommandOpSpecResult (void)
 Count of the LLRP AccessCommandOpSpecResult sub-parameter list.
EResultCode addAccessCommandOpSpecResult (CParameter *pValue)
 Add a AccessCommandOpSpecResult to the LLRP sub-parameter list.
std::list< CParameter * >::iterator beginCustom (void)
 Returns the first element of the Custom sub-parameter list.
std::list< CParameter * >::iterator endCustom (void)
 Returns the last element of the Custom sub-parameter list.
void clearCustom (void)
 Clears the LLRP Custom sub-parameter list.
int countCustom (void)
 Count of the LLRP Custom sub-parameter list.
EResultCode addCustom (CParameter *pValue)
 Add a Custom to the LLRP sub-parameter list.

Protected Attributes

CParameter * m_pEPCParameter
CROSpecIDm_pROSpecID
CSpecIndexm_pSpecIndex
CInventoryParameterSpecIDm_pInventoryParameterSpecID
CAntennaIDm_pAntennaID
CPeakRSSIm_pPeakRSSI
CChannelIndexm_pChannelIndex
CFirstSeenTimestampUTCm_pFirstSeenTimestampUTC
CFirstSeenTimestampUptimem_pFirstSeenTimestampUptime
CLastSeenTimestampUTCm_pLastSeenTimestampUTC
CLastSeenTimestampUptimem_pLastSeenTimestampUptime
CTagSeenCountm_pTagSeenCount
std::list< CParameter * > m_listAirProtocolTagData
CAccessSpecIDm_pAccessSpecID
std::list< CParameter * > m_listAccessCommandOpSpecResult
std::list< CParameter * > m_listCustom

Internal Framework Functions

static const CFieldDescriptor
*const 
s_apFieldDescriptorTable []
static const CTypeDescriptor s_typeDescriptor
void decodeFields (CDecoderStream *pDecoderStream)
void assimilateSubParameters (CErrorDetails *pError)
void encode (CEncoderStream *pEncoderStream) const
void decodeFields (CDecoderStream *pDecoderStream)
void assimilateSubParameters (CErrorDetails *pError)
void encode (CEncoderStream *pEncoderStream) const
static CElement * s_construct (void)
static void s_decodeFields (CDecoderStream *pDecoderStream, CElement *pElement)
static CElement * s_construct (void)
static void s_decodeFields (CDecoderStream *pDecoderStream, CElement *pElement)

Detailed Description

Class Definition CTagReportData for LLRP parameter TagReportData.

This report parameter is generated per tag per accumulation scope. The only mandatory portion of this parameter is the EPCData parameter. If there was an access operation performed on the tag, the results of the OpSpecs are mandatory in the report. The other sub-parameters in this report are optional. LLRP provides three ways to make the tag reporting efficient:

Allow parameters to be enabled or disabled via TagReportContentSelector (section 13.2.1.1) in TagReportSpec.

If an optional parameter is enabled, and is absent in the report, the Client SHALL assume that the value is identical to the last parameter of the same type received. For example, this allows the Readers to not send a parameter in the report whose value has not changed since the last time it was sent by the Reader.

Allow accumulation of tag reports. See next section for details of accumulation.

A Reader MAY accumulate multiple tag reports into a single tag report.. If a Reader accumulates, the Reader SHALL follow the accumulation rules specified in this section. The following specifies the rules for accumulating multiple tag observations into a single TagReportData:

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.


Definition at line 14679 of file Library/out_ltkcpp.h.


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