# BLooper Summary

## Function Summary

Function | Description
--- | ---
AddCommonFilterList() | Adds a filter applicable to all messages received by the BLooper
AddHandler() | Adds a BHandler to the BLooper
Allocation |
CommonFilterList() | Returns the list of filters applicable to all messages received by the BLooper
Constants |
Constructor and Destructor |
CountHandlers() | Returns the number of BHandlers attached to the BLooper
CountLockRequests() | Returns the number of threads currently trying to lock the BLooper
CountLocks() | Returns the number of times the locking thread has locked the BLooper
CurrentMessage() | Returns the message currently being processed by the BLooper
DetachCurrentMessage() | Removes the current message from the message queue
DispatchMessage() | Hook called to dispatch messages received by the BLooper
Function Summary |
HandlerAt() | Returns the BHandler at a given index in the BHandler list
Hook Functions |
IndexOf() | Returns the index of a given BHandler in the BHandler list
IsLocked() | Tests if the calling thread holds the BLooper lock
Lock() | Locks the BLooper
LockWithTimeout() | Locks the thread if possible within a given time period
Locking |
LockingThread() | Returns the thread_id of the thread holding the BLooper lock
BLooper |
BLooper() | Constructor
~BLooper() | Destructor
LooperForThread() | Returns the BLooper that spawned a given thread
B_LOOPER_PORT_DEFAULT_CAPACITY |
Member Functions |
MessageQueue() | Returns the BMessageQueue for the object
MessageReceived() | Provided for implementation
Messages and Handlers |
Port Capacity |
PostMessage() | Delivers a BMessage to the BLooper
PreferredHandler() | Returns the BLooper's preferred handler
Priority |
Quit() | Shuts down and deletes the BLooper
QuitRequested() | Hook called in response to a B_QUIT_REQUESTED message
RemoveCommonFilterList() | Removes a filter applicable to all messages received by the BLooper
RemoveHandler() | Removes a BHandler from the BLooper
Run() | Spawns and runs the message loop thread
Sem() | Returns the semaphore used by the object for locking
SetCommonFilterList() | Sets the list of filters applicable to all messages received by the BLooper
SetPreferredHandler() | Sets the object's preferred handler
Static Functions |
Team() | Returns the team of the message loop
Thread() | Returns the thread of the message loop
Unlock() | Unlocks the BLooper

The Application Kit Table of Contents | The Application Kit Index

The Be Book,
...in lovely HTML...
for BeOS Release 5.

Copyright © 2000 Be, Inc. All rights reserved..