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

Public Types | |
| enum | { kDefaultIID = IID_IASYNCWORKPROCESSORFACTORY } |
| enum | LoadModel { kComputationBound = 1, kExternalWait = 2, kMixed = 3 } |
Public Member Functions | |
| virtual bool | IsThreadable () const =0 |
| virtual LoadModel | GetLoadModel () const =0 |
| virtual uint32 | GetMaximumInstances (uint32 nCPUCores) const =0 |
| virtual AsyncWorkProcessor * | CreateProcessorInstance () 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 interface is on your factory boss that you register with the service registry
| pure virtual |
Create an instance of your work processor that will subsequently be called to process packets. Note that is IsThreadable(), the thread context in which AsyncWorkProcessor::ProcessPacket() gets called may be different from call to call and also different than the creation thread context.
| pure virtual |
| pure virtual |
| pure virtual |