![]() | InDesign SDK 20.5 |
#include <ITaskMonitorFacade.h>

Public Types | |
| enum | { kDefaultIID = IID_ITASKMONITORFACADE } |
| typedef std::vector< TaskInfo > | TaskInfoArray |
| typedef adobe::name_t | TaskPropertyKey |
| typedef adobe::any_regular_t | TaskPropertyValue |
| typedef std::pair< const TaskPropertyKey, const TaskPropertyValue > | TaskProperty |
| typedef adobe::dictionary_t | TaskProperties |
Public Member Functions | |
| virtual TaskInfoArray | GetCurrentTasks () const =0 |
| virtual TaskInfo | GetTaskInfo (TaskInfo::TaskID taskID) const =0 |
| virtual void | CancelAllTasks ()=0 |
| virtual TaskInfoArray | WaitForAllTasks ()=0 |
| virtual TaskInfoArray | FilterTasks (const TaskPropertyKey &propertyKey, const TaskPropertyValue &propertyValue) const =0 |
| virtual TaskInfoArray | FilterTasks (const TaskProperties &properties) const =0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
This class provides a public facade for getting information about active tasks. This facade
should closely mirror the task management functions available from scripting.
| pure virtual |
Signals all registered tasks to cancel. The tasks may not notice this signal right away,
so code that depends on all tasks being canceled should call WaitForAllTasks after this call returns.
| pure virtual |
Returns the array of active background tasks that contain propertyValue for the key propertyKey
| pure virtual |
Returns the array of active background tasks that satisfy all of the entries in properties
| pure virtual |
Retrieves the list of the current tasks. Note that the current list of tasks is subject
to change, but once a task is represented in a TaskInfoArray its TaskInfo will remain accessible even if the task completes or is canceled.
| pure virtual |
| pure virtual |
Waits for all registered tasks to complete.