MAK Data Logger API Documentation for HLA
loggerOutputFile.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 loggerOutputFile_H_
11 #define loggerOutputFile_H_
12 
13 #include "loggerFile.h"
14 #include "filePosition.h"
15 
16 class DtString;
17 
18 namespace MAKLogger
19 {
23  {
24 
25  public:
28  DtLoggerOutputFile(const DtString& filename, int version);
29 
30  private:
34  DtLoggerOutputFile& operator=(const DtLoggerOutputFile&);
35  public:
36 
38  virtual ~DtLoggerOutputFile();
39 
41  virtual int fileDescriptor();
42 
45  virtual DtFilePosition startOfData();
46 
48  virtual DtFilePosition fileSize();
49 
50  protected:
51 
53  void openFileForOutput();
54 
56  void writeFileVersion(int version);
57 
59  virtual void setFileDescriptor(int fd);
60 
61  protected:
63  };
64 }
65 
66 #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)