![]() |
MAK Data Logger API Documentation for HLA
|
An abstract interface for message input from a file. More...
Inheritance diagram for MAKLogger::DtLgrFileInput:
Collaboration diagram for MAKLogger::DtLgrFileInput:Public Member Functions | |
| virtual | ~DtLgrFileInput () |
| virtual const DtLoggerPlaybackFile * | playbackFile () const =0 |
| Get the attached file for reading. More... | |
| virtual void | setReadBufferSize (size_t)=0 |
| Set the read buffer size. More... | |
| virtual size_t | getReadBufferSize () const =0 |
| Get the read buffer size. More... | |
| virtual bool | isCheckpointNecessary (DtAbsoluteTime currentTime, DtAbsoluteTime newTime)=0 |
| Check to see if checkpoint is necessary. More... | |
| virtual void | seekToPreviousCheckpoint (DtAbsoluteTime timeToJumpBefore)=0 |
| Seek to fist checkpoint before time. More... | |
| virtual void | seekToNextCheckpoint (DtAbsoluteTime currentTime)=0 |
| Seek to fist checkpoint before time. More... | |
| virtual double | peekCurrentPacketTime ()=0 |
| Get the current packet time. More... | |
| virtual int | peekCurrentPacketType ()=0 |
| Get the current packet type. More... | |
| virtual size_t | peekCurrentPacketSize ()=0 |
| Get the current packet size. More... | |
| virtual bool | recoverLastPacket ()=0 |
| Recover the last packet Return - last packet recoverd? More... | |
| virtual const DtString & | filename () const =0 |
| Get the filename. More... | |
| virtual DtFilePosition | fileSize () const =0 |
| Get the size of the file. More... | |
| virtual DtFilePosition | currentPosition () const =0 |
| Get the current position in the file. More... | |
| virtual DtAbsoluteTime | firstMessageTime () const =0 |
| Get the time of the first message in the file. More... | |
| virtual DtAbsoluteTime | lastMessageTime () const =0 |
| Get the time of the last message in the file. More... | |
| virtual DtRelativeTime | duration () const =0 |
| Get the duration of the file. More... | |
| virtual DtString | description () const =0 |
| Get the description of the file. More... | |
| virtual DtAbsoluteTime | lastReadTime () const =0 |
| Get the time of the last message read in the file. More... | |
| virtual DtLgrEntityTracker * | entityTracker () const =0 |
| Get the file's entity tracker, or null if it has none. More... | |
| virtual bool | testFileExpanding (bool updateLastTime=true)=0 |
| Test if file is expanding (e.g., file is being simultaneously recorded). More... | |
Protected Member Functions | |
| DtLgrFileInput () | |
Private Member Functions | |
| DtLgrFileInput (const DtLgrFileInput &) | |
| Not Implemented. More... | |
| DtLgrFileInput & | operator= (const DtLgrFileInput &) |
| Not Implemented. More... | |
Additional Inherited Members |
An abstract interface for message input from a file.
|
protected |
|
virtual |
|
private |
Not Implemented.
|
pure virtual |
Get the current position in the file.
Implemented in MAKLogger::DtLoggerFileReader.
|
pure virtual |
Get the description of the file.
Implemented in MAKLogger::DtLoggerFileReader.
|
pure virtual |
Get the duration of the file.
Implemented in MAKLogger::DtLoggerFileReader.
|
pure virtual |
Get the file's entity tracker, or null if it has none.
Implemented in MAKLogger::DtLoggerFileReader.
|
pure virtual |
Get the filename.
Implemented in MAKLogger::DtLoggerFileReader.
|
pure virtual |
Get the size of the file.
Implemented in MAKLogger::DtLoggerFileReader.
|
pure virtual |
Get the time of the first message in the file.
Implemented in MAKLogger::DtLoggerFileReader.
|
pure virtual |
Get the read buffer size.
Implemented in MAKLogger::DtLoggerFileReader.
|
pure virtual |
Check to see if checkpoint is necessary.
Implemented in MAKLogger::DtLoggerFileReader.
|
pure virtual |
Get the time of the last message in the file.
Implemented in MAKLogger::DtLoggerFileReader.
|
pure virtual |
Get the time of the last message read in the file.
Implemented in MAKLogger::DtLoggerFileReader.
|
private |
Not Implemented.
|
pure virtual |
Get the current packet size.
| DtFileReadError | file read error. |
Implemented in MAKLogger::DtLoggerFileReader.
|
pure virtual |
Get the current packet time.
| DtFileReadError | file read error. |
Implemented in MAKLogger::DtLoggerFileReader.
|
pure virtual |
Get the current packet type.
| DtFileReadError | file read error. |
Implemented in MAKLogger::DtLoggerFileReader.
|
pure virtual |
Get the attached file for reading.
Implemented in MAKLogger::DtLoggerFileReader.
|
pure virtual |
Recover the last packet Return - last packet recoverd?
Implemented in MAKLogger::DtLoggerFileReader.
|
pure virtual |
Seek to fist checkpoint before time.
Implemented in MAKLogger::DtLoggerFileReader.
|
pure virtual |
Seek to fist checkpoint before time.
Implemented in MAKLogger::DtLoggerFileReader.
|
pure virtual |
Set the read buffer size.
Implemented in MAKLogger::DtLoggerFileReader.
|
pure virtual |
Test if file is expanding (e.g., file is being simultaneously recorded).
If so, reset last time Return bool: Is file expanding?
Implemented in MAKLogger::DtLoggerFileReader.