casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
casa::PCRefreshEH Class Reference

WorldCanvas Event Handler for managing events. More...

#include <PCRefreshEH.h>

Inheritance diagram for casa::PCRefreshEH:
casa::Annotations casa::PCTestPattern casa::PCToolRefEH casa::WorldCanvas

Public Member Functions

 PCRefreshEH ()
 Default Constructor Required. More...
 
 PCRefreshEH (const PCRefreshEH &other)
 
virtual void operator() (const PCRefreshEvent &eh)
 Default just prints the event to cout. More...
 
virtual ~PCRefreshEH ()
 Destructor. More...
 

Detailed Description

WorldCanvas Event Handler for managing events.

Etymology

WCMotionEH : WorldCanvas Motion Event Handler

Synopsis

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.

Motivation

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.

Example

To Do

Definition at line 76 of file PCRefreshEH.h.

Constructor & Destructor Documentation

casa::PCRefreshEH::PCRefreshEH ( )

Default Constructor Required.

casa::PCRefreshEH::PCRefreshEH ( const PCRefreshEH other)
virtual casa::PCRefreshEH::~PCRefreshEH ( )
virtual

Destructor.

Member Function Documentation

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.


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