MAK Data Logger API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
lgrDataOperations.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 lgrDataOperations_H_
10 #define lgrDataOperations_H_
11 
12 #include <lgrCore/lgrCore.h>
13 #include <lgrUtil/absoluteTime.h>
14 
15 class DtString;
16 
17 namespace MAKLogger
18 {
19  class DtMessageInput;
20  class DtMessageOutput;
21  class DtMessageState;
22  class DtLgrSystemDriver;
23  class DtLgrFileInput;
24 
26  {
27  public:
29  const DtRelativeTime& relOffset) :
30  myTime(absTime),
31  myOffset(relOffset)
32  {}
33 
34  const DtAbsoluteTime& time() const { return myTime;}
35  const DtRelativeTime& offset() const { return myOffset;}
36 
37  protected:
40  };
41 
42 
44  {
45  public:
46 
48  DtLgrDataOperations(DtLgrSystemDriver* myOptionalDriver,
49  const DtString& myOperationName,int myPacketOperations);
50 
55  bool copyData(DtMessageState* state=0);
56 
59  bool mergeData( DtMessageState& state);
60 
64  bool createStateTransition(const DtAbsoluteTime& initialStateTime);
65 
67  bool skipToTime();
68 
70  bool createEmptyState();
71 
76  bool createStateAtTime();
77 
81  DtMessageState* createState();
82 
83 
85  bool updateOperation(int percent);
86 
92  DtString myOperationName;
95  };
96 }
97 
98 #endif

Document ID: Generated on Tue Aug 1 09:00:26 EDT 2017 from SVN revision 179128
Copyright © 2017 VT MÄK. All Rights Reserved (www.mak.com)