![]() | InDesign SDK 20.5 |

Public Member Functions | |
| CusDtLnkStateUpdateProcessor (IPMUnknown *boss) | |
| virtual | ~CusDtLnkStateUpdateProcessor () |
| virtual bool16 | AddJob (const CusDtLnkLinkResourceStatePacket &job) |
| virtual bool16 | RemoveJob (const CusDtLnkLinkResourceStatePacket &job) |
| virtual bool16 | IsJobPending (const CusDtLnkLinkResourceStatePacket &job) const |
| virtual bool16 | UpdateStateForJob (const CusDtLnkLinkResourceStatePacket &job) |
| virtual bool16 | UpdateStateForTopJob () |
Public Member Functions inherited from CPMUnknown< ICusDtLnkStateUpdateProcessor > | |
| IPMUnknown * | QueryInterface (PMIID interfaceID) const |
| void | AddRef () const |
| void | Release () const |
| void | PreDirty (ImplementationID prop=kInvalidImpl, bool16 allowModification=kTrue) |
| void | PreDirtyNoMessage (ImplementationID prop=kInvalidImpl, bool16 allowModification=kTrue) |
| CPMUnknown (const CPMUnknown &)=delete | |
| CPMUnknown & | operator= (const CPMUnknown &)=delete |
Additional Inherited Members | |
Public Types inherited from ICusDtLnkStateUpdateProcessor | |
| enum | { kDefaultIID = IID_ICUSDTLNKSTATEUPDATEPROCESSOR } |
Protected Member Functions inherited from CPMUnknown< ICusDtLnkStateUpdateProcessor > | |
| CPMUnknown (IPMUnknown *boss) | |
Protected Attributes inherited from CPMUnknown< ICusDtLnkStateUpdateProcessor > | |
| HelperInterface | fHelperInterface |
ICusDtLnkStateUpdateProcessor implementation which maintains a queue of CusDtLnkLinkResourceStatePacket. CusDtLnkLinkResourceStatePacket is created by CusDtLnkLinkResourceStateUpdater, when the updater is asked by link manager to give a state update for a link resource, it creates a packet which contains a snapshot of the resource state at the time when link manager asks for status update. The packet is then queued in the fJobQueue of CusDtLnkStateUpdateProcessor. The CusDtLnk sample has an idle task, which will call CusDtLnkStateUpdateProcessor::UpdateStateForTopJob each time the task is run, which essentially takes one packet off the queue and update the packet with the latest resource information.
| CusDtLnkStateUpdateProcessor::CusDtLnkStateUpdateProcessor | ( | IPMUnknown * | boss | ) |
Constructor.
| boss | interface ptr from boss object on which this interface is aggregated. |
| inlinevirtual |
Destructor
| virtual |
Add a job (CusDtLnkLinkResourceStatePacket) to the processor
Implements ICusDtLnkStateUpdateProcessor.
| virtual |
Remove the job from the processor
Implements ICusDtLnkStateUpdateProcessor.
| virtual |
Remove the job (CusDtLnkLinkResourceStatePacket) from the processor
Implements ICusDtLnkStateUpdateProcessor.
| virtual |
The state updater mainains a job queue. A job is to provide state update for a particular linkr resource. This routine process the state update function given a particular job packet, and remove it from the queue
Implements ICusDtLnkStateUpdateProcessor.
| virtual |
The state updater mainains a job queue. A job is to provide state update for a particular linkr resource. This routine removes a job from the job queue and process the state update function
Implements ICusDtLnkStateUpdateProcessor.