code::Index::NewTimeStampEvent Class Reference

Inheritance diagram for code::Index::NewTimeStampEvent:

code::ActionEvent List of all members.

Detailed Description

Posted whenever a new time stamp occurs.

This notification is done before the notification for any new records for that timestamp. This simplifies any handling that is required for new volumes.

To change how/when this object is posted, over-ride Index::notifyNewTimeStampEvent(). The data, naturally, could be the first thing that arrives -- do not count on it being the same type everytime.

Author:
Lakshman
Version:
Id
code_Index.h,v 1.53 2011/09/23 16:37:32 Valliappa.Lakshmanan Exp


Public Member Functions

 NewTimeStampEvent (Index *idx, const Index::Record &item)
const Index::RecordgetRecord () const
const std::string & getTimeStamp () const
Time getTime () const
virtual ~NewTimeStampEvent ()
ActionSourcegetSource () const
 Returns a pointer to the object that generated this ActionEvent.
const std::string & getType () const
 Returns a source-specific type identifier to indicate what action occurred.


Constructor & Destructor Documentation

code::Index::NewTimeStampEvent::NewTimeStampEvent ( Index idx,
const Index::Record item 
)

virtual code::Index::NewTimeStampEvent::~NewTimeStampEvent (  )  [virtual]


Member Function Documentation

const Index::Record& code::Index::NewTimeStampEvent::getRecord (  )  const [inline]

ActionSource* code::ActionEvent::getSource (  )  const [inline, inherited]

Returns a pointer to the object that generated this ActionEvent.

Returns:
a pointer to the object that generated this ActionEvent.

Time code::Index::NewTimeStampEvent::getTime (  )  const [inline]

const std::string& code::Index::NewTimeStampEvent::getTimeStamp (  )  const [inline]

const std::string& code::ActionEvent::getType (  )  const [inline, inherited]

Returns a source-specific type identifier to indicate what action occurred.

Returns:
a source-specific type identifier to indicate what action occurred.


Generated on Fri May 4 13:40:13 2012 for WDSS-IIw2 by  doxygen 1.4.7