MAK Data Logger API Documentation for HLA
loggerInputFile.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #ifndef loggerInputFile_H_
11 #define loggerInputFile_H_
12 
13 #include "loggerFile.h"
14 #include "filePosition.h"
15 #include "virtualConstructor.h"
16 
17 class DtString;
18 
19 namespace MAKLogger
20 {
24  {
25  public:
31  DT_VIRTUAL_CTR(DtLoggerInputFile,(const DtString&, bool randomAccess))
32 
33 
34  virtual ~DtLoggerInputFile();
35 
37  virtual int fileDescriptor();
38 
41  virtual DtFilePosition startOfPackets();
42 
43  protected:
45  void openFileForInput(bool randomAccess);
46 
48  void close();
49 
51  int readFileVersion();
52 
54  virtual void setFileDescriptor(int fd);
55 
56  protected:
58 
59  };
60 }
61 
62 #endif

Document ID: Generated on Sun Dec 15 18:04:30 EST 2013 from SVN revision 134418
Copyright © 2005-2012 VT MÄK. All Rights Reserved (www.mak.com)