![]() |
MAK Data Logger API Documentation for HLA
|
Annotation factory responsible for holding functions with display an annotation creation dialog and return a new annotation. More...
Collaboration diagram for MAKLogger::DtLgrAnnotationFactory:Static Public Member Functions | |
| static const DtAnnotationTypeMap & | annotationTypesMap () |
| Get a list of all annotation types. More... | |
| static const QStringList & | annotationTypeNames () |
| Get a list of all the annotation type names. More... | |
| static DtLgrAnnotation * | createAnnotation (const DtString &type, QWidget *parent, DtLgrGuiModel *model) |
| Create an annotation of a given type. More... | |
| static void | editAnnotation (QWidget *parent, DtLgrAnnotation *, DtLgrGuiModel *model) |
| Edit an annotation, the annotation will provide the type. More... | |
| static DtLgrAnnotation * | convertAnnotation (const DtString &type, const DtLgrAnnotation *source) |
| Convert an annotation. More... | |
| static DtLgrAnnotation * | loadAnnotation (const DtEnvObject *object) |
| Load an annotation for an environment object. More... | |
| static DtLgrAnnotationSliderBar * | createSliderBar (DtLgrAnnotation *) |
| Create a slider bar for the annotation. More... | |
| static bool | isAnnotationType (const DtString &type) |
| Check whether a string is a registered type. More... | |
| static void | registerAnnotationType (const DtLgrAnnotationDefinition &typeDefinition) |
| Register an annotation type, with a creator and modifier functions. More... | |
| static void | registerAnnotationConversion (const DtString &destinationType, const DtString &sourceType, DtLgrAnnotationDefinition::AnnotationConvertor function) |
| static const std::list < DtString > & | availableConversions (const DtString &sourceType) |
| Get available conversion functions for a given type. More... | |
Protected Types | |
| typedef std::map< DtString, DtLgrAnnotationDefinition::AnnotationConvertor > | ConvertorMap |
| typedef std::map< DtString, std::list< DtString > > | ConversionListMap |
Static Protected Member Functions | |
| static DtLgrAnnotationDefinition & | getKnownDefinition (const DtString &type) |
| Get the definition object of a known type. More... | |
| static DtString | conversionKey (const DtString &destType, const DtString &srcType) |
Static Protected Attributes | |
| static std::list< DtString > | theAnnotationTypeList |
| The list of type strings. More... | |
| static QStringList | theAnnotationTypeNames |
| static DtAnnotationTypeMap | theAnnotationTypes |
| The list of annotation types. More... | |
| static ConvertorMap | theConvertorMap |
| A map of conversion functions. More... | |
| static ConversionListMap | theConversionListMap |
Private Member Functions | |
| DtLgrAnnotationFactory () | |
| Not Implemented. More... | |
| ~DtLgrAnnotationFactory () | |
| Not Implemented. More... | |
| DtLgrAnnotationFactory (const DtLgrAnnotationFactory &) | |
| Not Implemented. More... | |
| DtLgrAnnotationFactory & | operator= (const DtLgrAnnotationFactory &) |
| Not Implemented. More... | |
Annotation factory responsible for holding functions with display an annotation creation dialog and return a new annotation.
|
protected |
|
protected |
|
private |
Not Implemented.
|
private |
Not Implemented.
|
private |
Not Implemented.
|
static |
Get a list of all the annotation type names.
|
static |
Get a list of all annotation types.
|
static |
Get available conversion functions for a given type.
|
staticprotected |
|
static |
Convert an annotation.
Returns NULL if no conversion available. Constructs a new annotation of type, using the source to provide any possible parameters.
|
static |
Create an annotation of a given type.
|
static |
Create a slider bar for the annotation.
|
static |
Edit an annotation, the annotation will provide the type.
|
staticprotected |
Get the definition object of a known type.
The type must be valid so isAnnotationType should be used to check first.
|
static |
Check whether a string is a registered type.
|
static |
Load an annotation for an environment object.
The type string will be stored in the object type.
|
private |
Not Implemented.
|
static |
|
static |
Register an annotation type, with a creator and modifier functions.
|
staticprotected |
The list of type strings.
|
staticprotected |
|
staticprotected |
The list of annotation types.
|
staticprotected |
|
staticprotected |
A map of conversion functions.