00001 /****************************************************************************** 00002 ** Copyright (c) 1992-2010 VT MAK 00003 ** All rights reserved. 00004 ******************************************************************************/ 00005 00008 00009 #ifndef lgrExportOperation_H_ 00010 #define lgrExportOperation_H_ 00011 00012 #include "lgrEditorThread.h" 00013 00014 #include <vlutil/vlString.h> 00015 #include <absoluteTime.h> 00016 00017 namespace MAKLogger 00018 { 00019 class DtLgrEditorDriver; 00020 class DtLgrFileInput; 00021 class DtLgrFileOutput; 00022 class DtLgrSystemDriver; 00023 class DtMessageOutput; 00024 class DtCommandInterface; 00025 00028 class DT_DLL_LGRCORE DtLgrExportOperation : public DtLgrEditorThread 00029 { 00030 public: 00031 00032 DtLgrExportOperation( DtLgrEditorDriver* driver, 00033 const DtString& operationName, 00034 DtLgrFileInput* input, 00035 DtMessageOutput* output, 00036 int packetOperationCount, 00037 DtAbsoluteTime startTime, 00038 DtAbsoluteTime endTime, 00039 DtRelativeTime offset, 00040 bool toFile); 00041 00043 virtual ~DtLgrExportOperation(); 00044 00046 virtual void editorOperation(); 00047 00050 bool exportData(DtLgrSystemDriver* systemDriver,bool generateData); 00051 00052 protected: 00053 00054 DtString myOperationName; 00055 DtLgrFileInput* myInputFile; 00056 DtMessageOutput* myOutput; 00057 DtAbsoluteTime myStartTime; 00058 DtAbsoluteTime myEndTime; 00059 DtRelativeTime myOffset; 00060 int myPacketOperationCount; 00061 bool myExportToFileOutput; 00062 }; 00063 } 00064 00065 #endif