casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Member Functions | Private Attributes
casa::AniPosEH Class Reference

WorldCanvas position event handler for Animator. More...

#include <AniPosEH.h>

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

List of all members.

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 addWorldCanvasHolder (WorldCanvasHolder *wcHolder)
 add/remove a WorldCanvasHolder to the handler
virtual void removeWorldCanvasHolder (WorldCanvasHolder &wcHolder)
virtual void resetAnimator ()
 reset the animator - this is typically called by the WorldCanvasHolder when DisplayDatas are registered or unregistered

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.

Detailed Description

WorldCanvas position event handler for Animator.

Synopsis

Definition at line 47 of file AniPosEH.h.


Constructor & Destructor Documentation

Constructor.

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 ( ) [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


Member Data Documentation

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: