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

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

#include <WorldCanvasEvent.h>

Inheritance diagram for casa::WorldCanvasEvent:
casa::DisplayEvent casa::CrosshairEvent casa::RectRegionEvent casa::WCMotionEvent casa::WCRefreshEvent casa::WCPositionEvent

Public Member Functions

 WorldCanvasEvent (WorldCanvas *wc)
 Constructor, taking a pointer to a WorldCanvas. More...
 
virtual ~WorldCanvasEvent ()
 Destructor. More...
 
virtual WorldCanvasworldCanvas () const
 Return a pointer to the WorldCanvas 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

 WorldCanvasEvent ()
 (Required) default constructor. More...
 
 WorldCanvasEvent (const WorldCanvasEvent &other)
 (Required) copy constructor. More...
 
WorldCanvasEventoperator= (const WorldCanvasEvent &other)
 (Required) copy assignment. More...
 

Private Attributes

WorldCanvasitsWorldCanvas
 Store the WorldCanvas of the event here at construction. More...
 

Detailed Description

Base class describing event information for WorldCanvases.

Intended use:

Internal

Review Status

Date Reviewed:
yyyy/mm/dd

Etymology

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

Prerequisite

Synopsis

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

Example

Motivation

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

Thrown Exceptions

.

Definition at line 79 of file WorldCanvasEvent.h.

Constructor & Destructor Documentation

casa::WorldCanvasEvent::WorldCanvasEvent ( WorldCanvas wc)

Constructor, taking a pointer to a WorldCanvas.

virtual casa::WorldCanvasEvent::~WorldCanvasEvent ( )
virtual

Destructor.

casa::WorldCanvasEvent::WorldCanvasEvent ( )
protected

(Required) default constructor.

casa::WorldCanvasEvent::WorldCanvasEvent ( const WorldCanvasEvent other)
protected

(Required) copy constructor.

Member Function Documentation

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

(Required) copy assignment.

virtual WorldCanvas* casa::WorldCanvasEvent::worldCanvas ( ) const
inlinevirtual

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

Definition at line 90 of file WorldCanvasEvent.h.

References itsWorldCanvas.

Member Data Documentation

WorldCanvas* casa::WorldCanvasEvent::itsWorldCanvas
private

Store the WorldCanvas of the event here at construction.

Definition at line 108 of file WorldCanvasEvent.h.

Referenced by worldCanvas().


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