mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 12:01:50 +00:00
rename
This commit is contained in:
parent
67f34ceb8c
commit
051f0b8c6a
35 changed files with 61 additions and 62 deletions
|
|
@ -1,21 +0,0 @@
|
|||
#ifndef INTERFACES_TASK_H_
|
||||
#define INTERFACES_TASK_H_
|
||||
|
||||
#include "../typedefs.h"
|
||||
|
||||
/// @brief Task is a finite process interface.
|
||||
/// 'work' is a metric of task progress/remaining work (jobs/bytes/something other)
|
||||
class Task {
|
||||
public:
|
||||
virtual ~Task() {}
|
||||
|
||||
virtual bool isActive() const = 0;
|
||||
virtual uint getWorkTotal() const = 0;
|
||||
virtual uint getWorkDone() const = 0;
|
||||
virtual void update() = 0;
|
||||
virtual void waitForEnd() = 0;
|
||||
virtual void terminate() = 0;
|
||||
};
|
||||
|
||||
#endif // INTERFACES_TASK_H_
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue