52a3801208
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10 a95241bf-73f2-0310-859d-f6bbb57e9c96
1281 lines
30 KiB
HTML
1281 lines
30 KiB
HTML
<html>
|
|
<head>
|
|
<title>BLooper Tasks</title>
|
|
</head>
|
|
<body>
|
|
<h1>BLooper Tasks<hr></h1>
|
|
|
|
|
|
<!-- summary table -->
|
|
<table border>
|
|
<!-- table column headers -->
|
|
<th>
|
|
<table>
|
|
<td>
|
|
<a href="#legend">
|
|
<img src="../../images/DocumentDraw.gif" width="22" height="22" alt="Functional Spec" border="0">
|
|
</a>
|
|
</td>
|
|
<td>
|
|
<a href="#legend">
|
|
<img src="../../images/User.gif" width="22" height="22" alt="Use Cases" border="0">
|
|
</a>
|
|
</td>
|
|
<td>
|
|
<a href="#legend">
|
|
<img src="../../images/Help.gif" width="22" height="22" alt="Unit Tests" border="0">
|
|
</a>
|
|
</td>
|
|
<td>
|
|
<a href="#legend">
|
|
<img src="../../images/Hammer.gif" width="22" height="22" alt="Technical Spec" border="0">
|
|
</a>
|
|
</td>
|
|
<td>
|
|
<a href="#legend">
|
|
<img src="../../images/GoalFlag.gif" width="22" height="22" alt="Implementation" border="0">
|
|
</a>
|
|
</td>
|
|
</table>
|
|
</th>
|
|
<th><strong>Task Summary</strong></th>
|
|
<th><strong>Owner</strong></th>
|
|
<tr>
|
|
<td>
|
|
<table>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Functional Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Use Cases"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Unit Tests"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Technical Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Implementation"></td>
|
|
</table>
|
|
</td>
|
|
<!-- task -->
|
|
<td width="100%">
|
|
BLooper
|
|
</td>
|
|
<!-- owner -->
|
|
<td width="25%">
|
|
Erik Jaesler
|
|
</td>
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
|
|
<!-- detail table -->
|
|
<table border>
|
|
<!-- table column headers -->
|
|
<th>
|
|
<table>
|
|
<td>
|
|
<a href="#legend">
|
|
<img src="../../images/DocumentDraw.gif" width="22" height="22" alt="Functional Spec" border="0">
|
|
</a>
|
|
</td>
|
|
<td>
|
|
<a href="#legend">
|
|
<img src="../../images/User.gif" width="22" height="22" alt="Use Cases" border="0">
|
|
</a>
|
|
</td>
|
|
<td>
|
|
<a href="#legend">
|
|
<img src="../../images/Help.gif" width="22" height="22" alt="Unit Tests" border="0">
|
|
</a>
|
|
</td>
|
|
<td>
|
|
<a href="#legend">
|
|
<img src="../../images/Hammer.gif" width="22" height="22" alt="Technical Spec" border="0">
|
|
</a>
|
|
</td>
|
|
<td>
|
|
<a href="#legend">
|
|
<img src="../../images/GoalFlag.gif" width="22" height="22" alt="Implementation" border="0">
|
|
</a>
|
|
</td>
|
|
</table>
|
|
</th>
|
|
<th width="100%"><strong>Task Details</strong></th>
|
|
<!-- <th><strong>Owner</strong></th> -->
|
|
|
|
<!-- Class header -->
|
|
<tr>
|
|
<td colspan="7"><center><strong>BLooper Class</strong></center></td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<table>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Functional Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Use Cases"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Unit Tests"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Technical Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Implementation"></td>
|
|
</table>
|
|
</td>
|
|
<!-- task -->
|
|
<td>
|
|
BLooper(const char* name = NULL, int32 priority = B_NORMAL_PRIORITY, int32 port_capacity = B_LOOPER_PORT_DEFAULT_CAPACITY);
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<table>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Functional Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Use Cases"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Unit Tests"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Technical Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Implementation"></td>
|
|
</table>
|
|
</td>
|
|
<!-- task -->
|
|
<td>
|
|
BLooper(BMessage* data);
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<table>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Functional Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Use Cases"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Unit Tests"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Technical Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Implementation"></td>
|
|
</table>
|
|
</td>
|
|
<!-- task -->
|
|
<td>
|
|
virtual ~BLooper();
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<table>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Functional Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Use Cases"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Unit Tests"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Technical Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Implementation"></td>
|
|
</table>
|
|
</td>
|
|
<!-- task -->
|
|
<td>
|
|
static BArchivable* Instantiate(BMessage* data);
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<table>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Functional Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Use Cases"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Unit Tests"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Technical Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Implementation"></td>
|
|
</table>
|
|
</td>
|
|
<!-- task -->
|
|
<td>
|
|
virtual status_t Archive(BMessage* data, bool deep = true) const;
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<table>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Functional Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Use Cases"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Unit Tests"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Technical Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Implementation"></td>
|
|
</table>
|
|
</td>
|
|
<!-- task -->
|
|
<td>
|
|
status_t PostMessage(uint32 command);
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<table>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Functional Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Use Cases"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Unit Tests"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Technical Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Implementation"></td>
|
|
</table>
|
|
</td>
|
|
<!-- task -->
|
|
<td>
|
|
status_t PostMessage(BMessage* message);
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<table>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Functional Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Use Cases"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Unit Tests"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Technical Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Implementation"></td>
|
|
</table>
|
|
</td>
|
|
<!-- task -->
|
|
<td>
|
|
status_t PostMessage(uint32 command, BHandler* handler, BHandler* reply_to = NULL);
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<table>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Functional Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Use Cases"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Unit Tests"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Technical Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Implementation"></td>
|
|
</table>
|
|
</td>
|
|
<!-- task -->
|
|
<td>
|
|
status_t PostMessage(BMessage* message, BHandler* handler, BHandler* reply_to = NULL);
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<table>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Functional Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Use Cases"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Unit Tests"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Technical Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Implementation"></td>
|
|
</table>
|
|
</td>
|
|
<!-- task -->
|
|
<td>
|
|
virtual void DispatchMessage(BMessage* message, BHandler* handler);
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<table>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Functional Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Use Cases"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Unit Tests"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Technical Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Implementation"></td>
|
|
</table>
|
|
</td>
|
|
<!-- task -->
|
|
<td>
|
|
virtual void MessageReceived(BMessage* msg);
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<table>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Functional Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Use Cases"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Unit Tests"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Technical Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Implementation"></td>
|
|
</table>
|
|
</td>
|
|
<!-- task -->
|
|
<td>
|
|
BMessage* CurrentMessage() const;
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<table>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Functional Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Use Cases"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Unit Tests"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Technical Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Implementation"></td>
|
|
</table>
|
|
</td>
|
|
<!-- task -->
|
|
<td>
|
|
BMessage* DetachCurrentMessage();
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<table>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Functional Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Use Cases"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Unit Tests"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Technical Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Implementation"></td>
|
|
</table>
|
|
</td>
|
|
<!-- task -->
|
|
<td>
|
|
BMessageQueue* MessageQueue() const;
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<table>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Functional Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Use Cases"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Unit Tests"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Technical Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Implementation"></td>
|
|
</table>
|
|
</td>
|
|
<!-- task -->
|
|
<td>
|
|
bool IsMessageWaiting() const;
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<table>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Functional Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Use Cases"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Unit Tests"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Technical Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Implementation"></td>
|
|
</table>
|
|
</td>
|
|
<!-- task -->
|
|
<td>
|
|
void AddHandler(BHandler* handler);
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<table>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Functional Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Use Cases"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Unit Tests"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Technical Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Implementation"></td>
|
|
</table>
|
|
</td>
|
|
<!-- task -->
|
|
<td>
|
|
bool RemoveHandler(BHandler* handler);
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<table>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Functional Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Use Cases"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Unit Tests"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Technical Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Implementation"></td>
|
|
</table>
|
|
</td>
|
|
<!-- task -->
|
|
<td>
|
|
int32 CountHandlers() const;
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<table>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Functional Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Use Cases"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Unit Tests"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Technical Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Implementation"></td>
|
|
</table>
|
|
</td>
|
|
<!-- task -->
|
|
<td>
|
|
BHandler* HandlerAt(int32 index) const;
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<table>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Functional Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Use Cases"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Unit Tests"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Technical Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Implementation"></td>
|
|
</table>
|
|
</td>
|
|
<!-- task -->
|
|
<td>
|
|
int32 IndexOf(BHandler* handler) const;
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<table>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Functional Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Use Cases"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Unit Tests"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Technical Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Implementation"></td>
|
|
</table>
|
|
</td>
|
|
<!-- task -->
|
|
<td>
|
|
BHandler* PreferredHandler() const;
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<table>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Functional Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Use Cases"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Unit Tests"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Technical Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Implementation"></td>
|
|
</table>
|
|
</td>
|
|
<!-- task -->
|
|
<td>
|
|
void SetPreferredHandler(BHandler* handler);
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<table>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Functional Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Use Cases"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Unit Tests"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Technical Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Implementation"></td>
|
|
</table>
|
|
</td>
|
|
<!-- task -->
|
|
<td>
|
|
virtual thread_id Run();
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<table>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Functional Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Use Cases"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Unit Tests"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Technical Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Implementation"></td>
|
|
</table>
|
|
</td>
|
|
<!-- task -->
|
|
<td>
|
|
virtual void Quit();
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<table>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Functional Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Use Cases"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Unit Tests"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Technical Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Implementation"></td>
|
|
</table>
|
|
</td>
|
|
<!-- task -->
|
|
<td>
|
|
virtual bool QuitRequested();
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<table>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Functional Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Use Cases"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Unit Tests"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Technical Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Implementation"></td>
|
|
</table>
|
|
</td>
|
|
<!-- task -->
|
|
<td>
|
|
bool Lock();
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<table>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Functional Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Use Cases"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Unit Tests"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Technical Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Implementation"></td>
|
|
</table>
|
|
</td>
|
|
<!-- task -->
|
|
<td>
|
|
void Unlock();
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<table>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Functional Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Use Cases"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Unit Tests"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Technical Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Implementation"></td>
|
|
</table>
|
|
</td>
|
|
<!-- task -->
|
|
<td>
|
|
bool IsLocked() const;
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<table>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Functional Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Use Cases"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Unit Tests"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Technical Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Implementation"></td>
|
|
</table>
|
|
</td>
|
|
<!-- task -->
|
|
<td>
|
|
status_t LockWithTimeout(bigtime_t timeout);
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<table>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Functional Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Use Cases"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Unit Tests"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Technical Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Implementation"></td>
|
|
</table>
|
|
</td>
|
|
<!-- task -->
|
|
<td>
|
|
thread_id Thread() const;
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<table>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Functional Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Use Cases"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Unit Tests"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Technical Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Implementation"></td>
|
|
</table>
|
|
</td>
|
|
<!-- task -->
|
|
<td>
|
|
team_id Team() const;
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<table>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Functional Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Use Cases"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Unit Tests"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Technical Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Implementation"></td>
|
|
</table>
|
|
</td>
|
|
<!-- task -->
|
|
<td>
|
|
static BLooper* LooperForThread(thread_id tid);
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<table>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Functional Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Use Cases"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Unit Tests"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Technical Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Implementation"></td>
|
|
</table>
|
|
</td>
|
|
<!-- task -->
|
|
<td>
|
|
thread_id LockingThread() const;
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<table>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Functional Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Use Cases"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Unit Tests"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Technical Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Implementation"></td>
|
|
</table>
|
|
</td>
|
|
<!-- task -->
|
|
<td>
|
|
int32 CountLocks() const;
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<table>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Functional Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Use Cases"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Unit Tests"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Technical Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Implementation"></td>
|
|
</table>
|
|
</td>
|
|
<!-- task -->
|
|
<td>
|
|
int32 CountLockRequests() const;
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<table>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Functional Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Use Cases"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Unit Tests"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Technical Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Implementation"></td>
|
|
</table>
|
|
</td>
|
|
<!-- task -->
|
|
<td>
|
|
sem_id Sem() const;
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<table>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Functional Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Use Cases"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Unit Tests"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Technical Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Implementation"></td>
|
|
</table>
|
|
</td>
|
|
<!-- task -->
|
|
<td>
|
|
virtual BHandler* ResolveSpecifier(BMessage* msg, int32 index, BMessage* specifier, int32 form, const char* property);
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<table>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Functional Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Use Cases"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Unit Tests"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Technical Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Implementation"></td>
|
|
</table>
|
|
</td>
|
|
<!-- task -->
|
|
<td>
|
|
virtual status_t GetSupportedSuites(BMessage* data);
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<table>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Functional Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Use Cases"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Unit Tests"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Technical Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Implementation"></td>
|
|
</table>
|
|
</td>
|
|
<!-- task -->
|
|
<td>
|
|
virtual void AddCommonFilter(BMessageFilter* filter);
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<table>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Functional Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Use Cases"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Unit Tests"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Technical Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Implementation"></td>
|
|
</table>
|
|
</td>
|
|
<!-- task -->
|
|
<td>
|
|
virtual bool RemoveCommonFilter(BMessageFilter* filter);
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<table>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Functional Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Use Cases"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Unit Tests"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Technical Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Implementation"></td>
|
|
</table>
|
|
</td>
|
|
<!-- task -->
|
|
<td>
|
|
virtual void SetCommonFilterList(BList* filters);
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<table>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Functional Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Use Cases"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Unit Tests"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Technical Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Implementation"></td>
|
|
</table>
|
|
</td>
|
|
<!-- task -->
|
|
<td>
|
|
BList* CommonFilterList() const;
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<table>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Functional Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Use Cases"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Unit Tests"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Technical Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Implementation"></td>
|
|
</table>
|
|
</td>
|
|
<!-- task -->
|
|
<td>
|
|
BMessage* MessageFromPort(bigtime_t = B_INFINITE_TIMEOUT);
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<table>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Functional Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Use Cases"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Unit Tests"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Technical Spec"></td>
|
|
<td><img src="
|
|
../../images/blank-20.gif
|
|
" width="22" height="22" alt="Implementation"></td>
|
|
</table>
|
|
</td>
|
|
<!-- task -->
|
|
<td>
|
|
virtual void task_looper();
|
|
</td>
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<br><br>
|
|
<hr>
|
|
<br><br>
|
|
|
|
<!-- legend table -->
|
|
<a name="legend">
|
|
<table border>
|
|
<tr>
|
|
<td align="center"><strong>Legend</strong></td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<table>
|
|
<tr>
|
|
<td><img src="../../images/DocumentDraw.gif" width="22" height="22" alt="Functional Spec"></td>
|
|
<td>Functional Spec</td>
|
|
</tr>
|
|
<tr>
|
|
<td><img src="../../images/User.gif" width="22" height="22" alt="Use Cases"></td>
|
|
<td>Use Cases</td>
|
|
</tr>
|
|
<tr>
|
|
<td><img src="../../images/Help.gif" width="22" height="22" alt="Unit Tests"></td>
|
|
<td>Unit Tests</td>
|
|
</tr>
|
|
<tr>
|
|
<td><img src="../../images/Hammer.gif" width="22" height="22" alt="Technical Spec"></td>
|
|
<td>Technical Spec</td>
|
|
</tr>
|
|
<tr>
|
|
<td><img src="../../images/GoalFlag.gif" width="22" height="22" alt="Implementation"></td>
|
|
<td>Implementation</td>
|
|
</tr>
|
|
<tr>
|
|
<td><img src="../../images/Check.gif" width="22" height="22" alt="Completed"></td>
|
|
<td>Completed</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</a>
|
|
<br>
|
|
|
|
<!-- The obligatory SourceForge plug -->
|
|
<center>
|
|
<small>The OpenBeOS project is hosted by:</small><br><br>
|
|
<a href="http://sourceforge.net">
|
|
<img src="http://sourceforge.net/sflogo.php?group_id=33869&type=1" width="88" height="31" border="0" alt="SourceForge Logo">
|
|
</a>
|
|
<p>
|
|
|
|
<small>Copyright © 2001-2002
|
|
<a href="http://www.openbeos.org">OpenBeOS</a> Project</small>
|
|
</center>
|
|
|
|
</body>
|
|
</html>
|