3 <title>BApplication Tasks
</title>
6 <h1>BApplication Tasks
<hr></h1>
11 <!-- table column headers -->
16 <img src=
"../../images/DocumentDraw.gif" width=
"22" height=
"22" alt=
"Functional Spec" border=
"0">
21 <img src=
"../../images/User.gif" width=
"22" height=
"22" alt=
"Use Cases" border=
"0">
26 <img src=
"../../images/Help.gif" width=
"22" height=
"22" alt=
"Unit Tests" border=
"0">
31 <img src=
"../../images/Hammer.gif" width=
"22" height=
"22" alt=
"Technical Spec" border=
"0">
36 <img src=
"../../images/GoalFlag.gif" width=
"22" height=
"22" alt=
"Implementation" border=
"0">
41 <th><strong>Task Summary
</strong></th>
42 <th><strong>Owner
</strong></th>
47 ../../images/blank-20.gif
48 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
50 ../../images/blank-20.gif
51 " width=
"22" height=
"22" alt=
"Use Cases"></td>
53 ../../images/blank-20.gif
54 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
56 ../../images/blank-20.gif
57 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
59 ../../images/blank-20.gif
60 " width=
"22" height=
"22" alt=
"Implementation"></td>
83 <!-- table column headers -->
88 <img src=
"../../images/DocumentDraw.gif" width=
"22" height=
"22" alt=
"Functional Spec" border=
"0">
93 <img src=
"../../images/User.gif" width=
"22" height=
"22" alt=
"Use Cases" border=
"0">
98 <img src=
"../../images/Help.gif" width=
"22" height=
"22" alt=
"Unit Tests" border=
"0">
103 <img src=
"../../images/Hammer.gif" width=
"22" height=
"22" alt=
"Technical Spec" border=
"0">
108 <img src=
"../../images/GoalFlag.gif" width=
"22" height=
"22" alt=
"Implementation" border=
"0">
113 <th width=
"100%"><strong>Task Details
</strong></th>
114 <!-- <th><strong>Owner</strong></th> -->
116 <!-- Class header -->
118 <td colspan=
"7"><center><strong>BApplication Class
</strong></center></td>
124 ../../images/blank-20.gif
125 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
127 ../../images/blank-20.gif
128 " width=
"22" height=
"22" alt=
"Use Cases"></td>
130 ../../images/blank-20.gif
131 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
133 ../../images/blank-20.gif
134 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
136 ../../images/blank-20.gif
137 " width=
"22" height=
"22" alt=
"Implementation"></td>
142 BApplication(const char* signature);
149 ../../images/blank-20.gif
150 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
152 ../../images/blank-20.gif
153 " width=
"22" height=
"22" alt=
"Use Cases"></td>
155 ../../images/blank-20.gif
156 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
158 ../../images/blank-20.gif
159 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
161 ../../images/blank-20.gif
162 " width=
"22" height=
"22" alt=
"Implementation"></td>
167 BApplication(const char* signature, status_t* error);
174 ../../images/blank-20.gif
175 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
177 ../../images/blank-20.gif
178 " width=
"22" height=
"22" alt=
"Use Cases"></td>
180 ../../images/blank-20.gif
181 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
183 ../../images/blank-20.gif
184 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
186 ../../images/blank-20.gif
187 " width=
"22" height=
"22" alt=
"Implementation"></td>
192 BApplication(BMessage* data);
199 ../../images/blank-20.gif
200 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
202 ../../images/blank-20.gif
203 " width=
"22" height=
"22" alt=
"Use Cases"></td>
205 ../../images/blank-20.gif
206 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
208 ../../images/blank-20.gif
209 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
211 ../../images/blank-20.gif
212 " width=
"22" height=
"22" alt=
"Implementation"></td>
217 virtual ~BApplication();
224 ../../images/blank-20.gif
225 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
227 ../../images/blank-20.gif
228 " width=
"22" height=
"22" alt=
"Use Cases"></td>
230 ../../images/blank-20.gif
231 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
233 ../../images/blank-20.gif
234 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
236 ../../images/blank-20.gif
237 " width=
"22" height=
"22" alt=
"Implementation"></td>
242 static BArchivable* Instantiate(BMessage* data);
249 ../../images/blank-20.gif
250 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
252 ../../images/blank-20.gif
253 " width=
"22" height=
"22" alt=
"Use Cases"></td>
255 ../../images/blank-20.gif
256 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
258 ../../images/blank-20.gif
259 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
261 ../../images/blank-20.gif
262 " width=
"22" height=
"22" alt=
"Implementation"></td>
267 virtual status_t Archive(BMessage* data, bool deep = true) const;
274 ../../images/blank-20.gif
275 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
277 ../../images/blank-20.gif
278 " width=
"22" height=
"22" alt=
"Use Cases"></td>
280 ../../images/blank-20.gif
281 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
283 ../../images/blank-20.gif
284 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
286 ../../images/blank-20.gif
287 " width=
"22" height=
"22" alt=
"Implementation"></td>
292 status_t InitCheck() const;
299 ../../images/blank-20.gif
300 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
302 ../../images/blank-20.gif
303 " width=
"22" height=
"22" alt=
"Use Cases"></td>
305 ../../images/blank-20.gif
306 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
308 ../../images/blank-20.gif
309 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
311 ../../images/blank-20.gif
312 " width=
"22" height=
"22" alt=
"Implementation"></td>
317 virtual thread_id Run();
324 ../../images/blank-20.gif
325 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
327 ../../images/blank-20.gif
328 " width=
"22" height=
"22" alt=
"Use Cases"></td>
330 ../../images/blank-20.gif
331 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
333 ../../images/blank-20.gif
334 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
336 ../../images/blank-20.gif
337 " width=
"22" height=
"22" alt=
"Implementation"></td>
349 ../../images/blank-20.gif
350 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
352 ../../images/blank-20.gif
353 " width=
"22" height=
"22" alt=
"Use Cases"></td>
355 ../../images/blank-20.gif
356 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
358 ../../images/blank-20.gif
359 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
361 ../../images/blank-20.gif
362 " width=
"22" height=
"22" alt=
"Implementation"></td>
367 virtual bool QuitRequested();
374 ../../images/blank-20.gif
375 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
377 ../../images/blank-20.gif
378 " width=
"22" height=
"22" alt=
"Use Cases"></td>
380 ../../images/blank-20.gif
381 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
383 ../../images/blank-20.gif
384 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
386 ../../images/blank-20.gif
387 " width=
"22" height=
"22" alt=
"Implementation"></td>
392 virtual void Pulse();
399 ../../images/blank-20.gif
400 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
402 ../../images/blank-20.gif
403 " width=
"22" height=
"22" alt=
"Use Cases"></td>
405 ../../images/blank-20.gif
406 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
408 ../../images/blank-20.gif
409 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
411 ../../images/blank-20.gif
412 " width=
"22" height=
"22" alt=
"Implementation"></td>
417 virtual void ReadyToRun();
424 ../../images/blank-20.gif
425 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
427 ../../images/blank-20.gif
428 " width=
"22" height=
"22" alt=
"Use Cases"></td>
430 ../../images/blank-20.gif
431 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
433 ../../images/blank-20.gif
434 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
436 ../../images/blank-20.gif
437 " width=
"22" height=
"22" alt=
"Implementation"></td>
442 virtual void MessageReceived(BMessage* msg);
449 ../../images/blank-20.gif
450 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
452 ../../images/blank-20.gif
453 " width=
"22" height=
"22" alt=
"Use Cases"></td>
455 ../../images/blank-20.gif
456 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
458 ../../images/blank-20.gif
459 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
461 ../../images/blank-20.gif
462 " width=
"22" height=
"22" alt=
"Implementation"></td>
467 virtual void ArgvReceived(int32 argc, char** argv);
474 ../../images/blank-20.gif
475 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
477 ../../images/blank-20.gif
478 " width=
"22" height=
"22" alt=
"Use Cases"></td>
480 ../../images/blank-20.gif
481 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
483 ../../images/blank-20.gif
484 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
486 ../../images/blank-20.gif
487 " width=
"22" height=
"22" alt=
"Implementation"></td>
492 virtual void AppActivated(bool active);
499 ../../images/blank-20.gif
500 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
502 ../../images/blank-20.gif
503 " width=
"22" height=
"22" alt=
"Use Cases"></td>
505 ../../images/blank-20.gif
506 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
508 ../../images/blank-20.gif
509 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
511 ../../images/blank-20.gif
512 " width=
"22" height=
"22" alt=
"Implementation"></td>
517 virtual void RefsReceived(BMessage* a_message);
524 ../../images/blank-20.gif
525 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
527 ../../images/blank-20.gif
528 " width=
"22" height=
"22" alt=
"Use Cases"></td>
530 ../../images/blank-20.gif
531 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
533 ../../images/blank-20.gif
534 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
536 ../../images/blank-20.gif
537 " width=
"22" height=
"22" alt=
"Implementation"></td>
542 virtual void AboutRequested();
549 ../../images/blank-20.gif
550 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
552 ../../images/blank-20.gif
553 " width=
"22" height=
"22" alt=
"Use Cases"></td>
555 ../../images/blank-20.gif
556 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
558 ../../images/blank-20.gif
559 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
561 ../../images/blank-20.gif
562 " width=
"22" height=
"22" alt=
"Implementation"></td>
567 virtual BHandler* ResolveSpecifier(BMessage* msg, int32 index, BMessage* specifier, int32 form, const char* property);
574 ../../images/blank-20.gif
575 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
577 ../../images/blank-20.gif
578 " width=
"22" height=
"22" alt=
"Use Cases"></td>
580 ../../images/blank-20.gif
581 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
583 ../../images/blank-20.gif
584 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
586 ../../images/blank-20.gif
587 " width=
"22" height=
"22" alt=
"Implementation"></td>
599 ../../images/blank-20.gif
600 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
602 ../../images/blank-20.gif
603 " width=
"22" height=
"22" alt=
"Use Cases"></td>
605 ../../images/blank-20.gif
606 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
608 ../../images/blank-20.gif
609 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
611 ../../images/blank-20.gif
612 " width=
"22" height=
"22" alt=
"Implementation"></td>
624 ../../images/blank-20.gif
625 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
627 ../../images/blank-20.gif
628 " width=
"22" height=
"22" alt=
"Use Cases"></td>
630 ../../images/blank-20.gif
631 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
633 ../../images/blank-20.gif
634 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
636 ../../images/blank-20.gif
637 " width=
"22" height=
"22" alt=
"Implementation"></td>
642 void ObscureCursor();
649 ../../images/blank-20.gif
650 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
652 ../../images/blank-20.gif
653 " width=
"22" height=
"22" alt=
"Use Cases"></td>
655 ../../images/blank-20.gif
656 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
658 ../../images/blank-20.gif
659 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
661 ../../images/blank-20.gif
662 " width=
"22" height=
"22" alt=
"Implementation"></td>
667 bool IsCursorHidden() const;
674 ../../images/blank-20.gif
675 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
677 ../../images/blank-20.gif
678 " width=
"22" height=
"22" alt=
"Use Cases"></td>
680 ../../images/blank-20.gif
681 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
683 ../../images/blank-20.gif
684 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
686 ../../images/blank-20.gif
687 " width=
"22" height=
"22" alt=
"Implementation"></td>
692 void SetCursor(const void* cursor);
699 ../../images/blank-20.gif
700 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
702 ../../images/blank-20.gif
703 " width=
"22" height=
"22" alt=
"Use Cases"></td>
705 ../../images/blank-20.gif
706 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
708 ../../images/blank-20.gif
709 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
711 ../../images/blank-20.gif
712 " width=
"22" height=
"22" alt=
"Implementation"></td>
717 void SetCursor(const BCursor* cursor, bool sync=true);
724 ../../images/blank-20.gif
725 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
727 ../../images/blank-20.gif
728 " width=
"22" height=
"22" alt=
"Use Cases"></td>
730 ../../images/blank-20.gif
731 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
733 ../../images/blank-20.gif
734 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
736 ../../images/blank-20.gif
737 " width=
"22" height=
"22" alt=
"Implementation"></td>
742 int32 CountWindows() const;
749 ../../images/blank-20.gif
750 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
752 ../../images/blank-20.gif
753 " width=
"22" height=
"22" alt=
"Use Cases"></td>
755 ../../images/blank-20.gif
756 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
758 ../../images/blank-20.gif
759 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
761 ../../images/blank-20.gif
762 " width=
"22" height=
"22" alt=
"Implementation"></td>
767 BWindow* WindowAt(int32 index) const;
774 ../../images/blank-20.gif
775 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
777 ../../images/blank-20.gif
778 " width=
"22" height=
"22" alt=
"Use Cases"></td>
780 ../../images/blank-20.gif
781 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
783 ../../images/blank-20.gif
784 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
786 ../../images/blank-20.gif
787 " width=
"22" height=
"22" alt=
"Implementation"></td>
792 int32 CountLoopers() const;
799 ../../images/blank-20.gif
800 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
802 ../../images/blank-20.gif
803 " width=
"22" height=
"22" alt=
"Use Cases"></td>
805 ../../images/blank-20.gif
806 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
808 ../../images/blank-20.gif
809 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
811 ../../images/blank-20.gif
812 " width=
"22" height=
"22" alt=
"Implementation"></td>
817 BLooper* LooperAt(int32 index) const;
824 ../../images/blank-20.gif
825 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
827 ../../images/blank-20.gif
828 " width=
"22" height=
"22" alt=
"Use Cases"></td>
830 ../../images/blank-20.gif
831 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
833 ../../images/blank-20.gif
834 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
836 ../../images/blank-20.gif
837 " width=
"22" height=
"22" alt=
"Implementation"></td>
842 bool IsLaunching() const;
849 ../../images/blank-20.gif
850 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
852 ../../images/blank-20.gif
853 " width=
"22" height=
"22" alt=
"Use Cases"></td>
855 ../../images/blank-20.gif
856 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
858 ../../images/blank-20.gif
859 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
861 ../../images/blank-20.gif
862 " width=
"22" height=
"22" alt=
"Implementation"></td>
867 status_t GetAppInfo(app_info* info) const;
874 ../../images/blank-20.gif
875 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
877 ../../images/blank-20.gif
878 " width=
"22" height=
"22" alt=
"Use Cases"></td>
880 ../../images/blank-20.gif
881 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
883 ../../images/blank-20.gif
884 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
886 ../../images/blank-20.gif
887 " width=
"22" height=
"22" alt=
"Implementation"></td>
892 static BResources* AppResources();
899 ../../images/blank-20.gif
900 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
902 ../../images/blank-20.gif
903 " width=
"22" height=
"22" alt=
"Use Cases"></td>
905 ../../images/blank-20.gif
906 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
908 ../../images/blank-20.gif
909 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
911 ../../images/blank-20.gif
912 " width=
"22" height=
"22" alt=
"Implementation"></td>
917 virtual void DispatchMessage(BMessage* an_event, BHandler* handler);
924 ../../images/blank-20.gif
925 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
927 ../../images/blank-20.gif
928 " width=
"22" height=
"22" alt=
"Use Cases"></td>
930 ../../images/blank-20.gif
931 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
933 ../../images/blank-20.gif
934 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
936 ../../images/blank-20.gif
937 " width=
"22" height=
"22" alt=
"Implementation"></td>
942 void SetPulseRate(bigtime_t rate);
949 ../../images/blank-20.gif
950 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
952 ../../images/blank-20.gif
953 " width=
"22" height=
"22" alt=
"Use Cases"></td>
955 ../../images/blank-20.gif
956 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
958 ../../images/blank-20.gif
959 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
961 ../../images/blank-20.gif
962 " width=
"22" height=
"22" alt=
"Implementation"></td>
967 virtual status_t GetSupportedSuites(BMessage* data);
977 <!-- legend table -->
981 <td align=
"center"><strong>Legend
</strong></td>
987 <td><img src=
"../../images/DocumentDraw.gif" width=
"22" height=
"22" alt=
"Functional Spec"></td>
988 <td>Functional Spec
</td>
991 <td><img src=
"../../images/User.gif" width=
"22" height=
"22" alt=
"Use Cases"></td>
995 <td><img src=
"../../images/Help.gif" width=
"22" height=
"22" alt=
"Unit Tests"></td>
999 <td><img src=
"../../images/Hammer.gif" width=
"22" height=
"22" alt=
"Technical Spec"></td>
1000 <td>Technical Spec
</td>
1003 <td><img src=
"../../images/GoalFlag.gif" width=
"22" height=
"22" alt=
"Implementation"></td>
1004 <td>Implementation
</td>
1007 <td><img src=
"../../images/Check.gif" width=
"22" height=
"22" alt=
"Completed"></td>
1017 <!-- The obligatory SourceForge plug -->
1019 <small>The OpenBeOS project is hosted by:
</small><br><br>
1020 <a href=
"http://sourceforge.net">
1021 <img src=
"http://sourceforge.net/sflogo.php?group_id=33869&type=1" width=
"88" height=
"31" border=
"0" alt=
"SourceForge Logo">
1025 <small>Copyright
© 2001-
2002
1026 <a href=
"http://www.openbeos.org">OpenBeOS
</a> Project
</small>