Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

VController Class Template Reference

Abstract Controller class; controls a property. More...

#include <Controller.h>

Inheritance diagram for VController:

VAbstractEditable VSpecificKeyIterator VGenericKeyIterator VKeyController VPathController List of all members.

Public Methods

 VController ()
 VController (VController< T > *p)
virtual VController<T>* Clone ()=0
virtual T Evaluate (int nFrame)=0
 Evaluate the controller at a specific frame.

virtual VAbstractEditorCreateEditor ()=0
 Returns an editor that can allow the user to manipulate this object.

void StartFrame (int nFrame)
 Set the starting frame.

int StartFrame () const
 Get the starting frame.

void EndFrame (int nFrame)
 Set the ending frame.

int EndFrame () const
 Get the ending frame.

virtual void OnLink ()
 The controller has just been linked to a shape.

virtual string Identify () const=0
 Identifies the class.

virtual bool MaintainsLinkToShape (void *) const
 The object requires what's located in this memory for operation.

virtual void UnlinkShape (void *)
 The object required for operation has been deleted and must be unlinked.

KeyIterator
virtual int Count () const
 Number of keyframes.

virtual void SetFrame (int pos, int f)
 Changes the frame where a keyframe resides.

virtual int GetFrame (int pos)
 Returns the frame where a keyframe resides.

virtual void SetKey (int pos, T key)
 Sets an existing keyframe but does not add.

virtual T GetKey (int pos)
 Returns the value of a keyframe.

virtual void AddUpdate (int f, T key)
 Adds or Updates a keyframe.

virtual void Delete (int pos)
 Delete a keyframe at a certain position.

virtual bool SupportsDirectManipulation () const
 The object can be manipulated directly by the user.


Protected Attributes

m_CurrentValue
int m_nStartFrame
int m_nEndFrame

Detailed Description

template<class T> class VController

Abstract Controller class; controls a property.


The documentation for this class was generated from the following file:
Generated at Wed Aug 29 19:58:56 2001 for Pocket Animator by doxygen1.2.5 written by Dimitri van Heesch, © 1997-2001