Chrysalis - CLO3D Extensions
Loading...
Searching...
No Matches
CLO3D::Task Class Reference

#include <Task.h>

Inheritance diagram for CLO3D::Task:
[legend]
Collaboration diagram for CLO3D::Task:
[legend]

Public Member Functions

 Task (const QString &name, const std::function< void()> &task)
 ~Task () override
Public Member Functions inherited from CLO3D::BaseTask
 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

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

Constructor & Destructor Documentation

◆ Task()

Task::Task ( const QString & name,
const std::function< void()> & task )
explicit
Here is the call graph for this function:

◆ ~Task()

Task::~Task ( )
override

Member Function Documentation

◆ run()

void Task::run ( const std::function< void()> & onSuccess,
const std::function< void(const BaseTaskException &)> & onException )
overrideprotectedvirtual

Implements CLO3D::BaseTask.

Here is the call graph for this function:

◆ wait()

void Task::wait ( )
overrideprotectedvirtual

Implements CLO3D::BaseTask.


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