LRAUV  revA
Reporter::ReportItem Class Reference

Keeps track of which how we have to report each DataElement. More...

Collaboration diagram for Reporter::ReportItem:

Public Member Functions

 ReportItem (Component *owner, unsigned short int uriCode, ReportType type=REPORT_CHANGE, const Timespan *timespan=NULL)
 Constructor. More...
 
unsigned short int getUriCode ()
 
ReportType getReportType ()
 
const TimespangetTimespan ()
 
void setReportType (ReportType type)
 
void setTimespan (const Timespan *timespan)
 
bool needsReporting ()
 
bool report (Logger *logger)
 
void reportStatus (Logger *logger)
 
 ~ReportItem ()
 Destructor. More...
 

Private Member Functions

 ReportItem (const ReportItem &old)
 
bool initDataReader ()
 

Private Attributes

unsigned short int uriCode_
 
ReportType type_
 
Timespan timespan_
 
Componentowner_
 
DataReaderdataReader_
 
Timestamp lastReported_
 
Str oldValue_
 

Static Private Attributes

static const StrValue NO_VALUE
 

Detailed Description

Keeps track of which how we have to report each DataElement.

Constructor & Destructor Documentation

Reporter::ReportItem::ReportItem ( Component owner,
unsigned short int  uriCode,
ReportType  type = REPORT_CHANGE,
const Timespan timespan = NULL 
)
Reporter::ReportItem::~ReportItem ( )

Destructor.

Reporter::ReportItem::ReportItem ( const ReportItem old)
private

Member Function Documentation

Reporter::ReportType Reporter::ReportItem::getReportType ( )
const Timespan * Reporter::ReportItem::getTimespan ( )
unsigned short int Reporter::ReportItem::getUriCode ( )
bool Reporter::ReportItem::initDataReader ( )
private

References Slate::GetElement().

Referenced by ReportItem().

bool Reporter::ReportItem::report ( Logger logger)
void Reporter::ReportItem::setReportType ( ReportType  type)

Referenced by Reporter::addReport().

void Reporter::ReportItem::setTimespan ( const Timespan timespan)

Referenced by Reporter::addReport(), and ReportItem().

Member Data Documentation

DataReader* Reporter::ReportItem::dataReader_
private

Referenced by ReportItem().

Timestamp Reporter::ReportItem::lastReported_
private

Referenced by ReportItem().

const StrValue Reporter::ReportItem::NO_VALUE
staticprivate
Str Reporter::ReportItem::oldValue_
private

Referenced by ReportItem().

Component* Reporter::ReportItem::owner_
private

Referenced by ReportItem().

Timespan Reporter::ReportItem::timespan_
private

Referenced by ReportItem().

ReportType Reporter::ReportItem::type_
private
unsigned short int Reporter::ReportItem::uriCode_
private

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