| 
    OpenLexocad
    27.1
    
   | 
 
Attach a Task (provided its identifier) to the given Element. If the Command fails, check the log for more information. More...
#include <CmdAttachToTask.h>
  
Public Member Functions | |
| CmdAttachToTask (const Base::String &taskId, std::shared_ptr< OpenLxApp::Element > element) | |
| ~CmdAttachToTask () | |
| bool | redo () override | 
| bool | undo () override | 
  Public Member Functions inherited from Core::Command | |
| Command () | |
| virtual | ~Command () | 
| virtual void | serialize (std::ostream &, const unsigned int) | 
| Base::String | getDescription () const | 
| void | setDescription (const Base::String &s) | 
| void | setParameter (const std::string &key, const Core::Variant &value) | 
| bool | getParameter (const std::string &key, Core::Variant &value) const | 
| void | setSilentMode (bool on) | 
| bool | isInSilentMode () const | 
| void | setDoRecomputeInRedo (bool on) | 
| void | setDoRecomputeInUndo (bool on) | 
| bool | getDoRecomputeInRedo () const | 
| bool | getDoRecomputeInUndo () const | 
| void | setDone (bool yes) | 
| bool | isDone () const | 
Attach a Task (provided its identifier) to the given Element. If the Command fails, check the log for more information.
| OpenLxCmd::CmdAttachToTask::CmdAttachToTask | ( | const Base::String & | taskId, | 
| std::shared_ptr< OpenLxApp::Element > | element | ||
| ) | 
| OpenLxCmd::CmdAttachToTask::~CmdAttachToTask | ( | ) | 
      
  | 
  overridevirtual | 
Reimplemented from Core::Command.
      
  | 
  overridevirtual | 
Reimplemented from Core::Command.