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. | |
| virtual int | fileDescriptor () |
| Get the file descriptor to access the file. | |
| virtual DtFilePosition | startOfPackets () |
| Get the position for the start of packets. | |
Protected Member Functions | |
| void | openFileForInput () |
| Non virtual since called by constructor. | |
| void | close () |
| Non virtual since called by destructor. | |
| int | readFileVersion () |
| Non virtual since called by constructor. | |
| virtual void | setFileDescriptor (int fd) |
| Set the file descriptor. | |
Protected Attributes | |
| int | myFileDescriptor |
A file opened for reading.
| virtual MAKLogger::DtLoggerInputFile::~DtLoggerInputFile | ( | ) | [virtual] |
Opens a file for input and reads the version and any meta data.
| DtFileOpenError | if unable to open the file. |
| DtFileReadError | if unable to read from the file. DTOR. |
| virtual DtFilePosition MAKLogger::DtLoggerInputFile::startOfPackets | ( | ) | [virtual] |
Get the position for the start of packets.
Typically there is the version.