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

Class Definition CPeriodicTriggerValue for LLRP parameter PeriodicTriggerValue. More...

#include <out_ltkcpp.h>

Inherits CParameter.

Public Member Functions

llrp_u32_t getOffset (void)
 Get accessor functions for the LLRP Offset field.
 
void setOffset (llrp_u32_t value)
 Set accessor functions for the LLRP Offset field.
 
llrp_u32_t getPeriod (void)
 Get accessor functions for the LLRP Period field.
 
void setPeriod (llrp_u32_t value)
 Set accessor functions for the LLRP Period field.
 
CUTCTimestampgetUTCTimestamp (void)
 Get accessor functions for the LLRP UTCTimestamp sub-parameter.
 
EResultCode setUTCTimestamp (CUTCTimestamp *pValue)
 Set accessor functions for the LLRP UTCTimestamp sub-parameter.
 

Protected Attributes

llrp_u32_t m_Offset
 
llrp_u32_t m_Period
 
CUTCTimestampm_pUTCTimestamp
 

Internal Framework Functions

static const CFieldDescriptor
*const 
s_apFieldDescriptorTable []
 
static const CTypeDescriptor s_typeDescriptor
 
static const CFieldDescriptor s_fdOffset
 
static const CFieldDescriptor s_fdPeriod
 
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)
 

Detailed Description

Class Definition CPeriodicTriggerValue for LLRP parameter PeriodicTriggerValue.

Document Reference LLRP Specification Section 10.2.1.1.1.1

Document Reference LLRP Specification Section 16.2.4.1.1.1.1

<p>Periodic trigger is specified using UTC time, offset and period.</p> 


<p>For one-shot inventory, period is set to 0, and for periodic inventory operation period > 0.</p> 


<p>If UTC time is not specified, the first start time is determined as (time of message receipt + offset), else, the first start time is determined as (UTC time + offset). Subsequent start times  = first start time + k * period (where, k > 0).</p> 


<p>If the Reader does not support UTC clock (as indicated by HasUTCClockCapability), and it receives the UTC time as part of the PeriodicTriggerValue parameter from the Client, the Reader 

SHALL return an error.

<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 9792 of file out_ltkcpp.h.


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