Public Methods |
| Messenger () |
| Default constructor. More...
|
| Messenger (const Handler *pcHandler, const Looper *pcLooper=NULL) |
| Construct a messenger targeting a looper and optionally a specific handler. More...
|
| Messenger (const Messenger &cMessenger) |
| Copy contructor. More...
|
| Messenger (port_id hPort) |
| Construct a messanger from a loopers message port. More...
|
| ~Messenger () |
| Destructor. More...
|
Handler * | GetTarget (Looper **ppcLooper) const |
| Get a pointer to the handler targeted by this handler. More...
|
bool | IsTargetLocal (void) const |
| Check if the targeted handler/looper lives in the calling process. More...
|
bool | IsValid (void) const |
| Check if the messenger is fully initialized. More...
|
status_t | LockTarget (void) const |
| Lock the destination looper. More...
|
status_t | SendMessage (Message *pcMessage, Message *pcReply, bigtime_t nSendTimeOut=INFINITE_TIMEOUT, bigtime_t nReplyTimeOut=INFINITE_TIMEOUT) const |
| Deliver a message syncronously. More...
|
status_t | SendMessage (Message *pcMessage, Handler *pcReplyHandler=NULL, bigtime_t nTimeOut=INFINITE_TIMEOUT) const |
| Deliver message asyncronously. More...
|
status_t | SendMessage (int nCode, Message *pcReply=NULL) const |
| Short for SendMessage( &Message( nCode ), pcReply ). More...
|
status_t | SendMessage (int nCode, Handler *pcReplyHandler) const |
| Short for SendMessage( &Message( nCode ), pcReplyHandler ). More...
|
Messenger & | operator= (const Messenger &cMessenger) |
| Copy the target from another messenger. More...
|
bool | operator== (const Messenger &cMessenger) const |
| Compare two messengers. More...
|
Friends |
class | Message |
class | SrvWidget |
class | SrvWindow |
class | SrvApplication |
class | NodeMonitor |