OpenLexocad  27.0
OpenLxCmd::CmdAttachToTask Class Reference

Attach a Task (provided its identifier) to the given Element. If the Command fails, check the log for more information. More...

#include <CmdAttachToTask.h>

Inheritance diagram for OpenLxCmd::CmdAttachToTask:
Core::Command

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 (void)
 
virtual ~Command (void)
 
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 onoff)
 
bool isInSilentMode () const
 

Detailed Description

Attach a Task (provided its identifier) to the given Element. If the Command fails, check the log for more information.

Since
26.0

Constructor & Destructor Documentation

◆ CmdAttachToTask()

OpenLxCmd::CmdAttachToTask::CmdAttachToTask ( const Base::String taskId,
std::shared_ptr< OpenLxApp::Element element 
)

◆ ~CmdAttachToTask()

OpenLxCmd::CmdAttachToTask::~CmdAttachToTask ( )

Member Function Documentation

◆ redo()

bool OpenLxCmd::CmdAttachToTask::redo ( )
overridevirtual

Reimplemented from Core::Command.

◆ undo()

bool OpenLxCmd::CmdAttachToTask::undo ( )
overridevirtual

Reimplemented from Core::Command.


The documentation for this class was generated from the following file: