10 #ifndef lgrAnnotationFactory_H_
11 #define lgrAnnotationFactory_H_
18 #include <QStringList>
19 #include <vlutil/vlString.h>
27 class DtLgrAnnotation;
28 class DtLgrAnnotationManager;
29 class DtLgrAnnotationSliderBar;
32 class DtTimeComponent;
60 QString accelerator,QString icon,
DtString type,
61 AnnotationCreator creator, AnnotationModifier modifier,
62 AnnotationLoader loader,AnnotationBarCreator barCreator);
119 static const QStringList& annotationTypeNames();
143 static bool isAnnotationType(
const DtString& type);
150 static void registerAnnotationConversion(
const DtString& destinationType,
154 static const std::list<DtString>& availableConversions(
const DtString& sourceType);
173 typedef std::map<DtString,DtLgrAnnotationDefinition::AnnotationConvertor>
ConvertorMap;
AnnotationLoader myLoader
The loader function for the type.
Definition: lgrAnnotationFactory.h:91
static QStringList theAnnotationTypeNames
Definition: lgrAnnotationFactory.h:168
Annotation factory responsible for holding functions with display an annotation creation dialog and r...
Definition: lgrAnnotationFactory.h:101
std::map< DtString, std::list< DtString > > ConversionListMap
Definition: lgrAnnotationFactory.h:174
std::map< DtString, DtLgrAnnotationDefinition::AnnotationConvertor > ConvertorMap
Definition: lgrAnnotationFactory.h:173
Defines INPORT/EXPORT macros for lgrGui library.
QString myGuiAccelerator
The accelerator which will bring up the creation dialog.
Definition: lgrAnnotationFactory.h:76
QString myGuiIcon
The string which indicates the name of the icon to use.
Definition: lgrAnnotationFactory.h:79
DtLgrAnnotation *(* AnnotationConvertor)(const DtLgrAnnotation *annotation)
Convert an annotation.
Definition: lgrAnnotationFactory.h:55
The logger GUI's model.
Definition: lgrGuiModel.h:56
AnnotationModifier myModifier
The create modifier for the type.
Definition: lgrAnnotationFactory.h:88
Annotation slider bar class.
Definition: lgrAnnotationSliderBar.h:25
AnnotationCreator myCreator
The create function for the type.
Definition: lgrAnnotationFactory.h:85
QString myGuiTypeName
The type name to be used in the GUI.
Definition: lgrAnnotationFactory.h:73
Base annotation class defines interface for all annotations.
Definition: lgrAnnotation.h:26
static DtAnnotationTypeMap theAnnotationTypes
The list of annotation types.
Definition: lgrAnnotationFactory.h:171
DtString myType
The unique string identifier for the type.
Definition: lgrAnnotationFactory.h:82
static std::list< DtString > theAnnotationTypeList
The list of type strings.
Definition: lgrAnnotationFactory.h:167
AnnotationBarCreator myBarCreator
The drawing function for the type.
Definition: lgrAnnotationFactory.h:94
static ConvertorMap theConvertorMap
A map of conversion functions.
Definition: lgrAnnotationFactory.h:177
static ConversionListMap theConversionListMap
Definition: lgrAnnotationFactory.h:178
An Annotation definition allows annotation types to be defined which is necessary for generic instant...
Definition: lgrAnnotationFactory.h:36
std::map< DtString, DtLgrAnnotationDefinition > DtAnnotationTypeMap
Definition: lgrAnnotationFactory.h:97
#define DT_DLL_LGRANN
Definition: lgrAnn.h:19