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

VSpecificProperty Class Template Reference

A property, which can be linked with a controller of type T. More...

#include <SpecificProperty.h>

Inheritance diagram for VSpecificProperty:

VGenericProperty VSpecificKeyIterator VAbstractEditable VControllerFactory VGenericKeyIterator VGenericKeyIterator VProperty_ColorFill VProperty_ColorLine VProperty_LineWidth VProperty_Opacity VTransform VMoveTransform VRotateTransform VScaleTransform List of all members.

Public Methods

 VSpecificProperty ()
 VSpecificProperty (VSpecificProperty< T > *p)
virtual VSpecificProperty<T>* Clone ()
void SetBase (T BaseValue)
 Set the base value of the property.

GetBase () const
 Get the base value of the property.

void SetController (VController< T > *pNewCtrl)
 Set the controller of this property.

VController<T>* GetController ()
VGenericProperty
virtual string Identify () const
 Identifies the class.

string IdentifyController () const
 Returns an identifying string for the object that controls the property.

bool IsControlled () const
 Is the property attached to a controller or is it static.

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

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

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

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.

bool Exists (int f) const
 Does a keyframe exist at a specific frame?

virtual void CreateBlankKeyFrame (int frame)
 Adds a blank keyframe at the specified frame.

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

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.

VController
virtual T Evaluate (int nFrame)
 Evaluate the controller at a specific frame.

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

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

VControllerFactory
virtual int ControllerCount () const
 The number of controllers possible for the class.

virtual void ImplementController (int index)
 Links a controller to the class.

virtual string ControllerInfo (int index) const
 Indentifies a controller.

void UnlinkController ()
 Deletes and unlinks the current controller from the class.


Protected Attributes

VController<T>* m_pControl
 The controller of the property.

m_BaseValue
 Base value.

int m_BaseFrame
 Which frame the base value came from.


Friends

class  CShapePropertiesDialog

Detailed Description

template<class T> class VSpecificProperty

A property, which can be linked with a controller of type T.


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