casa::AniPosEH Class Reference
[DisplayEvents]

#include <AniPosEH.h>

Inheritance diagram for casa::AniPosEH:

Inheritance graph
[legend]
Collaboration diagram for casa::AniPosEH:

Collaboration graph
[legend]
List of all members.

Detailed Description

WorldCanvas position event handler for Animator.

Synopsis

Definition at line 47 of file AniPosEH.h.

Public Member Functions

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

Private Member Functions

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

Private Attributes

Animator animator
 the Animator we control
List< void * > holderList
 List of WorldCanvasHolders.


Constructor & Destructor Documentation

casa::AniPosEH::AniPosEH (  ) 

Constructor.

casa::AniPosEH::~AniPosEH (  ) 

Destrutor.


Member Function Documentation

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

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

Reimplemented from casa::WCPositionEH.

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

add/remove a WorldCanvasHolder to the handler

virtual void casa::AniPosEH::removeWorldCanvasHolder ( WorldCanvasHolder wcHolder  )  [virtual]

virtual void casa::AniPosEH::resetAnimator (  )  [inline, virtual]

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

void casa::AniPosEH::refresh (  )  [private]

refresh the WorldCanvasHolders

void casa::AniPosEH::cleanup (  )  [private]

cleanup the DisplayDatas on all WorldCanvasHolders


Member Data Documentation

Animator casa::AniPosEH::animator [private]

the Animator we control

Definition at line 74 of file AniPosEH.h.

Referenced by resetAnimator().

List<void *> casa::AniPosEH::holderList [private]

List of WorldCanvasHolders.

Definition at line 77 of file AniPosEH.h.


The documentation for this class was generated from the following file:
Generated on Thu Aug 27 21:38:25 2009 for NRAOCASA by  doxygen 1.5.1