Chrysalis - CLO3D Extensions
Loading...
Searching...
No Matches
CLO3D::BaseTask Class Referenceabstract

#include <BaseTask.h>

Inheritance diagram for CLO3D::BaseTask:
[legend]

Public Member Functions

 BaseTask (const QString &name)
 BaseTask (const BaseTask &)=delete
 BaseTask (BaseTask &&) noexcept=delete
virtual ~BaseTask ()=default
BaseTask & operator= (const BaseTask &)=delete
BaseTask & operator= (BaseTask &&) noexcept=delete
const QString & name () const

Protected Member Functions

virtual void wait ()=0
virtual void run (const std::function< void()> &onSuccess, const std::function< void(const BaseTaskException &)> &onException)=0

Friends

class TaskGroup
class TaskExecutor

Constructor & Destructor Documentation

◆ BaseTask() [1/3]

BaseTask::BaseTask ( const QString & name)
explicit
Here is the call graph for this function:
Here is the caller graph for this function:

◆ BaseTask() [2/3]

CLO3D::BaseTask::BaseTask ( const BaseTask & )
explicitdelete
Here is the call graph for this function:

◆ BaseTask() [3/3]

CLO3D::BaseTask::BaseTask ( BaseTask && )
explicitdeletenoexcept
Here is the call graph for this function:

◆ ~BaseTask()

virtual CLO3D::BaseTask::~BaseTask ( )
virtualdefault
Here is the call graph for this function:

Member Function Documentation

◆ name()

const QString & BaseTask::name ( ) const
nodiscard
Here is the caller graph for this function:

◆ operator=() [1/2]

BaseTask & CLO3D::BaseTask::operator= ( BaseTask && )
deletenoexcept
Here is the call graph for this function:

◆ operator=() [2/2]

BaseTask & CLO3D::BaseTask::operator= ( const BaseTask & )
delete
Here is the call graph for this function:

◆ run()

virtual void CLO3D::BaseTask::run ( const std::function< void()> & onSuccess,
const std::function< void(const BaseTaskException &)> & onException )
protectedpure virtual

Implemented in CLO3D::Task, and CLO3D::TaskGroup.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ wait()

virtual void CLO3D::BaseTask::wait ( )
protectedpure virtual

Implemented in CLO3D::Task, and CLO3D::TaskGroup.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ TaskExecutor

friend class TaskExecutor
friend

◆ TaskGroup

friend class TaskGroup
friend

The documentation for this class was generated from the following files:
  • /opt/buildagent/work/edabedf7a47abebc/integrations/clo3d/include/BaseTask.h
  • /opt/buildagent/work/edabedf7a47abebc/integrations/clo3d/src/BaseTask.cpp