<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="1.8.3">
  <compounddef id="ftdi_8hpp" kind="file">
    <compoundname>ftdi.hpp</compoundname>
    <includes local="no">list</includes>
    <includes local="no">string</includes>
    <includes local="no">boost/shared_ptr.hpp</includes>
    <includes refid="ftdi_8h" local="no">ftdi.h</includes>
    <includedby refid="ftdi_8cpp" local="yes">ftdi.cpp</includedby>
    <incdepgraph>
      <node id="32">
        <label>list</label>
      </node>
      <node id="34">
        <label>boost/shared_ptr.hpp</label>
      </node>
      <node id="36">
        <label>stdint.h</label>
      </node>
      <node id="33">
        <label>string</label>
      </node>
      <node id="35">
        <label>ftdi.h</label>
        <link refid="ftdi_8h"/>
        <childnode refid="36" relation="include">
        </childnode>
        <childnode refid="37" relation="include">
        </childnode>
      </node>
      <node id="37">
        <label>sys/time.h</label>
      </node>
      <node id="31">
        <label>ftdi.hpp</label>
        <link refid="ftdi.hpp"/>
        <childnode refid="32" relation="include">
        </childnode>
        <childnode refid="33" relation="include">
        </childnode>
        <childnode refid="34" relation="include">
        </childnode>
        <childnode refid="35" relation="include">
        </childnode>
      </node>
    </incdepgraph>
    <invincdepgraph>
      <node id="39">
        <label>ftdi.cpp</label>
        <link refid="ftdi_8cpp"/>
      </node>
      <node id="38">
        <label>ftdi.hpp</label>
        <link refid="ftdi.hpp"/>
        <childnode refid="39" relation="include">
        </childnode>
      </node>
    </invincdepgraph>
    <innerclass refid="classFtdi_1_1Context" prot="public">Ftdi::Context</innerclass>
    <innerclass refid="classFtdi_1_1Eeprom" prot="public">Ftdi::Eeprom</innerclass>
    <innerclass refid="classFtdi_1_1List" prot="public">Ftdi::List</innerclass>
    <innernamespace refid="namespaceFtdi">Ftdi</innernamespace>
    <briefdescription>
    </briefdescription>
    <detaileddescription>
    </detaileddescription>
    <programlisting>
<codeline lineno="1"><highlight class="comment">/***************************************************************************</highlight></codeline>
<codeline lineno="2"><highlight class="comment"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>ftdi.hpp<sp/><sp/>-<sp/><sp/>C++<sp/>wrapper<sp/>for<sp/>libftdi</highlight></codeline>
<codeline lineno="3"><highlight class="comment"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>-------------------</highlight></codeline>
<codeline lineno="4"><highlight class="comment"><sp/><sp/><sp/><sp/>begin<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>:<sp/>Mon<sp/>Oct<sp/>13<sp/>2008</highlight></codeline>
<codeline lineno="5"><highlight class="comment"><sp/><sp/><sp/><sp/>copyright<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>:<sp/>(C)<sp/>2008-2013<sp/>by<sp/>Marek<sp/>Vavruša<sp/>and<sp/>libftdi<sp/>developers</highlight></codeline>
<codeline lineno="6"><highlight class="comment"><sp/><sp/><sp/><sp/>email<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>:<sp/>opensource@intra2net.com<sp/>and<sp/>marek@vavrusa.com</highlight></codeline>
<codeline lineno="7"><highlight class="comment"><sp/>***************************************************************************/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="8"><highlight class="normal"></highlight><highlight class="comment">/*</highlight></codeline>
<codeline lineno="9"><highlight class="comment">Copyright<sp/>(C)<sp/>2008-2013<sp/>by<sp/>Marek<sp/>Vavruša<sp/>and<sp/>libftdi<sp/>developers</highlight></codeline>
<codeline lineno="10"><highlight class="comment"></highlight></codeline>
<codeline lineno="11"><highlight class="comment">The<sp/>software<sp/>in<sp/>this<sp/>package<sp/>is<sp/>distributed<sp/>under<sp/>the<sp/>GNU<sp/>General</highlight></codeline>
<codeline lineno="12"><highlight class="comment">Public<sp/>License<sp/>version<sp/>2<sp/>(with<sp/>a<sp/>special<sp/>exception<sp/>described<sp/>below).</highlight></codeline>
<codeline lineno="13"><highlight class="comment"></highlight></codeline>
<codeline lineno="14"><highlight class="comment">A<sp/>copy<sp/>of<sp/>GNU<sp/>General<sp/>Public<sp/>License<sp/>(GPL)<sp/>is<sp/>included<sp/>in<sp/>this<sp/>distribution,</highlight></codeline>
<codeline lineno="15"><highlight class="comment">in<sp/>the<sp/>file<sp/>COPYING.GPL.</highlight></codeline>
<codeline lineno="16"><highlight class="comment"></highlight></codeline>
<codeline lineno="17"><highlight class="comment">As<sp/>a<sp/>special<sp/>exception,<sp/>if<sp/>other<sp/>files<sp/>instantiate<sp/>templates<sp/>or<sp/>use<sp/>macros</highlight></codeline>
<codeline lineno="18"><highlight class="comment">or<sp/>inline<sp/>functions<sp/>from<sp/>this<sp/>file,<sp/>or<sp/>you<sp/>compile<sp/>this<sp/>file<sp/>and<sp/>link<sp/>it</highlight></codeline>
<codeline lineno="19"><highlight class="comment">with<sp/>other<sp/>works<sp/>to<sp/>produce<sp/>a<sp/>work<sp/>based<sp/>on<sp/>this<sp/>file,<sp/>this<sp/>file</highlight></codeline>
<codeline lineno="20"><highlight class="comment">does<sp/>not<sp/>by<sp/>itself<sp/>cause<sp/>the<sp/>resulting<sp/>work<sp/>to<sp/>be<sp/>covered</highlight></codeline>
<codeline lineno="21"><highlight class="comment">by<sp/>the<sp/>GNU<sp/>General<sp/>Public<sp/>License.</highlight></codeline>
<codeline lineno="22"><highlight class="comment"></highlight></codeline>
<codeline lineno="23"><highlight class="comment">However<sp/>the<sp/>source<sp/>code<sp/>for<sp/>this<sp/>file<sp/>must<sp/>still<sp/>be<sp/>made<sp/>available</highlight></codeline>
<codeline lineno="24"><highlight class="comment">in<sp/>accordance<sp/>with<sp/>section<sp/>(3)<sp/>of<sp/>the<sp/>GNU<sp/>General<sp/>Public<sp/>License.</highlight></codeline>
<codeline lineno="25"><highlight class="comment"></highlight></codeline>
<codeline lineno="26"><highlight class="comment">This<sp/>exception<sp/>does<sp/>not<sp/>invalidate<sp/>any<sp/>other<sp/>reasons<sp/>why<sp/>a<sp/>work<sp/>based</highlight></codeline>
<codeline lineno="27"><highlight class="comment">on<sp/>this<sp/>file<sp/>might<sp/>be<sp/>covered<sp/>by<sp/>the<sp/>GNU<sp/>General<sp/>Public<sp/>License.</highlight></codeline>
<codeline lineno="28"><highlight class="comment">*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="29"><highlight class="normal"></highlight><highlight class="preprocessor">#ifndef<sp/>__libftdi_hpp__</highlight></codeline>
<codeline lineno="30"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#define<sp/>__libftdi_hpp__</highlight></codeline>
<codeline lineno="31"><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="32"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>&lt;list&gt;</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="33"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>&lt;string&gt;</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="34"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>&lt;boost/shared_ptr.hpp&gt;</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="35"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>&lt;<ref refid="ftdi_8h" kindref="compound">ftdi.h</ref>&gt;</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="36"><highlight class="normal"></highlight></codeline>
<codeline lineno="37"><highlight class="normal"></highlight><highlight class="keyword">namespace<sp/></highlight><highlight class="normal">Ftdi</highlight></codeline>
<codeline lineno="38"><highlight class="normal">{</highlight></codeline>
<codeline lineno="39"><highlight class="normal"></highlight></codeline>
<codeline lineno="40"><highlight class="normal"></highlight><highlight class="comment">/*<sp/>Forward<sp/>declarations*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="41"><highlight class="normal"></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal">List;</highlight></codeline>
<codeline lineno="42"><highlight class="normal"></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal">Eeprom;</highlight></codeline>
<codeline lineno="43"><highlight class="normal"></highlight></codeline>
<codeline lineno="47" refid="classFtdi_1_1Context" refkind="compound"><highlight class="keyword">class<sp/></highlight><highlight class="normal"><ref refid="classFtdi_1_1Context" kindref="compound" tooltip="FTDI device context. Represents single FTDI device context.">Context</ref></highlight></codeline>
<codeline lineno="48"><highlight class="normal">{</highlight></codeline>
<codeline lineno="49"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>Friends<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="50" refid="classFtdi_1_1Context_1a473938987b94c05a6ac5c45fb65eb12a" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">friend</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal"><ref refid="classFtdi_1_1Eeprom" kindref="compound" tooltip="Device EEPROM.">Eeprom</ref>;</highlight></codeline>
<codeline lineno="51" refid="classFtdi_1_1Context_1a8cee552d09eaeb60a09d95309a87b498" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">friend</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal"><ref refid="classFtdi_1_1List" kindref="compound" tooltip="Device list.">List</ref>;</highlight></codeline>
<codeline lineno="52"><highlight class="normal"></highlight></codeline>
<codeline lineno="53"><highlight class="normal"></highlight><highlight class="keyword">public</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="56" refid="classFtdi_1_1Context_1a608e9a5f5e023ab5f14ba6d21ce9fed9" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">enum</highlight><highlight class="normal"><sp/><ref refid="classFtdi_1_1Context_1a608e9a5f5e023ab5f14ba6d21ce9fed9" kindref="member" tooltip="Direction flags for flush().">Direction</ref></highlight></codeline>
<codeline lineno="57"><highlight class="normal"><sp/><sp/><sp/><sp/>{</highlight></codeline>
<codeline lineno="58" refid="classFtdi_1_1Context_1a608e9a5f5e023ab5f14ba6d21ce9fed9a087f9b8fee592efb3929c382e0804404" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classFtdi_1_1Context_1a608e9a5f5e023ab5f14ba6d21ce9fed9a087f9b8fee592efb3929c382e0804404" kindref="member">Input</ref>,</highlight></codeline>
<codeline lineno="59" refid="classFtdi_1_1Context_1a608e9a5f5e023ab5f14ba6d21ce9fed9a5c3962c84bf153b1837ca2ca8ac97886" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classFtdi_1_1Context_1a608e9a5f5e023ab5f14ba6d21ce9fed9a5c3962c84bf153b1837ca2ca8ac97886" kindref="member">Output</ref></highlight></codeline>
<codeline lineno="60"><highlight class="normal"><sp/><sp/><sp/><sp/>};</highlight></codeline>
<codeline lineno="61"><highlight class="normal"></highlight></codeline>
<codeline lineno="64" refid="classFtdi_1_1Context_1ab8cd0b1f5a42a3d2517e804bd3d2c8f1" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">enum</highlight><highlight class="normal"><sp/><ref refid="classFtdi_1_1Context_1ab8cd0b1f5a42a3d2517e804bd3d2c8f1" kindref="member" tooltip="Modem control flags.">ModemCtl</ref></highlight></codeline>
<codeline lineno="65"><highlight class="normal"><sp/><sp/><sp/><sp/>{</highlight></codeline>
<codeline lineno="66" refid="classFtdi_1_1Context_1ab8cd0b1f5a42a3d2517e804bd3d2c8f1a0ed23ea2a691e4398908cb7442377e37" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classFtdi_1_1Context_1ab8cd0b1f5a42a3d2517e804bd3d2c8f1a0ed23ea2a691e4398908cb7442377e37" kindref="member">Dtr</ref>,</highlight></codeline>
<codeline lineno="67" refid="classFtdi_1_1Context_1ab8cd0b1f5a42a3d2517e804bd3d2c8f1a7dda31debfdeaf64b64734b881afe109" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classFtdi_1_1Context_1ab8cd0b1f5a42a3d2517e804bd3d2c8f1a7dda31debfdeaf64b64734b881afe109" kindref="member">Rts</ref></highlight></codeline>
<codeline lineno="68"><highlight class="normal"><sp/><sp/><sp/><sp/>};</highlight></codeline>
<codeline lineno="69"><highlight class="normal"></highlight></codeline>
<codeline lineno="70"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>Constructor,<sp/>Destructor<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="71"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classFtdi_1_1Context_1a06bd23d6d2d16489cb5abf792f368b8e" kindref="member" tooltip="Constructor.">Context</ref>();</highlight></codeline>
<codeline lineno="72"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classFtdi_1_1Context_1ad12a84ca44914ae7c90404881c99503e" kindref="member" tooltip="Destructor.">~Context</ref>();</highlight></codeline>
<codeline lineno="73"><highlight class="normal"></highlight></codeline>
<codeline lineno="74"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>Properties<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="75"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classFtdi_1_1Eeprom" kindref="compound" tooltip="Device EEPROM.">Eeprom</ref>*<sp/><ref refid="classFtdi_1_1Context_1a374535a96a9c2144215da6779f700315" kindref="member">eeprom</ref>();</highlight></codeline>
<codeline lineno="76"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>std::string&amp;<sp/><ref refid="classFtdi_1_1Context_1ab1ef11b1851c8234f5305fdfc7421887" kindref="member" tooltip="Device strings properties.">vendor</ref>();</highlight></codeline>
<codeline lineno="77"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>std::string&amp;<sp/><ref refid="classFtdi_1_1Context_1a1851e8cffbb77e7f7ef7adb8fa833962" kindref="member" tooltip="Device strings properties.">description</ref>();</highlight></codeline>
<codeline lineno="78"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>std::string&amp;<sp/><ref refid="classFtdi_1_1Context_1a3d4035444e2f78ff8d7aa37c26236df8" kindref="member" tooltip="Device strings properties.">serial</ref>();</highlight></codeline>
<codeline lineno="79"><highlight class="normal"></highlight></codeline>
<codeline lineno="80"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>Device<sp/>manipulators<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="81"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="classFtdi_1_1Context_1a3a222cbc0ac54ea699474aa48b8d27cd" kindref="member">is_open</ref>();</highlight></codeline>
<codeline lineno="82"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classFtdi_1_1Context_1a71f952d1778914a33b151d0e0db3f1d6" kindref="member">open</ref>(</highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/>libusb_device<sp/>*dev<sp/>=<sp/>0);</highlight></codeline>
<codeline lineno="83"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classFtdi_1_1Context_1a71f952d1778914a33b151d0e0db3f1d6" kindref="member">open</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classFtdi_1_1Context_1ab1ef11b1851c8234f5305fdfc7421887" kindref="member" tooltip="Device strings properties.">vendor</ref>,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>product);</highlight></codeline>
<codeline lineno="84"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classFtdi_1_1Context_1a71f952d1778914a33b151d0e0db3f1d6" kindref="member">open</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classFtdi_1_1Context_1ab1ef11b1851c8234f5305fdfc7421887" kindref="member" tooltip="Device strings properties.">vendor</ref>,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>product,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>std::string&amp;<sp/><ref refid="classFtdi_1_1Context_1a1851e8cffbb77e7f7ef7adb8fa833962" kindref="member" tooltip="Device strings properties.">description</ref>,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>std::string&amp;<sp/><ref refid="classFtdi_1_1Context_1a3d4035444e2f78ff8d7aa37c26236df8" kindref="member" tooltip="Device strings properties.">serial</ref><sp/>=<sp/>std::string(),<sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>index=0);</highlight></codeline>
<codeline lineno="85"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classFtdi_1_1Context_1a71f952d1778914a33b151d0e0db3f1d6" kindref="member">open</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>std::string&amp;<sp/>description);</highlight></codeline>
<codeline lineno="86"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classFtdi_1_1Context_1aad96d64cfe28b6085e384acdbcfe43fa" kindref="member">close</ref>();</highlight></codeline>
<codeline lineno="87"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classFtdi_1_1Context_1a3d318e752b00f0822d6e2c417420afde" kindref="member">reset</ref>();</highlight></codeline>
<codeline lineno="88"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classFtdi_1_1Context_1a36cf5e632dcc34f4ccd37a02eeedcb8d" kindref="member">flush</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>mask<sp/>=<sp/><ref refid="classFtdi_1_1Context_1a608e9a5f5e023ab5f14ba6d21ce9fed9a087f9b8fee592efb3929c382e0804404" kindref="member">Input</ref>|<ref refid="classFtdi_1_1Context_1a608e9a5f5e023ab5f14ba6d21ce9fed9a5c3962c84bf153b1837ca2ca8ac97886" kindref="member">Output</ref>);</highlight></codeline>
<codeline lineno="89"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classFtdi_1_1Context_1a9baf46935760b09ba2f06cd978d83a41" kindref="member">set_interface</ref>(</highlight><highlight class="keyword">enum</highlight><highlight class="normal"><sp/><ref refid="ftdi_8h_1a9c55e66c45a0e4ec5548ee7d6e1a9265" kindref="member">ftdi_interface</ref><sp/>interface);</highlight></codeline>
<codeline lineno="90"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classFtdi_1_1Context_1a3eb0536f23dbd7e2df286ee01ccc03ad" kindref="member">set_usb_device</ref>(</highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/>libusb_device_handle<sp/>*dev);</highlight></codeline>
<codeline lineno="91"><highlight class="normal"></highlight></codeline>
<codeline lineno="92"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>Line<sp/>manipulators<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="93"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classFtdi_1_1Context_1a12d1736e590aefe7a4a3880d01961a20" kindref="member">set_baud_rate</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>baudrate);</highlight></codeline>
<codeline lineno="94"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classFtdi_1_1Context_1acaf9f3ab2dde7b231e26cd35db4a962c" kindref="member">set_line_property</ref>(</highlight><highlight class="keyword">enum</highlight><highlight class="normal"><sp/><ref refid="ftdi_8h_1a8007a7d5e37b76307c341051769e5c6f" kindref="member">ftdi_bits_type</ref><sp/>bits,<sp/></highlight><highlight class="keyword">enum</highlight><highlight class="normal"><sp/><ref refid="ftdi_8h_1a3977a883c99069e02f97e99d059dc8b8" kindref="member">ftdi_stopbits_type</ref><sp/>sbit,<sp/></highlight><highlight class="keyword">enum</highlight><highlight class="normal"><sp/><ref refid="ftdi_8h_1ab0a93b5355c5155dd4fbd5beaf5d5e1d" kindref="member">ftdi_parity_type</ref><sp/>parity);</highlight></codeline>
<codeline lineno="95"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classFtdi_1_1Context_1acaf9f3ab2dde7b231e26cd35db4a962c" kindref="member">set_line_property</ref>(</highlight><highlight class="keyword">enum</highlight><highlight class="normal"><sp/><ref refid="ftdi_8h_1a8007a7d5e37b76307c341051769e5c6f" kindref="member">ftdi_bits_type</ref><sp/>bits,<sp/></highlight><highlight class="keyword">enum</highlight><highlight class="normal"><sp/><ref refid="ftdi_8h_1a3977a883c99069e02f97e99d059dc8b8" kindref="member">ftdi_stopbits_type</ref><sp/>sbit,<sp/></highlight><highlight class="keyword">enum</highlight><highlight class="normal"><sp/><ref refid="ftdi_8h_1ab0a93b5355c5155dd4fbd5beaf5d5e1d" kindref="member">ftdi_parity_type</ref><sp/>parity,<sp/></highlight><highlight class="keyword">enum</highlight><highlight class="normal"><sp/><ref refid="ftdi_8h_1ae1ca6c6246df33380443c4ba6f192025" kindref="member">ftdi_break_type</ref><sp/>break_type);</highlight></codeline>
<codeline lineno="96"><highlight class="normal"></highlight></codeline>
<codeline lineno="97"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>I/O<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="98"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classFtdi_1_1Context_1a1858062c4dacda2ab8271cd51550b7ee" kindref="member">read</ref>(</highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/>*buf,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>size);</highlight></codeline>
<codeline lineno="99"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classFtdi_1_1Context_1a5cb1b4266a68f3bd9133e52178042ddf" kindref="member">write</ref>(</highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/>*buf,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>size);</highlight></codeline>
<codeline lineno="100"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classFtdi_1_1Context_1a6e4b4df1cd2c0786b94620b4e5b2f80f" kindref="member">set_read_chunk_size</ref>(</highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>chunksize);</highlight></codeline>
<codeline lineno="101"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classFtdi_1_1Context_1a54859d31d5177488aefa95067c8d4666" kindref="member">set_write_chunk_size</ref>(</highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>chunksize);</highlight></codeline>
<codeline lineno="102"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classFtdi_1_1Context_1a4c482b031ffe04b12087e573e91e4b79" kindref="member">read_chunk_size</ref>();</highlight></codeline>
<codeline lineno="103"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classFtdi_1_1Context_1ad4500d40d2bd07f383724968ffa945a2" kindref="member">write_chunk_size</ref>();</highlight></codeline>
<codeline lineno="104"><highlight class="normal"></highlight></codeline>
<codeline lineno="105"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>Async<sp/>IO</highlight></codeline>
<codeline lineno="106"><highlight class="comment"><sp/><sp/><sp/><sp/>TODO:<sp/>should<sp/>wrap?</highlight></codeline>
<codeline lineno="107"><highlight class="comment"><sp/><sp/><sp/><sp/>int<sp/>writeAsync(unsigned<sp/>char<sp/>*buf,<sp/>int<sp/>size);</highlight></codeline>
<codeline lineno="108"><highlight class="comment"><sp/><sp/><sp/><sp/>void<sp/>asyncComplete(int<sp/>wait_for_more);</highlight></codeline>
<codeline lineno="109"><highlight class="comment"><sp/><sp/><sp/><sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="110"><highlight class="normal"></highlight></codeline>
<codeline lineno="111"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>Flow<sp/>control<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="112"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classFtdi_1_1Context_1a7471fc6635a9ff2f98d30c5830eb7593" kindref="member">set_event_char</ref>(</highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/>eventch,<sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/>enable);</highlight></codeline>
<codeline lineno="113"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classFtdi_1_1Context_1a5b846e30bb38c78fd772281be7fc342b" kindref="member">set_error_char</ref>(</highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/>errorch,<sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/>enable);</highlight></codeline>
<codeline lineno="114"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classFtdi_1_1Context_1a0c29fde1904335a1213ce1e1982adc24" kindref="member">set_flow_control</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>flowctrl);</highlight></codeline>
<codeline lineno="115"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classFtdi_1_1Context_1ad1968faa8b41f6c49c70a55872a6bdbc" kindref="member">set_modem_control</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>mask<sp/>=<sp/><ref refid="classFtdi_1_1Context_1ab8cd0b1f5a42a3d2517e804bd3d2c8f1a0ed23ea2a691e4398908cb7442377e37" kindref="member">Dtr</ref>|<ref refid="classFtdi_1_1Context_1ab8cd0b1f5a42a3d2517e804bd3d2c8f1a7dda31debfdeaf64b64734b881afe109" kindref="member">Rts</ref>);</highlight></codeline>
<codeline lineno="116"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classFtdi_1_1Context_1a60ebdaac48d273b925ff35c510f3c19a" kindref="member">set_latency</ref>(</highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/><ref refid="classFtdi_1_1Context_1a7e87873dc7c2987cd588f4f4d72e7732" kindref="member">latency</ref>);</highlight></codeline>
<codeline lineno="117"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classFtdi_1_1Context_1a5f05bf405868e37d2efe50afaf377706" kindref="member">set_dtr</ref>(</highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/>state);</highlight></codeline>
<codeline lineno="118"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classFtdi_1_1Context_1ae5e60eb0188ba8039ee7b50329779cb0" kindref="member">set_rts</ref>(</highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/>state);</highlight></codeline>
<codeline lineno="119"><highlight class="normal"></highlight></codeline>
<codeline lineno="120"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">short</highlight><highlight class="normal"><sp/><ref refid="classFtdi_1_1Context_1a9204d8315dd586286535da2a68917dad" kindref="member">poll_modem_status</ref>();</highlight></codeline>
<codeline lineno="121"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/><ref refid="classFtdi_1_1Context_1a7e87873dc7c2987cd588f4f4d72e7732" kindref="member">latency</ref>();</highlight></codeline>
<codeline lineno="122"><highlight class="normal"></highlight></codeline>
<codeline lineno="123"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>BitBang<sp/>mode<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="124"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classFtdi_1_1Context_1ad8a0a54d23eb0f6b8b3c77155c1b4487" kindref="member">set_bitmode</ref>(</highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/>bitmask,<sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/>mode);</highlight></codeline>
<codeline lineno="125"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classFtdi_1_1Context_1ad8a0a54d23eb0f6b8b3c77155c1b4487" kindref="member">set_bitmode</ref>(</highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/>bitmask,<sp/></highlight><highlight class="keyword">enum</highlight><highlight class="normal"><sp/><ref refid="ftdi_8h_1a2250f7812c87a96ada7fd4f19b82f666" kindref="member">ftdi_mpsse_mode</ref><sp/>mode);</highlight></codeline>
<codeline lineno="126"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classFtdi_1_1Context_1ace0a0738c511bf041a456b94ca096ec9" kindref="member">bitbang_disable</ref>();</highlight></codeline>
<codeline lineno="127"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classFtdi_1_1Context_1aa41e612799358ce70b4a5003ebcfe9ec" kindref="member">read_pins</ref>(</highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/>*pins);</highlight></codeline>
<codeline lineno="128"><highlight class="normal"></highlight></codeline>
<codeline lineno="129"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>Misc<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="130"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal">*<sp/><ref refid="classFtdi_1_1Context_1ab4e06e0e4bf156c0c5421ec0bbb4cdd1" kindref="member">error_string</ref>();</highlight></codeline>
<codeline lineno="131"><highlight class="normal"></highlight></codeline>
<codeline lineno="132"><highlight class="normal"></highlight><highlight class="keyword">protected</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="133"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classFtdi_1_1Context_1aaaf4d528fe4d70502b14582702103db8" kindref="member">get_strings</ref>();</highlight></codeline>
<codeline lineno="134"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classFtdi_1_1Context_1a6fa719a467db132076e752dd45223dbe" kindref="member">get_strings_and_reopen</ref>();</highlight></codeline>
<codeline lineno="135"><highlight class="normal"></highlight></codeline>
<codeline lineno="136"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>Properties<sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="137"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal"><ref refid="structftdi__context" kindref="compound" tooltip="Main context structure for all libftdi functions.">ftdi_context</ref>*<sp/><ref refid="classFtdi_1_1Context_1ae7cb8331c5eab1d7aa4ade40a1bd5b9e" kindref="member">context</ref>();</highlight></codeline>
<codeline lineno="138"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classFtdi_1_1Context_1aaac96a16870d29bb7f59353a36524a39" kindref="member">set_context</ref>(</highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/><ref refid="structftdi__context" kindref="compound" tooltip="Main context structure for all libftdi functions.">ftdi_context</ref>*<sp/><ref refid="classFtdi_1_1Context_1ae7cb8331c5eab1d7aa4ade40a1bd5b9e" kindref="member">context</ref>);</highlight></codeline>
<codeline lineno="139"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classFtdi_1_1Context_1a3eb0536f23dbd7e2df286ee01ccc03ad" kindref="member">set_usb_device</ref>(</highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/>libusb_device<sp/>*dev);</highlight></codeline>
<codeline lineno="140"><highlight class="normal"></highlight></codeline>
<codeline lineno="141"><highlight class="normal"></highlight><highlight class="keyword">private</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="142"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal">Private;</highlight></codeline>
<codeline lineno="143"><highlight class="normal"><sp/><sp/><sp/><sp/>boost::shared_ptr&lt;Private&gt;<sp/>d;</highlight></codeline>
<codeline lineno="144"><highlight class="normal">};</highlight></codeline>
<codeline lineno="145"><highlight class="normal"></highlight></codeline>
<codeline lineno="148" refid="classFtdi_1_1Eeprom" refkind="compound"><highlight class="keyword">class<sp/></highlight><highlight class="normal"><ref refid="classFtdi_1_1Eeprom" kindref="compound" tooltip="Device EEPROM.">Eeprom</ref></highlight></codeline>
<codeline lineno="149"><highlight class="normal">{</highlight></codeline>
<codeline lineno="150"><highlight class="normal"></highlight><highlight class="keyword">public</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="151"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classFtdi_1_1Eeprom_1a7ecd3ee3bb235d7d9c32b5287f509edc" kindref="member">Eeprom</ref>(<ref refid="classFtdi_1_1Context" kindref="compound" tooltip="FTDI device context. Represents single FTDI device context.">Context</ref>*<sp/>parent);</highlight></codeline>
<codeline lineno="152"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classFtdi_1_1Eeprom_1ae7945809c4ff06b8bd386472eed26b1e" kindref="member">~Eeprom</ref>();</highlight></codeline>
<codeline lineno="153"><highlight class="normal"></highlight></codeline>
<codeline lineno="154"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classFtdi_1_1Eeprom_1a6ebc4425bfe250c61cd303078ad92881" kindref="member">init_defaults</ref>(</highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/>*manufacturer,<sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal">*<sp/>product,<sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/>*<sp/>serial);</highlight></codeline>
<codeline lineno="155"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classFtdi_1_1Eeprom_1af7ab5af427de9c7464f11f1ec784c4da" kindref="member">chip_id</ref>(</highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>*chipid);</highlight></codeline>
<codeline lineno="156"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classFtdi_1_1Eeprom_1abddb318d9df2c626fffa09047d5ab549" kindref="member">build</ref>(</highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/>*output);</highlight></codeline>
<codeline lineno="157"><highlight class="normal"></highlight></codeline>
<codeline lineno="158"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classFtdi_1_1Eeprom_1a59ef82e22828370274fa7de627eff2e4" kindref="member">read</ref>(</highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/>*eeprom);</highlight></codeline>
<codeline lineno="159"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classFtdi_1_1Eeprom_1ac6fb73bd70749209c46bdd9529344392" kindref="member">write</ref>(</highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/>*eeprom);</highlight></codeline>
<codeline lineno="160"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classFtdi_1_1Eeprom_1aacdb0d74cceaeae77b754232c8b68f9e" kindref="member">read_location</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>eeprom_addr,<sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">short</highlight><highlight class="normal"><sp/>*eeprom_val);</highlight></codeline>
<codeline lineno="161"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classFtdi_1_1Eeprom_1aaa79973c9fa5c44e041ad416860fa1b8" kindref="member">write_location</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>eeprom_addr,<sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">short</highlight><highlight class="normal"><sp/>eeprom_val);</highlight></codeline>
<codeline lineno="162"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="classFtdi_1_1Eeprom_1a3044b5cd481ebbefd3c64e4653e8d6f3" kindref="member">erase</ref>();</highlight></codeline>
<codeline lineno="163"><highlight class="normal"></highlight></codeline>
<codeline lineno="164"><highlight class="normal"></highlight><highlight class="keyword">private</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="165"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal"><ref refid="classFtdi_1_1Eeprom_1_1Private" kindref="compound">Private</ref>;</highlight></codeline>
<codeline lineno="166"><highlight class="normal"><sp/><sp/><sp/><sp/>boost::shared_ptr&lt;Private&gt;<sp/>d;</highlight></codeline>
<codeline lineno="167"><highlight class="normal">};</highlight></codeline>
<codeline lineno="168"><highlight class="normal"></highlight></codeline>
<codeline lineno="171" refid="classFtdi_1_1List" refkind="compound"><highlight class="keyword">class<sp/></highlight><highlight class="normal"><ref refid="classFtdi_1_1List" kindref="compound" tooltip="Device list.">List</ref></highlight></codeline>
<codeline lineno="172"><highlight class="normal">{</highlight></codeline>
<codeline lineno="173"><highlight class="normal"></highlight><highlight class="keyword">public</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="174"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classFtdi_1_1List_1a9f005b9f8886ab85e43a2ea5b019b72d" kindref="member">List</ref>(</highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/><ref refid="structftdi__device__list" kindref="compound" tooltip="list of usb devices created by ftdi_usb_find_all()">ftdi_device_list</ref>*<sp/>devlist<sp/>=<sp/>0);</highlight></codeline>
<codeline lineno="175"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classFtdi_1_1List_1a0d6814256d82692d46483733c71037d7" kindref="member">~List</ref>();</highlight></codeline>
<codeline lineno="176"><highlight class="normal"></highlight></codeline>
<codeline lineno="177"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">static</highlight><highlight class="normal"><sp/><ref refid="classFtdi_1_1List" kindref="compound" tooltip="Device list.">List</ref>*<sp/><ref refid="classFtdi_1_1List_1ab7f76e262b065f3b1d36a51c20fa0feb" kindref="member">find_all</ref>(<ref refid="classFtdi_1_1Context" kindref="compound" tooltip="FTDI device context. Represents single FTDI device context.">Context</ref><sp/>&amp;context,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>vendor,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>product);</highlight></codeline>
<codeline lineno="178"><highlight class="normal"></highlight></codeline>
<codeline lineno="180" refid="classFtdi_1_1List_1a0f7f7fad56e8d14e0b96f9b985a433ad" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">typedef</highlight><highlight class="normal"><sp/>std::list&lt;Context&gt;<sp/><ref refid="classFtdi_1_1List_1a0f7f7fad56e8d14e0b96f9b985a433ad" kindref="member" tooltip="List type storing &amp;quot;Context&amp;quot; objects.">ListType</ref>;</highlight></codeline>
<codeline lineno="182" refid="classFtdi_1_1List_1a42dc7256a0cacb1534388b272d71a6e1" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">typedef</highlight><highlight class="normal"><sp/>ListType::iterator<sp/><ref refid="classFtdi_1_1List_1a42dc7256a0cacb1534388b272d71a6e1" kindref="member" tooltip="Iterator type for the container.">iterator</ref>;</highlight></codeline>
<codeline lineno="184" refid="classFtdi_1_1List_1a89f81377906bec5c14d262a959ac4bb0" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">typedef</highlight><highlight class="normal"><sp/>ListType::const_iterator<sp/><ref refid="classFtdi_1_1List_1a89f81377906bec5c14d262a959ac4bb0" kindref="member" tooltip="Const iterator type for the container.">const_iterator</ref>;</highlight></codeline>
<codeline lineno="186" refid="classFtdi_1_1List_1a5031c32928ad47f6a8c9b425a557c998" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">typedef</highlight><highlight class="normal"><sp/>ListType::reverse_iterator<sp/><ref refid="classFtdi_1_1List_1a5031c32928ad47f6a8c9b425a557c998" kindref="member" tooltip="Reverse iterator type for the container.">reverse_iterator</ref>;</highlight></codeline>
<codeline lineno="188" refid="classFtdi_1_1List_1a40ba96ede36bc45a2b22e0a9ceba9cc0" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">typedef</highlight><highlight class="normal"><sp/>ListType::const_reverse_iterator<sp/><ref refid="classFtdi_1_1List_1a40ba96ede36bc45a2b22e0a9ceba9cc0" kindref="member" tooltip="Const reverse iterator type for the container.">const_reverse_iterator</ref>;</highlight></codeline>
<codeline lineno="189"><highlight class="normal"></highlight></codeline>
<codeline lineno="190"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classFtdi_1_1List_1a42dc7256a0cacb1534388b272d71a6e1" kindref="member" tooltip="Iterator type for the container.">iterator</ref><sp/><ref refid="classFtdi_1_1List_1a420ec5202f3c6a12de1b76c4842df42e" kindref="member">begin</ref>();</highlight></codeline>
<codeline lineno="191"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classFtdi_1_1List_1a42dc7256a0cacb1534388b272d71a6e1" kindref="member" tooltip="Iterator type for the container.">iterator</ref><sp/><ref refid="classFtdi_1_1List_1aabc5f6a4b69536ca68b7f364ba58d336" kindref="member">end</ref>();</highlight></codeline>
<codeline lineno="192"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classFtdi_1_1List_1a89f81377906bec5c14d262a959ac4bb0" kindref="member" tooltip="Const iterator type for the container.">const_iterator</ref><sp/><ref refid="classFtdi_1_1List_1a420ec5202f3c6a12de1b76c4842df42e" kindref="member">begin</ref>()<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="193"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classFtdi_1_1List_1a89f81377906bec5c14d262a959ac4bb0" kindref="member" tooltip="Const iterator type for the container.">const_iterator</ref><sp/><ref refid="classFtdi_1_1List_1aabc5f6a4b69536ca68b7f364ba58d336" kindref="member">end</ref>()<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="194"><highlight class="normal"></highlight></codeline>
<codeline lineno="195"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classFtdi_1_1List_1a5031c32928ad47f6a8c9b425a557c998" kindref="member" tooltip="Reverse iterator type for the container.">reverse_iterator</ref><sp/><ref refid="classFtdi_1_1List_1a691d51ae1d7e04cc7100241fda7226b9" kindref="member">rbegin</ref>();</highlight></codeline>
<codeline lineno="196"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classFtdi_1_1List_1a5031c32928ad47f6a8c9b425a557c998" kindref="member" tooltip="Reverse iterator type for the container.">reverse_iterator</ref><sp/><ref refid="classFtdi_1_1List_1aaeae5fdd0a1595cfbca8c558b89d90df" kindref="member">rend</ref>();</highlight></codeline>
<codeline lineno="197"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classFtdi_1_1List_1a40ba96ede36bc45a2b22e0a9ceba9cc0" kindref="member" tooltip="Const reverse iterator type for the container.">const_reverse_iterator</ref><sp/><ref refid="classFtdi_1_1List_1a691d51ae1d7e04cc7100241fda7226b9" kindref="member">rbegin</ref>()<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="198"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classFtdi_1_1List_1a40ba96ede36bc45a2b22e0a9ceba9cc0" kindref="member" tooltip="Const reverse iterator type for the container.">const_reverse_iterator</ref><sp/><ref refid="classFtdi_1_1List_1aaeae5fdd0a1595cfbca8c558b89d90df" kindref="member">rend</ref>()<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="199"><highlight class="normal"></highlight></codeline>
<codeline lineno="200"><highlight class="normal"><sp/><sp/><sp/><sp/>ListType::size_type<sp/><ref refid="classFtdi_1_1List_1a2d76af7ee18d62d11f8048df95f05a69" kindref="member">size</ref>()<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="201"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="classFtdi_1_1List_1a1d7362506f1d331d5ffafb8d68868d07" kindref="member">empty</ref>()<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="202"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classFtdi_1_1List_1a3e518597e7e1d8cce072fbf0c75a9d32" kindref="member">clear</ref>();</highlight></codeline>
<codeline lineno="203"><highlight class="normal"></highlight></codeline>
<codeline lineno="204"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classFtdi_1_1List_1a280cb7466bcdc7afbcf27893f6bba4df" kindref="member">push_back</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classFtdi_1_1Context" kindref="compound" tooltip="FTDI device context. Represents single FTDI device context.">Context</ref>&amp;<sp/>element);</highlight></codeline>
<codeline lineno="205"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classFtdi_1_1List_1ae5bbd5d4b9c5c8c159a50a4f25a4c896" kindref="member">push_front</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classFtdi_1_1Context" kindref="compound" tooltip="FTDI device context. Represents single FTDI device context.">Context</ref>&amp;<sp/>element);</highlight></codeline>
<codeline lineno="206"><highlight class="normal"></highlight></codeline>
<codeline lineno="207"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classFtdi_1_1List_1a42dc7256a0cacb1534388b272d71a6e1" kindref="member" tooltip="Iterator type for the container.">iterator</ref><sp/><ref refid="classFtdi_1_1List_1a608e4633a7bac3a39ac51fd67f190a89" kindref="member">erase</ref>(<ref refid="classFtdi_1_1List_1a42dc7256a0cacb1534388b272d71a6e1" kindref="member" tooltip="Iterator type for the container.">iterator</ref><sp/>pos);</highlight></codeline>
<codeline lineno="208"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classFtdi_1_1List_1a42dc7256a0cacb1534388b272d71a6e1" kindref="member" tooltip="Iterator type for the container.">iterator</ref><sp/><ref refid="classFtdi_1_1List_1a608e4633a7bac3a39ac51fd67f190a89" kindref="member">erase</ref>(<ref refid="classFtdi_1_1List_1a42dc7256a0cacb1534388b272d71a6e1" kindref="member" tooltip="Iterator type for the container.">iterator</ref><sp/>beg,<sp/><ref refid="classFtdi_1_1List_1a42dc7256a0cacb1534388b272d71a6e1" kindref="member" tooltip="Iterator type for the container.">iterator</ref><sp/><ref refid="classFtdi_1_1List_1aabc5f6a4b69536ca68b7f364ba58d336" kindref="member">end</ref>);</highlight></codeline>
<codeline lineno="209"><highlight class="normal"></highlight></codeline>
<codeline lineno="210"><highlight class="normal"></highlight><highlight class="keyword">private</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="211"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal"><ref refid="classFtdi_1_1List_1_1Private" kindref="compound">Private</ref>;</highlight></codeline>
<codeline lineno="212"><highlight class="normal"><sp/><sp/><sp/><sp/>boost::shared_ptr&lt;Private&gt;<sp/>d;</highlight></codeline>
<codeline lineno="213"><highlight class="normal">};</highlight></codeline>
<codeline lineno="214"><highlight class="normal"></highlight></codeline>
<codeline lineno="215"><highlight class="normal">}</highlight></codeline>
<codeline lineno="216"><highlight class="normal"></highlight></codeline>
<codeline lineno="217"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight></codeline>
    </programlisting>
    <location file="C:/work/libftdi/libftdi1-1.0/ftdipp/ftdi.hpp"/>
  </compounddef>
</doxygen>
