• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
10<!-- Begin Banner -->
11
12    <H1 CLASS="title">Direct</H1>
13    <HR CLASS="banner">
14
15<!-- End Banner -->
16
17<H2>Description</H2>
18
19<P>
20    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>
21</P>
22
23<P>
24    A model of <A HREF="device.html">Device</A> which does not model Direct is called <SPAN CLASS="term">indirect</SPAN>.
25</P>
26
27<H2>Refinement of</H2>
28
29<P><A HREF="device.html">Device</A>.</P>
30
31<A NAME="types"></A>
32<H2>Associated Types</H2>
33
34<P>Same as <A HREF="device.html#types">Device</A>, with the following additional requirements:</P>
35
36<TABLE CELLPADDING="5" BORDER="1">
37    <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>
38</TABLE>
39
40<A NAME="expressions"></A>
41<H2>Valid Expressions / Semantics</H2>
42
43<P>Same as <A HREF="device.html">Device</A>.</P>
44
45<H2>Models</H2>
46
47<UL>
48    <LI>The <A HREF="../classes/array.html">Array Devices</A>
49    <LI>The <A HREF="../classes/mapped_file.html">Memory-Mapped File Devices</A>
50</UL>
51
52<!-- Begin Footer -->
53
54<HR>
55
56<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>
57<P CLASS="copyright">
58    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>)
59</P>
60
61<!-- End Footer -->
62
63</BODY>