Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
MAKLogger::DtLgrAnnotation Class Reference

Base annotation class defines interface for all annotations. More...

+ Inheritance diagram for MAKLogger::DtLgrAnnotation:
+ Collaboration diagram for MAKLogger::DtLgrAnnotation:

List of all members.

Public Member Functions

 DtLgrAnnotation (const DtLgrAnnotationDefinition *definition)
 CTOR.
const DtLgrAnnotationDefinitiondefinition () 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 DtStringtype () const =0
virtual void setName (const DtString &name)=0
virtual const DtStringname () const =0
virtual void setText (const DtString &text)=0
virtual const DtStringtext () const =0
virtual void setStartTime (const DtAbsoluteTime &time)=0
virtual const DtAbsoluteTimestartTime () const =0
virtual void setEndTime (const DtAbsoluteTime &time)=0
virtual const DtAbsoluteTimeendTime () 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

DtLgrAnnotationManagermyManager
const DtLgrAnnotationDefinitionmyTypeDefinition

Detailed Description

Base annotation class defines interface for all annotations.


Member Function Documentation

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.


The documentation for this class was generated from the following file:

Document ID: Generated on Tue Oct 11 19:41:03 EDT 2011 from SVN revision 107422
Copyright © 2005-2011 VT MÄK Inc. All Rights Reserved (www.mak.com)