loggerInputFile.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 1992-2010 VT MAK
00003 ** All rights reserved.
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

Document ID: Generated on Tue Oct 11 19:41:03 EDT 2011 from SVN revision 107422
Copyright © 2005-2011 VT MÄK Inc. All Rights Reserved (www.mak.com)