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>
|
typedef void(* | ProgressEventHandlerCallbackFunc) (void *priv, Event evt) |
| A callback function type for receiving events.
|
|
|
virtual void | handleEvent (Event evt)=0 |
| Handles an event.
|
|
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.
|
|
|
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.
◆ create()
Create the IProgressEventHandler object with a callback function.
- Parameters
-
[in] | cbFunc | A callback function that will be called on each event. |
[in] | cbPriv | The 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
-
The documentation for this class was generated from the following file: