Public Member Functions | Protected Attributes | Private Member Functions
MAKLogger::DtMessageInput Class Reference

The message input is the interface for objects that provide messages into the pipeline. More...

+ Inheritance diagram for MAKLogger::DtMessageInput:
+ Collaboration diagram for MAKLogger::DtMessageInput:

List of all members.

Public Member Functions

virtual void activate ()=0
 Called when the input is activated.
virtual void deactivate ()=0
 Called when the input is deactivated.
virtual void startReadMessages (DtAbsoluteTime timeToRead)
 Called at the beginning of a read operation.
virtual void stopReadMessages ()
 Called at the end of a read operation.
virtual DtAbsoluteTime inputTime () const
 Get the current input time.
virtual void setStopReadingTimeBoundary (bool inclusive)
 The stop reading time (set by startReadMessages may be inclusive or exclusive.
virtual bool stopReadingBoundary () const
 Get the current stop reading boundary setting.
virtual void getNextMessages (DtMessageBuffer &)=0
 Called when the pipeline needs to get messages.
virtual void dropNextMessages ()=0
 Called to drop messages from the current read operation.
virtual const DtMessageIOInfoinfo () const =0
 The the message info for the input.
virtual void tick ()
 Tick the message input -- for repeating tasks, such as timeout checks.
virtual void setTimeLimit (double limit)
 Set the time limit on reads during playback.

Protected Attributes

DtAbsoluteTime myCurrentTime
bool myStopReadingBoundary
double myTimeLimit

Private Member Functions

 DtMessageInput (const DtMessageInput &)
 Not Implemented.
DtMessageInputoperator= (const DtMessageInput &)
 Not Implemented.

Detailed Description

The message input is the interface for objects that provide messages into the pipeline.


Member Function Documentation

virtual void MAKLogger::DtMessageInput::setStopReadingTimeBoundary ( bool  inclusive) [virtual]

The stop reading time (set by startReadMessages may be inclusive or exclusive.

By default it is inclusive. For example, reading up to 10 seconds contains all messages with timestamps <= 10. Setting boundary to be false (exclusive) will result to a read up to 10s but not including packets with a time of 10s.

virtual void MAKLogger::DtMessageInput::setTimeLimit ( double  limit) [virtual]

Set the time limit on reads during playback.

Units are seconds. A value less than zero indicates no limit.

virtual bool MAKLogger::DtMessageInput::stopReadingBoundary ( ) const [virtual]

Get the current stop reading boundary setting.

Return values:
trueTime is Inclusive
falseTime is Exclusive.

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

Document ID: Generated on Tue Oct 11 19:41:03 EDT 2011 from SVN revision 107422
Copyright © 2005-2011 VT MÄK Inc. All Rights Reserved (www.mak.com)