MAK Data Logger API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
loggerRecordFile.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
9 #ifndef loggerRecordFile_H_
10 #define loggerRecordFile_H_
11 
12 #include <lgrCore/lgrCore.h>
13 
14 class DtString;
15 
16 namespace MAKLogger
17 {
18  class DtLoggerOutputFile;
19  class DtLgrFileFormatter;
20  class DtRelativeTime;
21  class DtLgrBaseSimManager;
22 
27  {
28 
29  protected:
31  DtLoggerRecordFile(const DtString& filename,int version);
32 
33  public:
35  virtual ~DtLoggerRecordFile();
36 
38  DtLoggerOutputFile* outputFile();
40  const DtLoggerOutputFile* outputFile() const;
41 
43  DtLgrFileFormatter* formatter();
45  const DtLgrFileFormatter* formatter() const;
46 
48  virtual void initializeFile();
49 
51  virtual void finalizeFile(const DtRelativeTime& duration);
52 
53  void initializeTracker(DtLgrBaseSimManager* manager);
54 
55  protected:
57  void writeBeginningOfFile();
58 
60  void writeEndOfFile();
61 
64  };
65 }
66 
67 #endif

Document ID: Generated on Wed Jun 5 18:45:18 EDT 2019 from SVN revision 198968
Copyright © 2019 VT MAK. All Rights Reserved (www.mak.com)