MAK Data Logger API Documentation for HLA
Home
Modules
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
libsrc
lgrAnnotations
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
28
class
DT_DLL_LGRANN
DtLgrRangeAnnotation
:
public
DtLgrAnnotation
29
{
30
public
:
31
32
DtLgrRangeAnnotation
(
const
DtString
& name,
const
DtString
& description,
33
DtAbsoluteTime
startTime,
DtAbsoluteTime
endTime);
34
35
virtual
~
DtLgrRangeAnnotation
();
36
37
private
:
39
DtLgrRangeAnnotation
(
const
DtLgrRangeAnnotation
&);
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
81
static
DtLgrAnnotationDefinition
theDefinition
;
82
83
protected
:
84
86
static
DtLgrAnnotation
* load(
const
DtEnvObject*);
87
89
static
DtLgrAnnotationSliderBar
* createBar(
DtLgrAnnotation
*);
90
91
DtString
myName
;
92
DtString
myText
;
93
94
DtAbsoluteTime
myStartTime
;
95
DtAbsoluteTime
myEndTime
;
96
97
};
98
99
}
100
101
#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
)