casa
$Rev:20696$
|
WorldCanvas motion event handler for WCTool. More...
#include <WCTool.h>
Public Member Functions | |
WCToolMotEH (WCTool *tool) | |
virtual | ~WCToolMotEH () |
virtual void | operator() (const WCMotionEvent &ev) |
default sends event to cout | |
Private Attributes | |
WCTool * | itsTool |
WorldCanvas motion event handler for WCTool.
This class is a simple implementation of a WCMotionEH which passes WorldCanvas motion events on to a single WCTool.
casa::WCToolMotEH::WCToolMotEH | ( | WCTool * | tool | ) |
virtual casa::WCToolMotEH::~WCToolMotEH | ( | ) | [inline, virtual] |
virtual void casa::WCToolMotEH::operator() | ( | const WCMotionEvent & | ev | ) | [virtual] |
default sends event to cout
Implements casa::WCMotionEH.
WCTool* casa::WCToolMotEH::itsTool [private] |