MAK Data Logger API Documentation for HLA
loggerPlaybackFile.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 loggerPlaybackFile_H_
10 #define loggerPlaybackFile_H_
11 
12 #include "lgrCore.h"
13 #include "virtualConstructor.h"
14 
15 class DtString;
16 
17 namespace MAKLogger
18 {
19  class DtLgrConfigData;
20  class DtLoggerInputFile;
21  class DtLgrFileFormatter;
22 
26  {
27  public:
31  DtLoggerPlaybackFile(const DtString& filename, bool randomAccess, bool initialize);
32 
34  virtual ~DtLoggerPlaybackFile();
35 
36  private:
40  DtLoggerPlaybackFile& operator=(const DtLoggerPlaybackFile&);
41  public:
42 
44 
45  DtLgrFileFormatter* formatter();
47  const DtLgrFileFormatter* formatter() const;
49 
51 
52  DtLoggerInputFile* inputFile();
54  const DtLoggerInputFile* inputFile() const;
56 
58  virtual bool isIncomplete() const;
59 
61  virtual bool hasLastPacket() const;
62 
65  virtual bool recoverLastPacket();
66 
68  const DtLgrConfigData* configData() const;
69 
70  protected:
71 
73  void openInputFile(const DtString& filename, bool randomAccess);
74 
76  void readMetaData();
77 
79  void initialize();
80 
85  };
86 }
87 
88 #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)