Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

LLRP::CReaderEventNotificationData Class Reference
[Core Parameter Classes]

Class Definition CReaderEventNotificationData for LLRP parameter ReaderEventNotificationData. More...

#include <ltkcpp.h>

Inheritance diagram for LLRP::CReaderEventNotificationData:

LLRP::CParameter LLRP::CElement List of all members.

Internal Framework Functions

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

Public Member Functions

CParametergetTimestamp (void)
 Get accessor functions for the LLRP Timestamp sub-parameter.
EResultCode setTimestamp (CParameter *pValue)
 Set accessor functions for the LLRP Timestamp sub-parameter.
CHoppingEventgetHoppingEvent (void)
 Get accessor functions for the LLRP HoppingEvent sub-parameter.
EResultCode setHoppingEvent (CHoppingEvent *pValue)
 Set accessor functions for the LLRP HoppingEvent sub-parameter.
CGPIEventgetGPIEvent (void)
 Get accessor functions for the LLRP GPIEvent sub-parameter.
EResultCode setGPIEvent (CGPIEvent *pValue)
 Set accessor functions for the LLRP GPIEvent sub-parameter.
CROSpecEventgetROSpecEvent (void)
 Get accessor functions for the LLRP ROSpecEvent sub-parameter.
EResultCode setROSpecEvent (CROSpecEvent *pValue)
 Set accessor functions for the LLRP ROSpecEvent sub-parameter.
CReportBufferLevelWarningEventgetReportBufferLevelWarningEvent (void)
 Get accessor functions for the LLRP ReportBufferLevelWarningEvent sub-parameter.
EResultCode setReportBufferLevelWarningEvent (CReportBufferLevelWarningEvent *pValue)
 Set accessor functions for the LLRP ReportBufferLevelWarningEvent sub-parameter.
CReportBufferOverflowErrorEventgetReportBufferOverflowErrorEvent (void)
 Get accessor functions for the LLRP ReportBufferOverflowErrorEvent sub-parameter.
EResultCode setReportBufferOverflowErrorEvent (CReportBufferOverflowErrorEvent *pValue)
 Set accessor functions for the LLRP ReportBufferOverflowErrorEvent sub-parameter.
CReaderExceptionEventgetReaderExceptionEvent (void)
 Get accessor functions for the LLRP ReaderExceptionEvent sub-parameter.
EResultCode setReaderExceptionEvent (CReaderExceptionEvent *pValue)
 Set accessor functions for the LLRP ReaderExceptionEvent sub-parameter.
CRFSurveyEventgetRFSurveyEvent (void)
 Get accessor functions for the LLRP RFSurveyEvent sub-parameter.
EResultCode setRFSurveyEvent (CRFSurveyEvent *pValue)
 Set accessor functions for the LLRP RFSurveyEvent sub-parameter.
CAISpecEventgetAISpecEvent (void)
 Get accessor functions for the LLRP AISpecEvent sub-parameter.
EResultCode setAISpecEvent (CAISpecEvent *pValue)
 Set accessor functions for the LLRP AISpecEvent sub-parameter.
CAntennaEventgetAntennaEvent (void)
 Get accessor functions for the LLRP AntennaEvent sub-parameter.
EResultCode setAntennaEvent (CAntennaEvent *pValue)
 Set accessor functions for the LLRP AntennaEvent sub-parameter.
CConnectionAttemptEventgetConnectionAttemptEvent (void)
 Get accessor functions for the LLRP ConnectionAttemptEvent sub-parameter.
EResultCode setConnectionAttemptEvent (CConnectionAttemptEvent *pValue)
 Set accessor functions for the LLRP ConnectionAttemptEvent sub-parameter.
CConnectionCloseEventgetConnectionCloseEvent (void)
 Get accessor functions for the LLRP ConnectionCloseEvent sub-parameter.
EResultCode setConnectionCloseEvent (CConnectionCloseEvent *pValue)
 Set accessor functions for the LLRP ConnectionCloseEvent sub-parameter.
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.
EResultCode addCustom (CParameter *pValue)
 Add a Custom to the LLRP sub-parameter list.

Protected Attributes

CParameterm_pTimestamp
CHoppingEventm_pHoppingEvent
CGPIEventm_pGPIEvent
CROSpecEventm_pROSpecEvent
CReportBufferLevelWarningEventm_pReportBufferLevelWarningEvent
CReportBufferOverflowErrorEventm_pReportBufferOverflowErrorEvent
CReaderExceptionEventm_pReaderExceptionEvent
CRFSurveyEventm_pRFSurveyEvent
CAISpecEventm_pAISpecEvent
CAntennaEventm_pAntennaEvent
CConnectionAttemptEventm_pConnectionAttemptEvent
CConnectionCloseEventm_pConnectionCloseEvent
std::list< CParameter * > m_listCustom

Detailed Description

Class Definition CReaderEventNotificationData for LLRP parameter ReaderEventNotificationData.

This parameter describes the contents of the event notification sent by the Reader, and defines the events that cause the notification to be sent. Event notification messages may be sent by the Reader due to connection establishment/closing event, critical events such as hopping, fault-detection in a Reader functional block, buffer overflow, due to the activation of a Reader accessory trigger input (e.g. motion detection), or due to performance monitoring events such as abnormalities in the RF environment.

Timestamp is the time that the events reported occurred.

LLRP assumes a reliable stream transport mechanism. Messages sent through LLRP will arrive in the order that they were sent over the transport and binding utilized. Status events within the same message SHALL be ordered chronologically.

Status events delivered by reader event notifications are useful, especially in conjunction with the tag report data. The following describes the requirements of the reader event notifications ordering with respect to the ordering of tag reports and Reader Event Notifications.

The following requirements are made on the ordering of Event Parameters with respect to each other and to tag report Parameters. These statements apply if the respective status events and report triggers are enabled.

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 17499 of file ltkcpp.h.


Member Function Documentation

void LLRP::CReaderEventNotificationData::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] pError Error details for encoded stream

Implements LLRP::CElement.

void LLRP::CReaderEventNotificationData::decodeFields CDecoderStream pDecoderStream  )  [virtual]
 

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

Parameters:
[in] pDecoderStream The stream from which to decode fields
Returns:
void

Implements LLRP::CElement.

void LLRP::CReaderEventNotificationData::encode CEncoderStream pEncoderStream  )  const [virtual]
 

Encode fields and subparameters.

Parameters:
[in] pEncoderStream Stream to encode
Returns:
void

Implements LLRP::CElement.


The documentation for this class was generated from the following file:
Generated on Wed Nov 26 12:27:53 2008 for LTKCPP-- LLRP Toolkit C Plus Plus Library by  doxygen 1.3.9.1