MAK Data Logger API Documentation for HLA
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Attributes | Static Protected Member Functions | Protected Attributes | Private Member Functions
MAKLogger::DtLgrRangeAnnotation Class Reference

Class responsible for representing an annotation over a span of time. More...

+ Inheritance diagram for MAKLogger::DtLgrRangeAnnotation:
+ Collaboration diagram for MAKLogger::DtLgrRangeAnnotation:

Public Member Functions

 DtLgrRangeAnnotation (const DtString &name, const DtString &description, DtAbsoluteTime startTime, DtAbsoluteTime endTime)
 
virtual ~DtLgrRangeAnnotation ()
 
virtual const DtStringtype () const
 Accessor for getting the annotation type. More...
 
virtual void setName (const DtString &name)
 Accessor for setting the annotation name. More...
 
virtual const DtStringname () const
 Accessor for getting the annotation name. More...
 
virtual void setText (const DtString &name)
 Accessor for setting the annotation text. More...
 
virtual const DtStringtext () const
 Accessor for getting the annotation text. More...
 
virtual void setStartTime (const DtAbsoluteTime &time)
 Accessor for setting the annotation start time. More...
 
virtual const DtAbsoluteTimestartTime () const
 Get the start time. More...
 
virtual void setEndTime (const DtAbsoluteTime &time)
 Accessor for setting the annotation start time. More...
 
virtual const DtAbsoluteTimeendTime () const
 Get the end time. More...
 
virtual DtRelativeTime duration () const
 Get the End Time - start time. More...
 
virtual void initializeFromObject (const DtEnvObject *annotationObject)
 Initialize from environment object. More...
 
virtual void createObject (DtEnvironment environment)
 Create an object in the environment. More...
 
- Public Member Functions inherited from MAKLogger::DtLgrAnnotation
 DtLgrAnnotation (const DtLgrAnnotationDefinition *definition)
 CTOR. More...
 
virtual ~DtLgrAnnotation ()
 
const DtLgrAnnotationDefinitiondefinition () const
 Get the definition of of this type of annotation. More...
 
virtual void addedToManager (DtLgrAnnotationManager *manager)
 Called by manager after added to a given manager. More...
 

Static Public Attributes

static DtLgrAnnotationDefinition theDefinition
 Annotation type definition. More...
 

Static Protected Member Functions

static DtLgrAnnotationload (const DtEnvObject *)
 Create a range annotation from an env object. More...
 
static DtLgrAnnotationSliderBarcreateBar (DtLgrAnnotation *)
 Create a range annotation slider bar for the annotation. More...
 

Protected Attributes

DtString myName
 
DtString myText
 
DtAbsoluteTime myStartTime
 
DtAbsoluteTime myEndTime
 
- Protected Attributes inherited from MAKLogger::DtLgrAnnotation
DtLgrAnnotationManagermyManager
 
const DtLgrAnnotationDefinitionmyTypeDefinition
 

Private Member Functions

 DtLgrRangeAnnotation (const DtLgrRangeAnnotation &)
 Not Implemented. More...
 
DtLgrRangeAnnotationoperator= (const DtLgrRangeAnnotation &)
 Not Implemented. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from MAKLogger::DtLgrAnnotation
static bool compareNames (const DtLgrAnnotation *a, const DtLgrAnnotation *b)
 Static function used for sorting. More...
 
- Protected Member Functions inherited from MAKLogger::DtLgrAnnotation
virtual void annotationChanged ()
 Function should be called by any annotation function which modifies the state of the annotation. More...
 

Detailed Description

Class responsible for representing an annotation over a span of time.

Constructor & Destructor Documentation

MAKLogger::DtLgrRangeAnnotation::DtLgrRangeAnnotation ( const DtString name,
const DtString description,
DtAbsoluteTime  startTime,
DtAbsoluteTime  endTime 
)
virtual MAKLogger::DtLgrRangeAnnotation::~DtLgrRangeAnnotation ( )
virtual
MAKLogger::DtLgrRangeAnnotation::DtLgrRangeAnnotation ( const DtLgrRangeAnnotation )
private

Not Implemented.

Member Function Documentation

static DtLgrAnnotationSliderBar* MAKLogger::DtLgrRangeAnnotation::createBar ( DtLgrAnnotation )
staticprotected

Create a range annotation slider bar for the annotation.

virtual void MAKLogger::DtLgrRangeAnnotation::createObject ( DtEnvironment  environment)
virtual

Create an object in the environment.

Implements MAKLogger::DtLgrAnnotation.

virtual DtRelativeTime MAKLogger::DtLgrRangeAnnotation::duration ( ) const
virtual

Get the End Time - start time.

virtual const DtAbsoluteTime& MAKLogger::DtLgrRangeAnnotation::endTime ( ) const
virtual

Get the end time.

Implements MAKLogger::DtLgrAnnotation.

virtual void MAKLogger::DtLgrRangeAnnotation::initializeFromObject ( const DtEnvObject *  annotationObject)
virtual

Initialize from environment object.

Implements MAKLogger::DtLgrAnnotation.

static DtLgrAnnotation* MAKLogger::DtLgrRangeAnnotation::load ( const DtEnvObject *  )
staticprotected

Create a range annotation from an env object.

virtual const DtString& MAKLogger::DtLgrRangeAnnotation::name ( ) const
virtual

Accessor for getting the annotation name.

Implements MAKLogger::DtLgrAnnotation.

DtLgrRangeAnnotation& MAKLogger::DtLgrRangeAnnotation::operator= ( const DtLgrRangeAnnotation )
private

Not Implemented.

virtual void MAKLogger::DtLgrRangeAnnotation::setEndTime ( const DtAbsoluteTime time)
virtual

Accessor for setting the annotation start time.

Implements MAKLogger::DtLgrAnnotation.

virtual void MAKLogger::DtLgrRangeAnnotation::setName ( const DtString name)
virtual

Accessor for setting the annotation name.

Implements MAKLogger::DtLgrAnnotation.

virtual void MAKLogger::DtLgrRangeAnnotation::setStartTime ( const DtAbsoluteTime time)
virtual

Accessor for setting the annotation start time.

Implements MAKLogger::DtLgrAnnotation.

virtual void MAKLogger::DtLgrRangeAnnotation::setText ( const DtString name)
virtual

Accessor for setting the annotation text.

Implements MAKLogger::DtLgrAnnotation.

virtual const DtAbsoluteTime& MAKLogger::DtLgrRangeAnnotation::startTime ( ) const
virtual

Get the start time.

Implements MAKLogger::DtLgrAnnotation.

virtual const DtString& MAKLogger::DtLgrRangeAnnotation::text ( ) const
virtual

Accessor for getting the annotation text.

Implements MAKLogger::DtLgrAnnotation.

virtual const DtString& MAKLogger::DtLgrRangeAnnotation::type ( ) const
virtual

Accessor for getting the annotation type.

Implements MAKLogger::DtLgrAnnotation.

Member Data Documentation

DtAbsoluteTime MAKLogger::DtLgrRangeAnnotation::myEndTime
protected
DtString MAKLogger::DtLgrRangeAnnotation::myName
protected
DtAbsoluteTime MAKLogger::DtLgrRangeAnnotation::myStartTime
protected
DtString MAKLogger::DtLgrRangeAnnotation::myText
protected
DtLgrAnnotationDefinition MAKLogger::DtLgrRangeAnnotation::theDefinition
static

Annotation type definition.


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

Document ID: Generated on Thu Dec 18 15:35:09 EST 2025 from SVN revision 282494
Copyright © 2024 MAK Technologies. All Rights Reserved (www.mak.com)