casa
5.7.0-16
|
Event sent to tell MWCCrosshairTool to reset. More...
#include <MWCEvents.h>
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... | |
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... | |
Private Attributes | |
casacore::Bool | skipRefresh_ |
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.
|
inline |
caller sets skipRefresh=true iff it is handling refresh itself.
Definition at line 55 of file MWCEvents.h.
|
inlinevirtual |
Definition at line 57 of file MWCEvents.h.
References skipRefresh_.
|
private |
Definition at line 62 of file MWCEvents.h.
Referenced by skipRefresh().