Represents an annotation for a specific point in time. More...
Inheritance diagram for MAKLogger::DtLgrPointAnnotation:
Collaboration diagram for MAKLogger::DtLgrPointAnnotation:Public Member Functions | |
| DtLgrPointAnnotation (const DtString &name, DtAbsoluteTime time, const DtString &text) | |
| CTOR takes the annotations name, time and text. | |
| virtual | ~DtLgrPointAnnotation () |
| DTOR. | |
| virtual const DtString & | type () const |
| Get the annotation's name. | |
| virtual void | setName (const DtString &name) |
| Set the annotation's name. | |
| virtual const DtString & | name () const |
| Get the annotation's name. | |
| virtual void | setText (const DtString &text) |
| Set the annotation's text. | |
| virtual const DtString & | text () const |
| Get the annotation's text. | |
| virtual const DtAbsoluteTime & | startTime () const |
| Get the annotation's start time. | |
| virtual const DtAbsoluteTime & | endTime () const |
| Get the annotation's end time. | |
| virtual void | setStartTime (const DtAbsoluteTime &time) |
| virtual void | setEndTime (const DtAbsoluteTime &time) |
| virtual const DtAbsoluteTime & | time () const |
| Get the annotation's time. The same as startTime and endTime. | |
| virtual void | setTime (DtAbsoluteTime time) |
| Set the annotation's time. | |
| virtual void | initializeFromObject (const DtEnvObject *annotationObject) |
| Initialize from environment object. | |
| virtual void | createObject (DtEnvironment environment) |
| Create an object in the environment. | |
Static Public Attributes | |
| static DtLgrAnnotationDefinition | theDefinition |
| The global definition of the point annotation type. | |
Static Protected Member Functions | |
| static DtLgrAnnotation * | load (const DtEnvObject *) |
| Create an annotation from an object. | |
| static DtLgrAnnotationSliderBar * | createBar (DtLgrAnnotation *) |
| Draw the bar for a point annotation. | |
Protected Attributes | |
| DtString | myName |
| DtString | myText |
| DtAbsoluteTime | myTime |
Represents an annotation for a specific point in time.
| virtual const DtAbsoluteTime& MAKLogger::DtLgrPointAnnotation::endTime | ( | ) | const [virtual] |
Get the annotation's end time.
For point annotations start time and end time are the same.
Implements MAKLogger::DtLgrAnnotation.
| virtual const DtAbsoluteTime& MAKLogger::DtLgrPointAnnotation::startTime | ( | ) | const [virtual] |
Get the annotation's start time.
For point annotations start time and end time are the same.
Implements MAKLogger::DtLgrAnnotation.