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

WorldCanvas position event handler for Animator. More...

#include <AniPosEH.h>

Inheritance diagram for casa::AniPosEH:
casa::WCPositionEH

Public Member Functions

 AniPosEH ()
 Constructor. More...
 
 ~AniPosEH ()
 Destrutor. More...
 
virtual void operator() (const WCPositionEvent &ev)
 The operator that is given the position events and must process them. More...
 
virtual void addWorldCanvasHolder (WorldCanvasHolder *wcHolder)
 add/remove a WorldCanvasHolder to the handler More...
 
virtual void removeWorldCanvasHolder (WorldCanvasHolder &wcHolder)
 
virtual void resetAnimator ()
 reset the animator - this is typically called by the WorldCanvasHolder when DisplayDatas are registered or unregistered More...
 
- Public Member Functions inherited from casa::WCPositionEH
 WCPositionEH ()
 Default Constructor Required. More...
 
virtual ~WCPositionEH ()
 Destructor. More...
 

Private Member Functions

void setRestriction (Attribute &att)
 set a restriction on the WorldCanvasHolders More...
 
void refresh ()
 refresh the WorldCanvasHolders More...
 
void cleanup ()
 cleanup the DisplayDatas on all WorldCanvasHolders More...
 

Private Attributes

Animator animator
 the Animator we control More...
 
std::list< void * > holderList
 casacore::List of WorldCanvasHolders More...
 

Detailed Description

WorldCanvas position event handler for Animator.

Synopsis

Definition at line 47 of file AniPosEH.h.

Constructor & Destructor Documentation

casa::AniPosEH::AniPosEH ( )

Constructor.

casa::AniPosEH::~AniPosEH ( )

Destrutor.

Member Function Documentation

virtual void casa::AniPosEH::addWorldCanvasHolder ( WorldCanvasHolder wcHolder)
virtual

add/remove a WorldCanvasHolder to the handler

void casa::AniPosEH::cleanup ( )
private

cleanup the DisplayDatas on all WorldCanvasHolders

virtual void casa::AniPosEH::operator() ( const WCPositionEvent ev)
virtual

The operator that is given the position events and must process them.

Implements casa::WCPositionEH.

void casa::AniPosEH::refresh ( )
private

refresh the WorldCanvasHolders

virtual void casa::AniPosEH::removeWorldCanvasHolder ( WorldCanvasHolder wcHolder)
virtual
virtual void casa::AniPosEH::resetAnimator ( )
inlinevirtual

reset the animator - this is typically called by the WorldCanvasHolder when DisplayDatas are registered or unregistered

Definition at line 69 of file AniPosEH.h.

References animator, and casa::Animator::reset().

void casa::AniPosEH::setRestriction ( Attribute att)
private

set a restriction on the WorldCanvasHolders

Member Data Documentation

Animator casa::AniPosEH::animator
private

the Animator we control

Definition at line 76 of file AniPosEH.h.

Referenced by resetAnimator().

std::list<void *> casa::AniPosEH::holderList
private

casacore::List of WorldCanvasHolders

Definition at line 79 of file AniPosEH.h.


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