WorldCanvas position event handler for WCTool. More...
#include <WCTool.h>
Public Member Functions | |
| WCToolPosEH (WCTool *tool) | |
| virtual | ~WCToolPosEH () |
| virtual void | operator() (const WCPositionEvent &ev) |
| Default just prints the event to cout. | |
Private Attributes | |
| WCTool * | itsTool |
WorldCanvas position event handler for WCTool.
This class is a simple implementation of a WCPositionEH which passes WorldCanvas position events on to a single WCTool.
Definition at line 53 of file WCTool.h.
| casa::WCToolPosEH::WCToolPosEH | ( | WCTool * | tool | ) |
| virtual casa::WCToolPosEH::~WCToolPosEH | ( | ) | [inline, virtual] |
| virtual void casa::WCToolPosEH::operator() | ( | const WCPositionEvent & | ev | ) | [virtual] |
Default just prints the event to cout.
Implements casa::WCPositionEH.
WCTool* casa::WCToolPosEH::itsTool [private] |
1.6.1