direct.html 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  2. <HTML>
  3. <HEAD>
  4. <TITLE>Direct</TITLE>
  5. <LINK REL="stylesheet" HREF="../../../../boost.css">
  6. <LINK REL="stylesheet" HREF="../theme/iostreams.css">
  7. </HEAD>
  8. <BODY>
  9. <!-- Begin Banner -->
  10. <H1 CLASS="title">Direct</H1>
  11. <HR CLASS="banner">
  12. <!-- End Banner -->
  13. <H2>Description</H2>
  14. <P>
  15. A Device is Direct if it provides access to its controlled sequences as in-memory arrays rather than <I>via</I> a socket-like interface. The difference between a Device which is Direct and one which is not is reflected in the specifications of the various Device refinements, <I>e.g.</I>, <A HREF="source.html">Source</A> and <A HREF="sink.html">Sink</A>.</P>
  16. </P>
  17. <P>
  18. A model of <A HREF="device.html">Device</A> which does not model Direct is called <SPAN CLASS="term">indirect</SPAN>.
  19. </P>
  20. <H2>Refinement of</H2>
  21. <P><A HREF="device.html">Device</A>.</P>
  22. <A NAME="types"></A>
  23. <H2>Associated Types</H2>
  24. <P>Same as <A HREF="device.html#types">Device</A>, with the following additional requirements:</P>
  25. <TABLE CELLPADDING="5" BORDER="1">
  26. <TR><TD>Category</TD><TD>A type convertible to <A HREF="../guide/traits.html#category_tags"><CODE>device_tag</CODE></A> and to <A HREF="../guide/traits.html#category_tags"><CODE>direct_tag</CODE></A></TD></TR>
  27. </TABLE>
  28. <A NAME="expressions"></A>
  29. <H2>Valid Expressions / Semantics</H2>
  30. <P>Same as <A HREF="device.html">Device</A>.</P>
  31. <H2>Models</H2>
  32. <UL>
  33. <LI>The <A HREF="../classes/array.html">Array Devices</A>
  34. <LI>The <A HREF="../classes/mapped_file.html">Memory-Mapped File Devices</A>
  35. </UL>
  36. <!-- Begin Footer -->
  37. <HR>
  38. <P CLASS="copyright">&copy; Copyright 2008 <a href="http://www.coderage.com/" target="_top">CodeRage, LLC</a><br/>&copy; Copyright 2004-2007 <a href="https://www.boost.org/users/people/jonathan_turkanis.html" target="_top">Jonathan Turkanis</a></P>
  39. <P CLASS="copyright">
  40. Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at <A HREF="http://www.boost.org/LICENSE_1_0.txt">http://www.boost.org/LICENSE_1_0.txt</A>)
  41. </P>
  42. <!-- End Footer -->
  43. </BODY>