Command class for adding a connection to a workspace view.
#include <Workspace/DataExecution/UndoCommands/addconnectioncmd.h>
◆ AddConnectionCmd() [1/2]
- Parameters
-
workspace | The workspace in which the connection will be added. |
src | The source of the connection. This output must belong to an operation that is already contained in workspace. |
dest | The destination of the connection. This input must belong to an operation that is already contained in workspace. |
◆ AddConnectionCmd() [2/2]
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
- Parameters
-
workspace | The workspace in which the connection will be added. |
src | The source of the connection. This output must belong to an operation that is already contained in workspace. |
dest | The destination of the connection. This input must belong to an operation that is already contained in workspace. |
item | Serialized information for the connection. When the connection is created, it will load this item to provide further customization (eg anchor and adaptor info). |
◆ ~AddConnectionCmd()
◆ redo()
◆ undo()