casa
$Rev:20696$
|
WorldCanvas Event Handler for managing events
#include <PCRefreshEH.h>
Public Member Functions | |
PCRefreshEH () | |
Default Constructor Required. | |
virtual void | operator() (const PCRefreshEvent &eh) |
Default just prints the event to cout. | |
virtual | ~PCRefreshEH () |
Destructor. |
WorldCanvas Event Handler for managing events
WCMotionEH : WorldCanvas Motion Event Handler
Designed for derivation, this class is the base class which is communicated to when the it is necessary to refresh the display. The application programmer should derive from this class, add any data fields needed, and override operator () to redraw the screen properly.
Wanted a standard method for event management. It was felt that a class might be more flexible than callback methods because a class can contain data and other functions as well.
Definition at line 76 of file PCRefreshEH.h.
Default Constructor Required.
virtual casa::PCRefreshEH::~PCRefreshEH | ( | ) | [virtual] |
Destructor.
virtual void casa::PCRefreshEH::operator() | ( | const PCRefreshEvent & | eh | ) | [virtual] |
Default just prints the event to cout.
Reimplemented in casa::WorldCanvas, casa::Annotations, casa::PCToolRefEH, and casa::PCTestPattern.