![]() |
MAK Data Logger API Documentation for HLA
|
A file opened for reading. More...
Inheritance diagram for MAKLogger::DtLoggerInputFile:
Collaboration diagram for MAKLogger::DtLoggerInputFile:Public Member Functions | |
| virtual | ~DtLoggerInputFile () |
| Opens a file for input and reads the version and any meta data. More... | |
| virtual int | fileDescriptor () |
| Get the file descriptor to access the file. More... | |
| virtual DtFilePosition | startOfPackets () |
| Get the position for the start of packets. More... | |
Public Member Functions inherited from MAKLogger::DtLoggerFile | |
| virtual | ~DtLoggerFile () |
| DTOR. More... | |
| virtual int | fileVersion () const |
| Get the file version. More... | |
| virtual const DtString & | filename () const |
| Get the file name. More... | |
Protected Member Functions | |
| void | openFileForInput (bool randomAccess) |
| Non virtual since called by constructor. More... | |
| void | close () |
| Non virtual since called by destructor. More... | |
| int | readFileVersion () |
| Non virtual since called by constructor. More... | |
| virtual void | setFileDescriptor (int fd) |
| Set the file descriptor. More... | |
Protected Member Functions inherited from MAKLogger::DtLoggerFile | |
| DtLoggerFile (const DtString &filename, int fileVersion) | |
| Create a Logger file from an existing file. More... | |
| virtual void | setFileVersion (int fileVersion) |
| Set the file version. More... | |
| virtual void | setFilename (const DtString &filename) |
| Set the filename. More... | |
Protected Attributes | |
| int | myFileDescriptor |
Protected Attributes inherited from MAKLogger::DtLoggerFile | |
| DtString | myFilename |
| int | myFileVersion |
A file opened for reading.
|
virtual |
Opens a file for input and reads the version and any meta data.
Under windows, specifying random access causes the OS to cache the file in RAM improving performance of random access.
| DtFileOpenError | if unable to open the file. |
| DtFileReadError | if unable to read from the file. DTOR. |
|
protected |
Non virtual since called by destructor.
|
virtual |
Get the file descriptor to access the file.
Implements MAKLogger::DtLoggerFile.
|
protected |
Non virtual since called by constructor.
|
protected |
Non virtual since called by constructor.
|
protectedvirtual |
Set the file descriptor.
|
virtual |
Get the position for the start of packets.
Typically there is the version.
|
protected |