Lines Matching defs:handler
61 BMessenger::BMessenger(const BHandler* handler, const BLooper* looper,
68 _InitData(handler, looper, _result);
99 BHandler* handler = NULL;
104 (void**)&handler);
110 return handler;
232 BMessenger::SetTo(const BHandler* handler, const BLooper* looper)
235 _InitData(handler, looper, &result);
287 /*! Sets the messenger's team, target looper port and handler token.
289 To target the preferred handler, use \c B_PREFERRED_TOKEN as token.
293 \param token The target handler token.
376 When a \c NULL handler is supplied, the preferred handler in the given
377 looper is targeted. If no looper is supplied the looper the given handler
378 belongs to is used -- that means in particular, that the handler must
379 already belong to a looper. If both are supplied the handler must actually
382 \param handler The target handler. May be \c NULL.
388 BMessenger::_InitData(const BHandler* handler, const BLooper* looper,
391 status_t result = (handler != NULL || looper != NULL) ? B_OK : B_BAD_VALUE;
393 if (handler != NULL) {
396 if (handler->Looper() != looper)
399 looper = handler->Looper();
410 fHandlerToken = handler != NULL
411 ? _get_object_token_(handler)