casa
$Rev:20696$
|
PixelCanvas motion event handler for PCTool. More...
#include <PCTool.h>
Public Member Functions | |
PCToolMotEH (PCTool *tool) | |
virtual | ~PCToolMotEH () |
virtual void | operator() (const PCMotionEvent &ev) |
Default just prints the event to cout. | |
Private Attributes | |
PCTool * | itsTool |
PixelCanvas motion event handler for PCTool.
This class is a simple implementation of a PCMotionEH which passes PixelCanvas motion events on to a single PCTool.
casa::PCToolMotEH::PCToolMotEH | ( | PCTool * | tool | ) |
virtual casa::PCToolMotEH::~PCToolMotEH | ( | ) | [inline, virtual] |
virtual void casa::PCToolMotEH::operator() | ( | const PCMotionEvent & | eh | ) | [virtual] |
Default just prints the event to cout.
Reimplemented from casa::PCMotionEH.
PCTool* casa::PCToolMotEH::itsTool [private] |