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

Event sent to tell MWCCrosshairTool to reset. More...

#include <MWCEvents.h>

Inheritance diagram for casa::ResetCrosshairEvent:

Public Member Functions

 ResetCrosshairEvent (casacore::Bool skipRefresh=false)
 caller sets skipRefresh=true iff it is handling refresh itself. More...
virtual casacore::Bool skipRefresh () const
- 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...

Private Attributes

casacore::Bool skipRefresh_

Detailed Description

Event sent to tell MWCCrosshairTool to reset.


ResetCrosshairEvent is created and sent to MWCCrosshairTool (via WorldCanvas::handleEvent()) to tell the crosshair to reset itself.


This allows display library objects (e.g. MSAsRaster) to remove the crosshair from the screen when appropriate (e.g. when it has received a selection event from it).

Definition at line 51 of file MWCEvents.h.

Constructor & Destructor Documentation

casa::ResetCrosshairEvent::ResetCrosshairEvent ( casacore::Bool  skipRefresh = false)

caller sets skipRefresh=true iff it is handling refresh itself.

Definition at line 55 of file MWCEvents.h.

Member Function Documentation

virtual casacore::Bool casa::ResetCrosshairEvent::skipRefresh ( ) const

Definition at line 57 of file MWCEvents.h.

References skipRefresh_.

Member Data Documentation

casacore::Bool casa::ResetCrosshairEvent::skipRefresh_

Definition at line 62 of file MWCEvents.h.

Referenced by skipRefresh().

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