MAK Data Logger API Documentation for HLA
Home
Modules
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
libsrc
lgrAnnotations
lgrPointAnnotation.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 lgrPointAnnotation_H_
11
#define lgrPointAnnotation_H_
12
13
#include "
lgrAnnotation.h
"
14
#include "
lgrAnnotationFactory.h
"
15
16
#include "
absoluteTime.h
"
17
#include <vlutil/vlString.h>
18
19
class
DtEnvObject;
20
class
QWidget
;
21
class
QPainter;
22
23
24
namespace
MAKLogger
25
{
26
27
struct
RectF;
28
30
class
DT_DLL_LGRANN
DtLgrPointAnnotation
:
public
DtLgrAnnotation
31
{
32
public
:
33
35
DtLgrPointAnnotation
(
const
DtString
& name,
DtAbsoluteTime
time,
36
const
DtString
& text);
37
39
virtual
~
DtLgrPointAnnotation
();
40
42
virtual
const
DtString
& type()
const
;
43
45
virtual
void
setName(
const
DtString
& name);
46
48
virtual
const
DtString
& name()
const
;
49
51
virtual
void
setText(
const
DtString
& text);
52
54
virtual
const
DtString
& text()
const
;
55
58
virtual
const
DtAbsoluteTime
& startTime()
const
;
59
62
virtual
const
DtAbsoluteTime
& endTime()
const
;
63
64
virtual
void
setStartTime(
const
DtAbsoluteTime
& time);
65
66
virtual
void
setEndTime(
const
DtAbsoluteTime
& time);
67
69
virtual
const
DtAbsoluteTime
& time()
const
;
70
72
virtual
void
setTime(
DtAbsoluteTime
time);
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
DtAbsoluteTime
myTime
;
94
};
95
96
}
97
98
#endif
Document ID: Generated on Sun Dec 15 18:04:30 EST 2013 from SVN revision 134418
Copyright © 2005-2012 VT MÄK. All Rights Reserved (
www.mak.com
)