synfig-studio  1.0.3
Public Member Functions | Protected Member Functions | Friends | List of all members
synfigapp::Action::Undoable Class Reference

Undoable Action Base Class. More...

#include <action.h>

Inheritance diagram for synfigapp::Action::Undoable:
synfigapp::Action::Base synfigapp::Action::ActivepointAdd synfigapp::Action::ActivepointRemove synfigapp::Action::ActivepointSet synfigapp::Action::ActivepointSimpleAdd synfigapp::Action::CanvasAdd synfigapp::Action::CanvasDescriptionSet synfigapp::Action::CanvasIdSet synfigapp::Action::CanvasMetadataErase synfigapp::Action::CanvasMetadataSet synfigapp::Action::CanvasNameSet synfigapp::Action::CanvasRemove synfigapp::Action::CanvasRendDescSet synfigapp::Action::EditModeSet synfigapp::Action::GroupAddLayers synfigapp::Action::GroupRemove synfigapp::Action::GroupRemoveLayers synfigapp::Action::GroupRename synfigapp::Action::KeyframeAdd synfigapp::Action::LayerActivate synfigapp::Action::LayerAdd synfigapp::Action::LayerFit synfigapp::Action::LayerMove synfigapp::Action::LayerPaint synfigapp::Action::LayerParamConnect synfigapp::Action::LayerParamDisconnect synfigapp::Action::LayerParamSet synfigapp::Action::LayerParamSetStatic synfigapp::Action::LayerParamUnSetStatic synfigapp::Action::LayerRemove synfigapp::Action::LayerSetDesc synfigapp::Action::LayerSetExcludeFromRendering synfigapp::Action::Super synfigapp::Action::ValueDescSetInterpolation synfigapp::Action::ValueNodeAdd synfigapp::Action::ValueNodeConstSet synfigapp::Action::ValueNodeConstSetStatic synfigapp::Action::ValueNodeConstUnSetStatic synfigapp::Action::ValueNodeDynamicListInsert synfigapp::Action::ValueNodeDynamicListLoop synfigapp::Action::ValueNodeDynamicListRemove synfigapp::Action::ValueNodeDynamicListUnLoop synfigapp::Action::ValueNodeLinkConnect synfigapp::Action::ValueNodeLinkDisconnect synfigapp::Action::ValueNodeRemove synfigapp::Action::ValueNodeRename synfigapp::Action::ValueNodeReplace synfigapp::Action::ValueNodeStaticListInsert synfigapp::Action::ValueNodeStaticListLoop synfigapp::Action::ValueNodeStaticListRemove synfigapp::Action::ValueNodeStaticListUnLoop synfigapp::Action::WaypointAdd synfigapp::Action::WaypointConnect synfigapp::Action::WaypointDisconnect synfigapp::Action::WaypointRemove synfigapp::Action::WaypointSet synfigapp::Action::WaypointSimpleAdd

Public Member Functions

virtual void undo ()=0
 This function will throw an Action::Error() on failure.
bool is_active () const
- Public Member Functions inherited from synfigapp::Action::Base
virtual ~Base ()
virtual void perform ()=0
 This function will throw an Action::Error() on failure.
virtual bool set_param (const synfig::String &, const Param &)
virtual bool get_param (const synfig::String &, Param &)
virtual bool is_ready () const =0
virtual synfig::String get_name () const =0
virtual synfig::String get_local_name () const
void set_param_list (const ParamList &)

Protected Member Functions

 Undoable ()
- Protected Member Functions inherited from synfigapp::Action::Base
 Base ()

Friends

class System

Additional Inherited Members

- Static Public Member Functions inherited from synfigapp::Action::Base
static synfig::String get_layer_descriptions (const std::list< synfig::Layer::Handle > layers, synfig::String singular_prefix="", synfig::String plural_prefix="")
static synfig::String get_layer_descriptions (const std::list< std::pair< synfig::Layer::Handle, int > > layers, synfig::String singular_prefix="", synfig::String plural_prefix="")

Detailed Description

Undoable Action Base Class.

Constructor & Destructor Documentation

Undoable::Undoable ( )
protected

Member Function Documentation

virtual void synfigapp::Action::Undoable::undo ( )
pure virtual

This function will throw an Action::Error() on failure.

Implemented in synfigapp::Action::Super, synfigapp::Action::LayerPaint, synfigapp::Action::KeyframeSet, synfigapp::Action::WaypointAdd, synfigapp::Action::ValueNodeDynamicListInsert, synfigapp::Action::ActivepointAdd, synfigapp::Action::ActivepointSet, synfigapp::Action::ActivepointSimpleAdd, synfigapp::Action::GroupRename, synfigapp::Action::ValueNodeStaticListInsert, synfigapp::Action::WaypointDisconnect, synfigapp::Action::WaypointSet, synfigapp::Action::WaypointSimpleAdd, synfigapp::Action::GroupAddLayers, synfigapp::Action::GroupRemove, synfigapp::Action::LayerMove, synfigapp::Action::LayerParamConnect, synfigapp::Action::WaypointConnect, synfigapp::Action::LayerParamDisconnect, synfigapp::Action::LayerParamSet, synfigapp::Action::LayerParamSetStatic, synfigapp::Action::LayerRemove, synfigapp::Action::LayerSetExcludeFromRendering, synfigapp::Action::ValueDescSetInterpolation, synfigapp::Action::ValueNodeDynamicListLoop, synfigapp::Action::ValueNodeDynamicListRemove, synfigapp::Action::ValueNodeDynamicListUnLoop, synfigapp::Action::ValueNodeLinkConnect, synfigapp::Action::ValueNodeRemove, synfigapp::Action::ValueNodeRename, synfigapp::Action::ValueNodeStaticListRemove, synfigapp::Action::WaypointRemove, synfigapp::Action::ActivepointRemove, synfigapp::Action::CanvasAdd, synfigapp::Action::CanvasMetadataSet, synfigapp::Action::GroupRemoveLayers, synfigapp::Action::KeyframeDuplicate, synfigapp::Action::LayerParamUnSetStatic, synfigapp::Action::LayerSetDesc, synfigapp::Action::ValueNodeConstSet, synfigapp::Action::ValueNodeConstSetStatic, synfigapp::Action::ValueNodeConstUnSetStatic, synfigapp::Action::ValueNodeLinkDisconnect, synfigapp::Action::ValueNodeStaticListLoop, synfigapp::Action::ValueNodeStaticListUnLoop, synfigapp::Action::CanvasMetadataErase, synfigapp::Action::KeyframeRemove, synfigapp::Action::KeyframeToggl, synfigapp::Action::LayerActivate, synfigapp::Action::ValueNodeReplace, synfigapp::Action::CanvasDescriptionSet, synfigapp::Action::CanvasIdSet, synfigapp::Action::CanvasNameSet, synfigapp::Action::CanvasRendDescSet, synfigapp::Action::ValueNodeAdd, synfigapp::Action::KeyframeAdd, synfigapp::Action::LayerAdd, synfigapp::Action::LayerCopy, synfigapp::Action::CanvasRemove, synfigapp::Action::LayerFit, and synfigapp::Action::EditModeSet.

bool synfigapp::Action::Undoable::is_active ( ) const
inline

Friends And Related Function Documentation

friend class System
friend

The documentation for this class was generated from the following files: