Mako 8.1.0 API
Loading...
Searching...
No Matches
IProgressEventHandler Class Referenceabstract

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 <iabort.h>

Inheritance diagram for IProgressEventHandler:

Public Types

typedef void(* ProgressEventHandlerCallbackFunc) (void *priv, Event evt)
 A callback function type for receiving events.
 

Public Member Functions

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.
 

Detailed Description

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.

Member Function Documentation

◆ create()

static EDL_API IProgressEventHandlerPtr IProgressEventHandler::create ( ProgressEventHandlerCallbackFunc cbFunc,
void * cbPriv )
static

Create the IProgressEventHandler object with a callback function.

Parameters
[in]cbFuncA callback function that will be called on each event.
[in]cbPrivThe parameter that will be passed to the callback function.
Returns
IProgressEventHandlerPtr The IProgressEventHandler object

◆ handleEvent()

virtual void IProgressEventHandler::handleEvent ( Event evt)
pure virtual

Handles an event.

Parameters
evtThe event to handle

The documentation for this class was generated from the following file: