3 <title>IO Tasks
</title>
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>
76 ../../images/blank-20.gif
77 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
79 ../../images/blank-20.gif
80 " width=
"22" height=
"22" alt=
"Use Cases"></td>
82 ../../images/blank-20.gif
83 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
85 ../../images/blank-20.gif
86 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
88 ../../images/blank-20.gif
89 " width=
"22" height=
"22" alt=
"Implementation"></td>
105 ../../images/blank-20.gif
106 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
108 ../../images/blank-20.gif
109 " width=
"22" height=
"22" alt=
"Use Cases"></td>
111 ../../images/blank-20.gif
112 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
114 ../../images/blank-20.gif
115 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
117 ../../images/blank-20.gif
118 " width=
"22" height=
"22" alt=
"Implementation"></td>
134 ../../images/blank-20.gif
135 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
137 ../../images/blank-20.gif
138 " width=
"22" height=
"22" alt=
"Use Cases"></td>
140 ../../images/blank-20.gif
141 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
143 ../../images/blank-20.gif
144 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
146 ../../images/blank-20.gif
147 " width=
"22" height=
"22" alt=
"Implementation"></td>
168 <!-- detail table -->
170 <!-- table column headers -->
175 <img src=
"../../images/DocumentDraw.gif" width=
"22" height=
"22" alt=
"Functional Spec" border=
"0">
180 <img src=
"../../images/User.gif" width=
"22" height=
"22" alt=
"Use Cases" border=
"0">
185 <img src=
"../../images/Help.gif" width=
"22" height=
"22" alt=
"Unit Tests" border=
"0">
190 <img src=
"../../images/Hammer.gif" width=
"22" height=
"22" alt=
"Technical Spec" border=
"0">
195 <img src=
"../../images/GoalFlag.gif" width=
"22" height=
"22" alt=
"Implementation" border=
"0">
200 <th width=
"100%"><strong>Task Details
</strong></th>
201 <!-- <th><strong>Owner</strong></th> -->
203 <!-- Class header -->
205 <td colspan=
"7"><center><strong>BDataIO Class
</strong></center></td>
211 ../../images/blank-20.gif
212 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
214 ../../images/blank-20.gif
215 " width=
"22" height=
"22" alt=
"Use Cases"></td>
217 ../../images/blank-20.gif
218 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
220 ../../images/blank-20.gif
221 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
223 ../../images/blank-20.gif
224 " width=
"22" height=
"22" alt=
"Implementation"></td>
236 ../../images/blank-20.gif
237 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
239 ../../images/blank-20.gif
240 " width=
"22" height=
"22" alt=
"Use Cases"></td>
242 ../../images/blank-20.gif
243 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
245 ../../images/blank-20.gif
246 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
248 ../../images/blank-20.gif
249 " width=
"22" height=
"22" alt=
"Implementation"></td>
257 <!-- Class header -->
259 <td colspan=
"7"><center><strong>BMallocIO Class
</strong></center></td>
265 ../../images/blank-20.gif
266 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
268 ../../images/blank-20.gif
269 " width=
"22" height=
"22" alt=
"Use Cases"></td>
271 ../../images/blank-20.gif
272 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
274 ../../images/blank-20.gif
275 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
277 ../../images/blank-20.gif
278 " width=
"22" height=
"22" alt=
"Implementation"></td>
290 ../../images/blank-20.gif
291 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
293 ../../images/blank-20.gif
294 " width=
"22" height=
"22" alt=
"Use Cases"></td>
296 ../../images/blank-20.gif
297 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
299 ../../images/blank-20.gif
300 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
302 ../../images/blank-20.gif
303 " width=
"22" height=
"22" alt=
"Implementation"></td>
308 virtual ~BMallocIO();
315 ../../images/blank-20.gif
316 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
318 ../../images/blank-20.gif
319 " width=
"22" height=
"22" alt=
"Use Cases"></td>
321 ../../images/blank-20.gif
322 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
324 ../../images/blank-20.gif
325 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
327 ../../images/blank-20.gif
328 " width=
"22" height=
"22" alt=
"Implementation"></td>
333 virtual ssize_t ReadAt(off_t pos, void *buffer, size_t size);
340 ../../images/blank-20.gif
341 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
343 ../../images/blank-20.gif
344 " width=
"22" height=
"22" alt=
"Use Cases"></td>
346 ../../images/blank-20.gif
347 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
349 ../../images/blank-20.gif
350 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
352 ../../images/blank-20.gif
353 " width=
"22" height=
"22" alt=
"Implementation"></td>
358 virtual ssize_t WriteAt(off_t pos, const void *buffer, size_t size);
365 ../../images/blank-20.gif
366 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
368 ../../images/blank-20.gif
369 " width=
"22" height=
"22" alt=
"Use Cases"></td>
371 ../../images/blank-20.gif
372 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
374 ../../images/blank-20.gif
375 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
377 ../../images/blank-20.gif
378 " width=
"22" height=
"22" alt=
"Implementation"></td>
383 virtual off_t Seek(off_t pos, uint32 seek_mode);
390 ../../images/blank-20.gif
391 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
393 ../../images/blank-20.gif
394 " width=
"22" height=
"22" alt=
"Use Cases"></td>
396 ../../images/blank-20.gif
397 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
399 ../../images/blank-20.gif
400 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
402 ../../images/blank-20.gif
403 " width=
"22" height=
"22" alt=
"Implementation"></td>
408 virtual off_t Position() const;
415 ../../images/blank-20.gif
416 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
418 ../../images/blank-20.gif
419 " width=
"22" height=
"22" alt=
"Use Cases"></td>
421 ../../images/blank-20.gif
422 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
424 ../../images/blank-20.gif
425 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
427 ../../images/blank-20.gif
428 " width=
"22" height=
"22" alt=
"Implementation"></td>
433 virtual status_t SetSize(off_t size);
440 ../../images/blank-20.gif
441 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
443 ../../images/blank-20.gif
444 " width=
"22" height=
"22" alt=
"Use Cases"></td>
446 ../../images/blank-20.gif
447 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
449 ../../images/blank-20.gif
450 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
452 ../../images/blank-20.gif
453 " width=
"22" height=
"22" alt=
"Implementation"></td>
458 void SetBlockSize(size_t blocksize);
465 ../../images/blank-20.gif
466 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
468 ../../images/blank-20.gif
469 " width=
"22" height=
"22" alt=
"Use Cases"></td>
471 ../../images/blank-20.gif
472 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
474 ../../images/blank-20.gif
475 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
477 ../../images/blank-20.gif
478 " width=
"22" height=
"22" alt=
"Implementation"></td>
483 const void* Buffer() const;
490 ../../images/blank-20.gif
491 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
493 ../../images/blank-20.gif
494 " width=
"22" height=
"22" alt=
"Use Cases"></td>
496 ../../images/blank-20.gif
497 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
499 ../../images/blank-20.gif
500 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
502 ../../images/blank-20.gif
503 " width=
"22" height=
"22" alt=
"Implementation"></td>
508 size_t BufferLength() const;
511 <!-- Class header -->
513 <td colspan=
"7"><center><strong>BMemoryIO Class
</strong></center></td>
519 ../../images/blank-20.gif
520 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
522 ../../images/blank-20.gif
523 " width=
"22" height=
"22" alt=
"Use Cases"></td>
525 ../../images/blank-20.gif
526 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
528 ../../images/blank-20.gif
529 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
531 ../../images/blank-20.gif
532 " width=
"22" height=
"22" alt=
"Implementation"></td>
537 BMemoryIO(void *p, size_t len);
544 ../../images/blank-20.gif
545 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
547 ../../images/blank-20.gif
548 " width=
"22" height=
"22" alt=
"Use Cases"></td>
550 ../../images/blank-20.gif
551 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
553 ../../images/blank-20.gif
554 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
556 ../../images/blank-20.gif
557 " width=
"22" height=
"22" alt=
"Implementation"></td>
562 BMemoryIO(const void *p, size_t len);
569 ../../images/blank-20.gif
570 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
572 ../../images/blank-20.gif
573 " width=
"22" height=
"22" alt=
"Use Cases"></td>
575 ../../images/blank-20.gif
576 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
578 ../../images/blank-20.gif
579 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
581 ../../images/blank-20.gif
582 " width=
"22" height=
"22" alt=
"Implementation"></td>
587 virtual ~BMemoryIO();
594 ../../images/blank-20.gif
595 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
597 ../../images/blank-20.gif
598 " width=
"22" height=
"22" alt=
"Use Cases"></td>
600 ../../images/blank-20.gif
601 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
603 ../../images/blank-20.gif
604 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
606 ../../images/blank-20.gif
607 " width=
"22" height=
"22" alt=
"Implementation"></td>
612 virtual ssize_t ReadAt(off_t pos, void *buffer, size_t size);
619 ../../images/blank-20.gif
620 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
622 ../../images/blank-20.gif
623 " width=
"22" height=
"22" alt=
"Use Cases"></td>
625 ../../images/blank-20.gif
626 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
628 ../../images/blank-20.gif
629 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
631 ../../images/blank-20.gif
632 " width=
"22" height=
"22" alt=
"Implementation"></td>
637 virtual ssize_t WriteAt(off_t pos, const void *buffer, size_t size);
644 ../../images/blank-20.gif
645 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
647 ../../images/blank-20.gif
648 " width=
"22" height=
"22" alt=
"Use Cases"></td>
650 ../../images/blank-20.gif
651 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
653 ../../images/blank-20.gif
654 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
656 ../../images/blank-20.gif
657 " width=
"22" height=
"22" alt=
"Implementation"></td>
662 virtual off_t Seek(off_t pos, uint32 seek_mode);
669 ../../images/blank-20.gif
670 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
672 ../../images/blank-20.gif
673 " width=
"22" height=
"22" alt=
"Use Cases"></td>
675 ../../images/blank-20.gif
676 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
678 ../../images/blank-20.gif
679 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
681 ../../images/blank-20.gif
682 " width=
"22" height=
"22" alt=
"Implementation"></td>
687 virtual off_t Position() const;
694 ../../images/blank-20.gif
695 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
697 ../../images/blank-20.gif
698 " width=
"22" height=
"22" alt=
"Use Cases"></td>
700 ../../images/blank-20.gif
701 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
703 ../../images/blank-20.gif
704 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
706 ../../images/blank-20.gif
707 " width=
"22" height=
"22" alt=
"Implementation"></td>
712 virtual status_t SetSize(off_t size);
715 <!-- Class header -->
717 <td colspan=
"7"><center><strong>BPositionIO Class
</strong></center></td>
723 ../../images/blank-20.gif
724 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
726 ../../images/blank-20.gif
727 " width=
"22" height=
"22" alt=
"Use Cases"></td>
729 ../../images/blank-20.gif
730 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
732 ../../images/blank-20.gif
733 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
735 ../../images/blank-20.gif
736 " width=
"22" height=
"22" alt=
"Implementation"></td>
748 ../../images/blank-20.gif
749 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
751 ../../images/blank-20.gif
752 " width=
"22" height=
"22" alt=
"Use Cases"></td>
754 ../../images/blank-20.gif
755 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
757 ../../images/blank-20.gif
758 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
760 ../../images/blank-20.gif
761 " width=
"22" height=
"22" alt=
"Implementation"></td>
766 virtual ~BPositionIO();
773 ../../images/blank-20.gif
774 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
776 ../../images/blank-20.gif
777 " width=
"22" height=
"22" alt=
"Use Cases"></td>
779 ../../images/blank-20.gif
780 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
782 ../../images/blank-20.gif
783 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
785 ../../images/blank-20.gif
786 " width=
"22" height=
"22" alt=
"Implementation"></td>
791 virtual ssize_t Read(void *buffer, size_t size);
798 ../../images/blank-20.gif
799 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
801 ../../images/blank-20.gif
802 " width=
"22" height=
"22" alt=
"Use Cases"></td>
804 ../../images/blank-20.gif
805 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
807 ../../images/blank-20.gif
808 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
810 ../../images/blank-20.gif
811 " width=
"22" height=
"22" alt=
"Implementation"></td>
816 virtual ssize_t Write(const void *buffer, size_t size);
823 ../../images/blank-20.gif
824 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
826 ../../images/blank-20.gif
827 " width=
"22" height=
"22" alt=
"Use Cases"></td>
829 ../../images/blank-20.gif
830 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
832 ../../images/blank-20.gif
833 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
835 ../../images/blank-20.gif
836 " width=
"22" height=
"22" alt=
"Implementation"></td>
841 virtual status_t SetSize(off_t size);
851 <!-- legend table -->
855 <td align=
"center"><strong>Legend
</strong></td>
861 <td><img src=
"../../images/DocumentDraw.gif" width=
"22" height=
"22" alt=
"Functional Spec"></td>
862 <td>Functional Spec
</td>
865 <td><img src=
"../../images/User.gif" width=
"22" height=
"22" alt=
"Use Cases"></td>
869 <td><img src=
"../../images/Help.gif" width=
"22" height=
"22" alt=
"Unit Tests"></td>
873 <td><img src=
"../../images/Hammer.gif" width=
"22" height=
"22" alt=
"Technical Spec"></td>
874 <td>Technical Spec
</td>
877 <td><img src=
"../../images/GoalFlag.gif" width=
"22" height=
"22" alt=
"Implementation"></td>
878 <td>Implementation
</td>
881 <td><img src=
"../../images/Check.gif" width=
"22" height=
"22" alt=
"Completed"></td>
891 <!-- The obligatory SourceForge plug -->
893 <small>The OpenBeOS project is hosted by:
</small><br><br>
894 <a href=
"http://sourceforge.net">
895 <img src=
"http://sourceforge.net/sflogo.php?group_id=33869&type=1" width=
"88" height=
"31" border=
"0" alt=
"SourceForge Logo">
899 <small>Copyright
© 2001-
2002
900 <a href=
"http://www.openbeos.org">OpenBeOS
</a> Project
</small>