IRsCommand Interface Reference

Inherits IRsObject.

Inherited by CRcUiOpenStackPanel.

List of all members.

Public Member Functions

HRESULT Execute (void)
HRESULT Undo (void)
HRESULT Redo (void)
HRESULT HasUndo ([out, retval] RtBool *isUndoable)


Detailed Description

Base interface for executable command. Can optionally support undo/redo functionality.

Member Function Documentation

HRESULT IRsCommand::Execute ( void   ) 

Execute the command.

HRESULT IRsCommand::Undo ( void   ) 

Undo the command. Implements undo functionality if supported.

HRESULT IRsCommand::Redo ( void   ) 

Redo the command. Implements redo functionality if supported.

HRESULT IRsCommand::HasUndo ( [out, retval] RtBool *  isUndoable  ) 

Indicates support for undo/redo functionality.
Fills parameter with true value if undo/redo supported, false otherwise.

Returns:
isUndoable [out,retval] indicates if the command supports undo .


Generated on Wed May 20 21:32:21 2009 for trueSpace7.6 SDK by  doxygen 1.5.5