MAK Data Logger API Documentation for HLA
lgrRangeAnnotation.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #ifndef lgrRangeAnnotation_H_
11 #define lgrRangeAnnotation_H_
12 
13 #include "lgrAnn.h"
14 #include "lgrAnnotation.h"
15 #include "lgrAnnotationFactory.h"
16 
17 #include "absoluteTime.h"
18 #include <vlutil/vlString.h>
19 
20 class QPainter;
21 
22 namespace MAKLogger
23 {
24  struct RectF;
25 
29  {
30  public:
31 
32  DtLgrRangeAnnotation(const DtString& name,const DtString& description,
33  DtAbsoluteTime startTime,DtAbsoluteTime endTime);
34 
35  virtual ~DtLgrRangeAnnotation();
36 
37  private:
41  DtLgrRangeAnnotation& operator=(const DtLgrRangeAnnotation&);
42  public:
43 
45  virtual const DtString& type() const;
46 
48  virtual void setName(const DtString& name);
49 
51  virtual const DtString& name() const;
52 
54  virtual void setText(const DtString& name);
55 
57  virtual const DtString& text() const;
58 
60  virtual void setStartTime(const DtAbsoluteTime& time);
61 
63  virtual const DtAbsoluteTime& startTime() const;
64 
66  virtual void setEndTime(const DtAbsoluteTime& time);
67 
69  virtual const DtAbsoluteTime& endTime() const;
70 
72  virtual DtRelativeTime duration() const;
73 
75  virtual void initializeFromObject(const DtEnvObject* annotationObject);
76 
78  virtual void createObject(DtEnvironment environment);
79 
82 
83  protected:
84 
86  static DtLgrAnnotation* load(const DtEnvObject*);
87 
89  static DtLgrAnnotationSliderBar* createBar(DtLgrAnnotation*);
90 
93 
96 
97  };
98 
99 }
100 
101 #endif

Document ID: Generated on Thu Apr 10 18:53:01 EDT 2014 from SVN revision 138105
Copyright © 2005-2012 VT MÄK. All Rights Reserved (www.mak.com)