casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
casa::DisplayDataEvent Class Reference

Class for events sent by DisplayDatas. More...

#include <DisplayDataEvent.h>

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

Public Member Functions

 DisplayDataEvent (DisplayData *dd)
 Constructor, taking a pointer to a constant DD. More...
 
virtual ~DisplayDataEvent ()
 Destructor. More...
 
virtual DisplayDatadisplayData () const
 Return a pointer to the DD that generated the event. More...
 
- Public Member Functions inherited from casa::DisplayEvent
 DisplayEvent ()
 Constructor. More...
 
 DisplayEvent (const DisplayEvent &other)
 Copy constructor - construct a new DisplayEvent from other. More...
 
virtual ~DisplayEvent ()
 Destructor. More...
 
DisplayEventoperator= (const DisplayEvent &other)
 Copy assignment using copy semantics. More...
 
virtual casacore::Double timeOfEvent () const
 Return the Julian date (in fractional seconds) that this event occured. More...
 

Protected Member Functions

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

Private Attributes

DisplayDataitsDisplayData
 Store the DisplayData of the event here at construction. More...
 

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

casa::DisplayDataEvent::DisplayDataEvent ( DisplayData dd)

Constructor, taking a pointer to a constant DD.

virtual casa::DisplayDataEvent::~DisplayDataEvent ( )
virtual

Destructor.

casa::DisplayDataEvent::DisplayDataEvent ( )
protected

(Required) default constructor.

casa::DisplayDataEvent::DisplayDataEvent ( const DisplayDataEvent other)
protected

(Required) copy constructor.

Member Function Documentation

virtual DisplayData* casa::DisplayDataEvent::displayData ( ) const
inlinevirtual

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

DisplayData* casa::DisplayDataEvent::itsDisplayData
private

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: