![]() |
Mako 8.2.0 API
MakoCore SDK API Documentation
|
Progress monitoring, event handling and abort signalling. More...
Go to the source code of this file.
Classes | |
class | IAbort |
A simple class to signal an abort in processing. More... | |
class | IProgressTick |
An abstract class allowing a callback to monitor the progress of a task. The callback can either pass an integer (from 0 to a maximum value) or a float (0.0 to 1.0) which represents the progress of the task. The task needs to call the tick() method to indicate incremental progress. If the task has completed (even if it's premature) then tickMax() should be called instead of tick(). More... | |
class | IProgressEventHandler |
An abstract class allowing a callback respond to events during the processing of a document. It is up to the handler to decide what actions to perform when these events are received. More... | |
class | IProgressMonitor |
An abstract class encapsulating both an IProgressTick and an IAbort so that the caller can monitor the progress and/or abort the processing. More... |
Macros | |
#define | CHECKABORT(abort) |
A useful macro to throw the exception EDL_ERR_ABORTED if the given IAbort notes that it has been signalled. | |
#define | PROGRESSTICK(progressTick) |
#define | PROGRESSTICKMAX(progressTick) |
Functions | |
DECL_SMART_PTR (IAbort) | |
DECL_SMART_PTR (IProgressTick) | |
DECL_SMART_PTR (IProgressEventHandler) | |
DECL_SMART_PTR (IProgressMonitor) |
Progress monitoring, event handling and abort signalling.
#define CHECKABORT | ( | abort | ) |
A useful macro to throw the exception EDL_ERR_ABORTED
if the given IAbort notes that it has been signalled.
#define PROGRESSTICK | ( | progressTick | ) |
#define PROGRESSTICKMAX | ( | progressTick | ) |
DECL_SMART_PTR | ( | IAbort | ) |
DECL_SMART_PTR | ( | IProgressEventHandler | ) |
DECL_SMART_PTR | ( | IProgressMonitor | ) |
DECL_SMART_PTR | ( | IProgressTick | ) |