Base annotation class defines interface for all annotations. More...
Inheritance diagram for MAKLogger::DtLgrAnnotation:
Collaboration diagram for MAKLogger::DtLgrAnnotation:Public Member Functions | |
| DtLgrAnnotation (const DtLgrAnnotationDefinition *definition) | |
| CTOR. | |
| const DtLgrAnnotationDefinition * | definition () const |
| Get the definition of of this type of annotation. | |
| virtual void | addedToManager (DtLgrAnnotationManager *manager) |
| Called by manager after added to a given manager. | |
| virtual const DtString & | type () const =0 |
| virtual void | setName (const DtString &name)=0 |
| virtual const DtString & | name () const =0 |
| virtual void | setText (const DtString &text)=0 |
| virtual const DtString & | text () const =0 |
| virtual void | setStartTime (const DtAbsoluteTime &time)=0 |
| virtual const DtAbsoluteTime & | startTime () const =0 |
| virtual void | setEndTime (const DtAbsoluteTime &time)=0 |
| virtual const DtAbsoluteTime & | endTime () const =0 |
| virtual void | initializeFromObject (const DtEnvObject *annotationObject)=0 |
| Initialize from environment object. | |
| virtual void | createObject (DtEnvironment environment)=0 |
| Set the attributes on an environment object. | |
Static Public Member Functions | |
| static bool | compareNames (const DtLgrAnnotation *a, const DtLgrAnnotation *b) |
| Static function used for sorting. | |
Protected Member Functions | |
| virtual void | annotationChanged () |
| Function should be called by any annotation function which modifies the state of the annotation. | |
Protected Attributes | |
| DtLgrAnnotationManager * | myManager |
| const DtLgrAnnotationDefinition * | myTypeDefinition |
Base annotation class defines interface for all annotations.
| virtual void MAKLogger::DtLgrAnnotation::addedToManager | ( | DtLgrAnnotationManager * | manager | ) | [virtual] |
Called by manager after added to a given manager.
Annotations maintain a pointer to the manager to notify it of changes.
| virtual void MAKLogger::DtLgrAnnotation::annotationChanged | ( | ) | [protected, virtual] |
Function should be called by any annotation function which modifies the state of the annotation.
| const DtLgrAnnotationDefinition* MAKLogger::DtLgrAnnotation::definition | ( | ) | const |
Get the definition of of this type of annotation.
This is non null if object is created using the annotation factory.