Mako 8.2.0 API
MakoCore SDK API Documentation
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 <edl/iabort.h>

Inheritance diagram for IProgressEventHandler:
[legend]

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.

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 Typedef Documentation

◆ ProgressEventHandlerCallbackFunc

typedef void(* IProgressEventHandler::ProgressEventHandlerCallbackFunc) (void *priv, Event evt)

A callback function type for receiving events.

Member Enumeration Documentation

◆ Event

Enumerator
eEvtNone 
eEvtPageWriteStart  
eEvtPageWriteEnd  
eEvtNodeWriteStart  
eEvtNodeWriteEnd  

Constructor & Destructor Documentation

◆ ~IProgressEventHandler()

virtual IProgressEventHandler::~IProgressEventHandler ( )
inlinevirtual

Member Function Documentation

◆ create()

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: