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::PixelCanvasEvent Class Reference

Base class describing event information for PixelCanvases. More...

#include <PixelCanvasEvent.h>

Inheritance diagram for casa::PixelCanvasEvent:
casa::DisplayEvent casa::PCMotionEvent casa::PCRefreshEvent casa::PCPositionEvent

Public Member Functions

 PixelCanvasEvent (PixelCanvas *pc)
 Constructor, taking a pointer to a PixelCanvas. More...
 
virtual ~PixelCanvasEvent ()
 Destructor. More...
 
virtual PixelCanvaspixelCanvas () const
 Return a pointer to the PixelCanvas on which the event occurred. 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

 PixelCanvasEvent ()
 (Required) default constructor. More...
 
 PixelCanvasEvent (const PixelCanvasEvent &other)
 (Required) copy constructor. More...
 
PixelCanvasEventoperator= (const PixelCanvasEvent &other)
 (Required) copy assignment. More...
 

Private Attributes

PixelCanvasitsPixelCanvas
 Store the PixelCanvas of the event here at construction. More...
 

Detailed Description

Base class describing event information for PixelCanvases.

Intended use:

Internal

Review Status

Date Reviewed:
yyyy/mm/dd

Etymology

"PixelCanvasEvents" describes "Events" (ie. things which happen at a measurable time) which occur on PixelCanvases.

Prerequisite

Synopsis

This class adds to the information stored in the DisplayEvent class. It adds information specific to events occuring on PixelCanvases, viz. a pointer to the PixelCanvas itself.

Example

Motivation

It is desirable to locate in a single place the information which is common to all events occuring on PixelCanvases.

Thrown Exceptions

.

Definition at line 79 of file PixelCanvasEvent.h.

Constructor & Destructor Documentation

casa::PixelCanvasEvent::PixelCanvasEvent ( PixelCanvas pc)

Constructor, taking a pointer to a PixelCanvas.

virtual casa::PixelCanvasEvent::~PixelCanvasEvent ( )
virtual

Destructor.

casa::PixelCanvasEvent::PixelCanvasEvent ( )
protected

(Required) default constructor.

casa::PixelCanvasEvent::PixelCanvasEvent ( const PixelCanvasEvent other)
protected

(Required) copy constructor.

Member Function Documentation

PixelCanvasEvent& casa::PixelCanvasEvent::operator= ( const PixelCanvasEvent other)
protected

(Required) copy assignment.

virtual PixelCanvas* casa::PixelCanvasEvent::pixelCanvas ( ) const
inlinevirtual

Return a pointer to the PixelCanvas on which the event occurred.

Definition at line 90 of file PixelCanvasEvent.h.

References itsPixelCanvas.

Member Data Documentation

PixelCanvas* casa::PixelCanvasEvent::itsPixelCanvas
private

Store the PixelCanvas of the event here at construction.

Definition at line 108 of file PixelCanvasEvent.h.

Referenced by pixelCanvas().


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