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

Class to provide a listener to allow inspection of the values returned from the Wimp_Poll call. More...

#include <postpolllistener.h>

Inheritance diagram for tbx::PostPollListener:
tbx::Listener

Public Member Functions

virtual void post_poll (int reason_code, PollBlock &poll_block, IdBlock &id_block, int reply_to)=0
 Method called directly after the call to Wimp_Poll, before any other processing is done. 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 inspection of the values returned from the Wimp_Poll call.

There can only be one of these listeners and it is provided to help debug an application by allowing it to see what messages it received from the WIMP.

Member Function Documentation

virtual void tbx::PostPollListener::post_poll ( int  reason_code,
PollBlock poll_block,
IdBlock id_block,
int  reply_to 
)
pure virtual

Method called directly after the call to Wimp_Poll, before any other processing is done.

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: