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

Event sent to tell MWCRTRegionTool to reset. More...

#include <MWCEvents.h>

Inheritance diagram for casa::ResetRTRegionEvent:

Public Member Functions

 ResetRTRegionEvent (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 MWCRTRegionTool to reset.


ResetRTRegionEvent is created and sent to MWCRTRegionTool (via WorldCanvas::handleEvent()) to tell the RTRegion to reset itself.


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

Definition at line 81 of file MWCEvents.h.

Constructor & Destructor Documentation

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

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

Definition at line 85 of file MWCEvents.h.

Member Function Documentation

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

Definition at line 87 of file MWCEvents.h.

References skipRefresh_.

Member Data Documentation

casacore::Bool casa::ResetRTRegionEvent::skipRefresh_

Definition at line 92 of file MWCEvents.h.

Referenced by skipRefresh().

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