Provides the BMessenger class and some BMessenger operator functions. More...
Classes | |
class | BMessenger |
A class to send messages to a target BLooper or BHandler. More... | |
Functions | |
bool | operator!= (const BMessenger &a, const BMessenger &b) |
Returns whether two BMessengers do NOT have the same target. More... | |
bool | operator< (const BMessenger &a, const BMessenger &b) |
Returns whether the first messenger is less than the second one. More... | |
Provides the BMessenger class and some BMessenger operator functions.
bool operator!= | ( | const BMessenger & | a, |
const BMessenger & | b | ||
) |
Returns whether two BMessengers do NOT have the same target.
a | The first messenger. |
b | The second messenger. |
false
, if a and b had the same targets or both were not properly initialized, true
otherwise. Referenced by BReference< BUrlContext >::Detach().
bool operator< | ( | const BMessenger & | _a, |
const BMessenger & | _b | ||
) |
Returns whether the first messenger is less than the second one.
This method defines an order on BMessengers based on their member variables fPort
, fHandlerToken
and fPreferredTarget
.
_a | The first messenger. |
_b | The second messenger. |
true
, if a was less than b, false
otherwise.