#include <invoker.h>
Inheritance diagram for os::Invoker::

Public Methods | |
| Invoker () | |
| Default constructor. More... | |
| Invoker (Message *pcMessage) | |
| Constructor. More... | |
| Invoker (Message *pcMessage, const Handler *pcHandler, const Looper *pcLooper=NULL) | |
| Constructor. More... | |
| Invoker (Message *pcMessage, const Messenger &cTarget) | |
| Constructor. More... | |
| virtual | ~Invoker () |
| Destructor. More... | |
| virtual status_t | SetMessage (Message *pcMessage) |
| Assign a new message to the invoker. More... | |
| Message * | GetMessage () const |
| Get the message currently assigned to the invoker. More... | |
| uint32 | GetCode () const |
| Get the code field from the currently assigned message. More... | |
| virtual bool | Invoked (Message *pcMessage) |
| Intercept outgoing messages. More... | |
| virtual void | TargetChanged (const Messenger &cOldTarget) |
| Virtual hook called by the system after the target has been changed. More... | |
| virtual void | MessageChanged (const Message &cOldMsg) |
| Virtual hook called by the system after the message has been changed. More... | |
| virtual status_t | SetTarget (const Handler *pcHandler, const Looper *pcLooper=NULL) |
| Set a new message target. More... | |
| virtual status_t | SetTarget (const Messenger &cMessenger) |
| Set a new message target. More... | |
| bool | IsTargetLocal () const |
| Check if the target lives in our process. More... | |
| Handler * | GetTarget (Looper **ppcLooper=NULL) const |
| Get the current target. More... | |
| Messenger | GetMessenger () const |
| Get the messenger used to target messages sendt by the invoker. More... | |
| virtual status_t | SetHandlerForReply (Handler *pcHandler) |
| Set a reply target for messages sendt by this messenger. More... | |
| Handler * | GetHandlerForReply () const |
| Get the current reply target for replies on messages sendt by the invoker. More... | |
| virtual status_t | Invoke (Message *pcMessage=NULL) |
| Send the current message to the current target. More... | |
|
|
|
|
|
|
|
||||||||||||||||||||||
|
|
|
|||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented in os::Button, os::CheckBox, os::Control, os::ListView, os::MenuItem, os::RadioButton, os::ScrollBar, os::Slider, os::Spinner, and os::TextView. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|||||||||||||||
|
|
|
|
|
1.2.9.1 written by Dimitri van Heesch,
© 1997-2001