Rogue Wave Views 5.6 |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
Manager command class. More...
#include <ilviews/manager/commands.h>
Public Member Functions | |
IlvAddObjectCommand (IlvManager *m, IlvGraphic *o, int layer=0) | |
Constructor. More... | |
Public Member Functions inherited from IlvManagerCommand | |
IlvManagerCommand (IlvManager *manager) | |
Constructor. More... | |
IlvManager * | getManager () const |
Returns the manager. More... | |
Manager command class.
Library: ilvmgr
The class IlvAddObjectCommand
is a subclass of IlvManagerCommand
that must be instantiated once an object has been added to an IlvManager
to record the modification and make it possible to undo or redo it.
This class is provided for compatibility purposes only.
IlvAddObjectCommand::IlvAddObjectCommand | ( | IlvManager * | m, |
IlvGraphic * | o, | ||
int | layer = 0 |
||
) |
Constructor.
m | The manager to which the object and the command are added. |
o | The added object. The object is removed when the command is undone. It is deleted when the command is deleted and is considered as not executed (that is, if it has not been added to a command history). |
layer | The layer to which the object is added. |
© Copyright 2012, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.