Workspace 6.21.5
Public Member Functions | List of all members
RemoveOperationCmd Class Reference

Command class for removing an operation from a workspace view.

#include <Workspace/DataExecution/UndoCommands/removeoperationcmd.h>

Inheritance diagram for RemoveOperationCmd:
[legend]

Public Member Functions

 RemoveOperationCmd (Operation &op)
 
void recordRackIds (const Workspace &workspace)
 
void redo () override
 
void restoreRackIds (Workspace &workspace)
 
void undo () override
 

Constructor & Destructor Documentation

◆ RemoveOperationCmd()

Member Function Documentation

◆ recordRackIds()

void recordRackIds ( const Workspace workspace)

Records all mini operations rack ID's where the rack size is 1 in the workspace. This function recursively traverses all nested workflows except where workflows that have an external source.

See also
restoreRackIds

◆ redo()

void redo ( )
override

◆ restoreRackIds()

void restoreRackIds ( Workspace workspace)

Restores all mini operation rack ID's as recorded in the the operation ID to rack ID map in the given workspace. This function recursively traverses all nested workflows except where workflows that have an external source.

See also
recordRackIds

◆ undo()

void undo ( )
override