casa
$Rev:20696$
|
WorldCanvas position event handler for Animator. More...
#include <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 | 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. |
Constructor.
Destrutor.
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
Animator casa::AniPosEH::animator [private] |
List<void *> casa::AniPosEH::holderList [private] |
List of WorldCanvasHolders.
Definition at line 77 of file AniPosEH.h.