MAK Data Logger API Documentation for DIS
lgrExportMultipleOperation.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 lgrExportMultipleOperation_H_
10 #define lgrExportMultipleOperation_H_
11 
12 #include "lgrEditorThread.h"
13 
14 #include <vlutil/vlString.h>
15 #include <absoluteTime.h>
16 
17 namespace MAKLogger
18 {
19  class DtLgrEditorDriver;
20  class DtLgrFileInput;
21  class DtLgrFileOutput;
22  class DtLgrSystemDriver;
23  class DtMessageOutput;
24  class DtCommandInterface;
25 
29  {
30  public:
31 
33  const DtString& operationName,
34  DtLgrFileInput* input,
35  int packetOperationCount,
36  DtAbsoluteTime startTime,
37  DtAbsoluteTime endTime,
38  DtRelativeTime offset,
39  DtRelativeTime splitDuration,
40  const DtString& namingConvention,
41  const DtString& outputFilename);
42 
45 
48  bool exportData(DtLgrSystemDriver* systemDriver);
49 
50  protected:
51  DtMessageOutput* getNextOutput(DtLgrSystemDriver*,
52  int index,const DtAbsoluteTime& nextStart,const DtAbsoluteTime& nextStop);
53 
54  DtAbsoluteTime getNextStopTime(const DtAbsoluteTime& oldStart);
55  DtAbsoluteTime getFirstStopTime() const;
56  DtString multipleFileName(int index,
57  const DtAbsoluteTime& newFirstTime,
58  const DtAbsoluteTime& newLastTime) const;
59 
60  DtString myOperationName;
68  DtString myOutputFilename;
69  };
70 }
71 
72 #endif

Document ID: Generated on Thu Apr 11 12:13:00 EDT 2013 from SVN revision 126011
Copyright © 2005-2012 VT MÄK. All Rights Reserved (www.mak.com)