An abstract interface for message input from a file. More...
Inheritance diagram for MAKLogger::DtLgrFileInput:
Collaboration diagram for MAKLogger::DtLgrFileInput: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 DtString & | filename () 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 DtLgrEntityTracker * | entityTracker () const =0 |
| Get the file's entity tracker, or null if it has none. | |
Private Member Functions | |
| DtLgrFileInput (const DtLgrFileInput &) | |
| Not Implemented. | |
| DtLgrFileInput & | operator= (const DtLgrFileInput &) |
| Not Implemented. | |
An abstract interface for message input from a file.
| virtual size_t MAKLogger::DtLgrFileInput::peekCurrentPacketSize | ( | ) | [pure virtual] |
Get the current packet size.
| DtFileReadError | file read error. |
Implemented in MAKLogger::DtLoggerFileReader.
| virtual double MAKLogger::DtLgrFileInput::peekCurrentPacketTime | ( | ) | [pure virtual] |
Get the current packet time.
| DtFileReadError | file read error. |
Implemented in MAKLogger::DtLoggerFileReader.
| virtual int MAKLogger::DtLgrFileInput::peekCurrentPacketType | ( | ) | [pure virtual] |
Get the current packet type.
| DtFileReadError | file read error. |
Implemented in MAKLogger::DtLoggerFileReader.