MAK Data Logger API Documentation for DIS
lgrDisPlaybackFile.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #if DtDIS
11 #ifndef lgrDisPlaybackFile_H_
12 #define lgrDisPlaybackFile_H_
13 
14 #include "lgrSim.h"
15 #include "loggerPlaybackFile.h"
16 #include <filePosition.h>
17 #include "virtualConstructor.h"
18 
19 class DtString;
20 
21 namespace MAKLogger
22 {
23  class DtMessageIOInfo;
24  class DtLgrDisRecordFile;
25  class DtLgrDisPlaybackFile;
26 
27  typedef DtLgrDisPlaybackFile* (*DtDisPlaybackFilePartialCreator)(const DtLgrDisRecordFile&,
28  DtFilePosition, DtFilePosition, bool randomAccess);
29 
33  {
34  public:
35 
39  DT_VIRTUAL_CTR(DtLgrDisPlaybackFile, (const DtString& filename, bool randomAccess /* = true*/ ))
40 
41 
42  virtual ~DtLgrDisPlaybackFile();
43 
44  public:
45 
47  static void setPartialCreator(DtDisPlaybackFilePartialCreator creator);
48 
50  static DtLgrDisPlaybackFile* createPartial(const DtLgrDisRecordFile&, DtFilePosition firstPacket,
51  DtFilePosition lastPacket, bool randomAccess);
52 
53  protected:
54 
57  DtFilePosition lastPacket, bool randomAccess);
58 
59  private:
60 
64  DtLgrDisPlaybackFile& operator=(const DtLgrDisPlaybackFile&);
65 
66  protected:
67 
69  };
70 }
71 
72 #endif
73 #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)