casa
5.7.0-16
|
Base class describing event information for WorldCanvases. More...
#include <WorldCanvasEvent.h>
Public Member Functions | |
WorldCanvasEvent (WorldCanvas *wc) | |
Constructor, taking a pointer to a WorldCanvas. More... | |
virtual | ~WorldCanvasEvent () |
Destructor. More... | |
virtual WorldCanvas * | worldCanvas () 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... | |
DisplayEvent & | operator= (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... | |
WorldCanvasEvent & | operator= (const WorldCanvasEvent &other) |
(Required) copy assignment. More... | |
Private Attributes | |
WorldCanvas * | itsWorldCanvas |
Store the WorldCanvas of the event here at construction. More... | |
Base class describing event information for WorldCanvases.
Internal
"WorldCanvasEvents" describes "Events" (ie. things which happen at a measurable time) which occur on WorldCanvases.
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.
It is desirable to locate in a single place the information which is common to all events occuring on WorldCanvases.
.
Definition at line 79 of file WorldCanvasEvent.h.
casa::WorldCanvasEvent::WorldCanvasEvent | ( | WorldCanvas * | wc | ) |
Constructor, taking a pointer to a WorldCanvas.
|
virtual |
Destructor.
|
protected |
(Required) default constructor.
|
protected |
(Required) copy constructor.
|
protected |
(Required) copy assignment.
|
inlinevirtual |
Return a pointer to the WorldCanvas on which the event occurred.
Definition at line 90 of file WorldCanvasEvent.h.
References itsWorldCanvas.
|
private |
Store the WorldCanvas of the event here at construction.
Definition at line 108 of file WorldCanvasEvent.h.
Referenced by worldCanvas().