Go to the documentation of this file.00001
00002
00003
00004
00005
00009
00010 #ifndef loggerInputFile_H_
00011 #define loggerInputFile_H_
00012
00013 #include "loggerFile.h"
00014 #include "filePosition.h"
00015 #include "virtualConstructor.h"
00016
00017 class DtString;
00018
00019 namespace MAKLogger
00020 {
00023 class DT_DLL_LGRCORE DtLoggerInputFile : public DtLoggerFile
00024 {
00025 public:
00029 DT_VIRTUAL_CTR(DtLoggerInputFile,(const DtString&))
00030
00031
00032 virtual ~DtLoggerInputFile();
00033
00035 virtual int fileDescriptor();
00036
00039 virtual DtFilePosition startOfPackets();
00040
00041 protected:
00043 void openFileForInput();
00044
00046 void close();
00047
00049 int readFileVersion();
00050
00052 virtual void setFileDescriptor(int fd);
00053
00054 protected:
00055 int myFileDescriptor;
00056
00057 };
00058 }
00059
00060 #endif