Public Member Functions | Private Member Functions
MAKLogger::DtLgrFileInput Class Reference

An abstract interface for message input from a file. More...

+ Inheritance diagram for MAKLogger::DtLgrFileInput:
+ Collaboration diagram for MAKLogger::DtLgrFileInput:

List of all members.

Public Member Functions

virtual const
DtLoggerPlaybackFile
playbackFile () const =0
 Get the attached file for reading.
virtual void setReadBufferSize (size_t)=0
 Set the read buffer size.
virtual size_t getReadBufferSize () const =0
 Get the read buffer size.
virtual bool isCheckpointNecessary (DtAbsoluteTime currentTime, DtAbsoluteTime newTime)=0
 Check to see if checkpoint is necessary.
virtual void seekToPreviousCheckpoint (DtAbsoluteTime timeToJumpBefore)=0
 Seek to fist checkpoint before time.
virtual void seekToNextCheckpoint (DtAbsoluteTime currentTime)=0
 Seek to fist checkpoint before time.
virtual double peekCurrentPacketTime ()=0
 Get the current packet time.
virtual int peekCurrentPacketType ()=0
 Get the current packet type.
virtual size_t peekCurrentPacketSize ()=0
 Get the current packet size.
virtual const DtStringfilename () const =0
 Get the filename.
virtual DtFilePosition fileSize () const =0
 Get the size of the file.
virtual DtFilePosition currentPosition () const =0
 Get the current position in the file.
virtual DtAbsoluteTime firstMessageTime () const =0
 Get the time of the first message in the file.
virtual DtAbsoluteTime lastMessageTime () const =0
 Get the time of the last message in the file.
virtual DtRelativeTime duration () const =0
 Get the duration of the file.
virtual DtAbsoluteTime lastReadTime () const =0
 Get the time of the last message read in the file.
virtual DtLgrEntityTrackerentityTracker () const =0
 Get the file's entity tracker, or null if it has none.

Private Member Functions

 DtLgrFileInput (const DtLgrFileInput &)
 Not Implemented.
DtLgrFileInputoperator= (const DtLgrFileInput &)
 Not Implemented.

Detailed Description

An abstract interface for message input from a file.


Member Function Documentation

virtual size_t MAKLogger::DtLgrFileInput::peekCurrentPacketSize ( ) [pure virtual]

Get the current packet size.

Exceptions:
DtFileReadErrorfile read error.

Implemented in MAKLogger::DtLoggerFileReader.

virtual double MAKLogger::DtLgrFileInput::peekCurrentPacketTime ( ) [pure virtual]

Get the current packet time.

Exceptions:
DtFileReadErrorfile read error.

Implemented in MAKLogger::DtLoggerFileReader.

virtual int MAKLogger::DtLgrFileInput::peekCurrentPacketType ( ) [pure virtual]

Get the current packet type.

Exceptions:
DtFileReadErrorfile read error.

Implemented in MAKLogger::DtLoggerFileReader.


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)