tbx  0.7.3
Public Member Functions | List of all members
tbx::PostEventListener Class Referenceabstract

Class to provide a listener to allow processing before the call to wimp poll. More...

#include <posteventlistener.h>

Inheritance diagram for tbx::PostEventListener:
tbx::Listener PThreadGuard

Public Member Functions

virtual void post_event (int reason_code, const PollBlock &poll_block, const IdBlock &id_block, int reply_to)=0
 Method called after the call to Wimp_Poll and any events have been processed. More...
 
- Public Member Functions inherited from tbx::Listener
virtual ~Listener ()
 Destroy the listener object.
 

Additional Inherited Members

- Protected Member Functions inherited from tbx::Listener
 Listener ()
 Construct the Listener object.
 

Detailed Description

Class to provide a listener to allow processing before the call to wimp poll.

There can only be one of these listeners and it is provided to give a hook for extra low-level processing required to implement some features.

Member Function Documentation

virtual void tbx::PostEventListener::post_event ( int  reason_code,
const PollBlock poll_block,
const IdBlock id_block,
int  reply_to 
)
pure virtual

Method called after the call to Wimp_Poll and any events have been processed.

Note: The parameters passed may have been modified by the even processing

Parameters
reason_codepoll reason code
poll_blockpointer to an array of up to 64 integers with the poll block updated by Wimp Poll. The contents depend on the reason code.
id_blockToolbox id's for this message (if set)
reply_tofor reason_code = 18 this is the task to reply to.

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