![]() |
Mako 8.2.0 API
MakoCore SDK API Documentation
|
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...
#include <edl/iabort.h>
Public Types | |
enum | Event { eEvtNone = 0 , eEvtPageWriteStart , eEvtPageWriteEnd , eEvtNodeWriteStart , eEvtNodeWriteEnd } |
typedef void(* | ProgressEventHandlerCallbackFunc) (void *priv, Event evt) |
A callback function type for receiving events. |
Public Member Functions | |
virtual | ~IProgressEventHandler () |
virtual void | handleEvent (Event evt)=0 |
Handles an event. | |
Public Member Functions inherited from IRCObject | |
virtual void | addRef () const =0 |
Increases the reference count of the actual object pointed to. This would take place during an assignment or copying. | |
virtual bool | decRef () const =0 |
Decreases the reference count of the actual object pointed to. When the reference count falls to Zero, it deletes the actual object pointed to. | |
virtual int32 | getRefCount () const =0 |
Retrieve the current reference count of the actual object pointed to. |
Static Public Member Functions | |
static EDL_API IProgressEventHandlerPtr | create (ProgressEventHandlerCallbackFunc cbFunc, void *cbPriv) |
Create the IProgressEventHandler object with a callback function. |
Additional Inherited Members | |
Protected Member Functions inherited from IRCObject | |
virtual | ~IRCObject () |
Virtual destructor. |
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.
typedef void(* IProgressEventHandler::ProgressEventHandlerCallbackFunc) (void *priv, Event evt) |
A callback function type for receiving events.
|
inlinevirtual |
|
static |
Create the IProgressEventHandler object with a callback function.
[in] | cbFunc | A callback function that will be called on each event. |
[in] | cbPriv | The parameter that will be passed to the callback function. |
|
pure virtual |
Handles an event.
evt | The event to handle |