casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Protected Member Functions | Private Attributes
casa::DisplayDataEvent Class Reference

Class for events sent by DisplayDatas. More...

#include <DisplayDataEvent.h>

Inheritance diagram for casa::DisplayDataEvent:
casa::DisplayEvent casa::DDModEvent

List of all members.

Public Member Functions

 DisplayDataEvent (DisplayData *dd)
 Constructor, taking a pointer to a constant DD.
virtual ~DisplayDataEvent ()
 Destructor.
virtual DisplayDatadisplayData () const
 Return a pointer to the DD that generated the event.

Protected Member Functions

 DisplayDataEvent ()
 (Required) default constructor.
 DisplayDataEvent (const DisplayDataEvent &other)
 (Required) copy constructor.
DisplayDataEventoperator= (const DisplayDataEvent &other)
 (Required) copy assignment.

Private Attributes

DisplayDataitsDisplayData
 Store the DisplayData of the event here at construction.

Detailed Description

Class for events sent by DisplayDatas.

Intended use:

Internal

Review Status

Date Reviewed:
yyyy/mm/dd

Etymology

"DisplayDataEvents" describes "Events" (ie. things which happen at a measurable time) which are sent by DisplayDatas.

Prerequisite

Synopsis

This class adds to the information stored in the DisplayEvent class. It adds a pointer to the DisplayData itself.

Example

Motivation

There was a need for events that can be sent by display datas to signal modifications. DisplayEHs can listen to these events from any display data that transmits DisplayDataEvents

Thrown Exceptions

.

Definition at line 79 of file DisplayDataEvent.h.


Constructor & Destructor Documentation

Constructor, taking a pointer to a constant DD.

Destructor.

(Required) default constructor.

(Required) copy constructor.


Member Function Documentation

virtual DisplayData* casa::DisplayDataEvent::displayData ( ) const [inline, virtual]

Return a pointer to the DD that generated the event.

Definition at line 90 of file DisplayDataEvent.h.

References itsDisplayData.

DisplayDataEvent& casa::DisplayDataEvent::operator= ( const DisplayDataEvent other) [protected]

(Required) copy assignment.


Member Data Documentation

Store the DisplayData of the event here at construction.

Definition at line 108 of file DisplayDataEvent.h.

Referenced by displayData().


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