<?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.9.3" xml:lang="en-US">
  <compounddef id="classosmosdr_1_1device__t" kind="class" language="C++" prot="public">
    <compoundname>osmosdr::device_t</compoundname>
    <basecompoundref prot="public" virt="non-virtual">std::map&lt; K, T &gt;</basecompoundref>
    <includes refid="device_8h" local="no">device.h</includes>
      <sectiondef kind="public-func">
      <memberdef kind="function" id="classosmosdr_1_1device__t_1a2c70bdcecf8502bc4f1733e911bb650b" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type></type>
        <definition>osmosdr::device_t::device_t</definition>
        <argsstring>(const std::string &amp;args=&quot;&quot;)</argsstring>
        <name>device_t</name>
        <qualifiedname>osmosdr::device_t::device_t</qualifiedname>
        <param>
          <type>const std::string &amp;</type>
          <declname>args</declname>
          <defval>&quot;&quot;</defval>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para>Create a logical device from an args string. <parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>args</parametername>
</parameternamelist>
<parameterdescription>
<para>the arguments string </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/tmp/slackdce/slackrepo.jk4nph/build_gr-osmosdr/gr-osmosdr-20240515_a6afeaa/include/osmosdr/device.h" line="55" column="5"/>
      </memberdef>
      <memberdef kind="function" id="classosmosdr_1_1device__t_1a67216bc0a65725e7e850488f23c08537" prot="public" static="no" const="yes" explicit="no" inline="no" virt="non-virtual">
        <type>std::string</type>
        <definition>std::string osmosdr::device_t::to_pp_string</definition>
        <argsstring>(void) const</argsstring>
        <name>to_pp_string</name>
        <qualifiedname>osmosdr::device_t::to_pp_string</qualifiedname>
        <param>
          <type>void</type>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para>Convert a logical device into a pretty print string. <simplesect kind="return"><para>a printable string representing the device </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/tmp/slackdce/slackrepo.jk4nph/build_gr-osmosdr/gr-osmosdr-20240515_a6afeaa/include/osmosdr/device.h" line="61" column="17"/>
      </memberdef>
      <memberdef kind="function" id="classosmosdr_1_1device__t_1a932678985cca2ffe5bbeaff90dd572e6" prot="public" static="no" const="yes" explicit="no" inline="no" virt="non-virtual">
        <type>std::string</type>
        <definition>std::string osmosdr::device_t::to_string</definition>
        <argsstring>(void) const</argsstring>
        <name>to_string</name>
        <qualifiedname>osmosdr::device_t::to_string</qualifiedname>
        <param>
          <type>void</type>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para>Convert the logical device into an args string. The args string contains delimiter symbols. <simplesect kind="return"><para>a string with delimiter markup </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/tmp/slackdce/slackrepo.jk4nph/build_gr-osmosdr/gr-osmosdr-20240515_a6afeaa/include/osmosdr/device.h" line="68" column="17"/>
      </memberdef>
      <memberdef kind="function" id="classosmosdr_1_1device__t_1a70943b9f5d8ecc5c1635213194c39b6c" prot="public" static="no" const="yes" explicit="no" inline="yes" virt="non-virtual">
        <templateparamlist>
          <param>
            <type>typename T</type>
          </param>
        </templateparamlist>
        <type>T</type>
        <definition>T osmosdr::device_t::cast</definition>
        <argsstring>(const std::string &amp;key, const T &amp;def) const</argsstring>
        <name>cast</name>
        <qualifiedname>osmosdr::device_t::cast</qualifiedname>
        <param>
          <type>const std::string &amp;</type>
          <declname>key</declname>
        </param>
        <param>
          <type>const T &amp;</type>
          <declname>def</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
<para>Lexically cast a parameter to the specified type, or use the default value if the key is not found. <parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>key</parametername>
</parameternamelist>
<parameterdescription>
<para>the key as one of the parameters </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>def</parametername>
</parameternamelist>
<parameterdescription>
<para>the value to use when key is not present </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>the casted value as type T or the default </para>
</simplesect>
<parameterlist kind="exception"><parameteritem>
<parameternamelist>
<parametername>error</parametername>
</parameternamelist>
<parameterdescription>
<para>when the parameter cannot be casted </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/tmp/slackdce/slackrepo.jk4nph/build_gr-osmosdr/gr-osmosdr-20240515_a6afeaa/include/osmosdr/device.h" line="78" column="19" bodyfile="/tmp/slackdce/slackrepo.jk4nph/build_gr-osmosdr/gr-osmosdr-20240515_a6afeaa/include/osmosdr/device.h" bodystart="78" bodyend="85"/>
      </memberdef>
      </sectiondef>
    <briefdescription>
    </briefdescription>
    <detaileddescription>
<para>Mapping of key/value pairs for locating devices on the system. When left empty, the device discovery routines will search all available transports on the system (ethernet, usb...).</para>
<para>The logical device can also be used to pass arguments into the transport layer control to set (for example) buffer sizes.</para>
<para>An arguments string, is a way to represent a device address using a single string with delimiter characters. </para>
    </detaileddescription>
    <inheritancegraph>
      <node id="1">
        <label>osmosdr::device_t</label>
        <link refid="classosmosdr_1_1device__t"/>
        <childnode refid="2" relation="public-inheritance">
        </childnode>
      </node>
      <node id="2">
        <label>string_string_dict_t</label>
      </node>
    </inheritancegraph>
    <collaborationgraph>
      <node id="3">
        <label>K</label>
      </node>
      <node id="4">
        <label>T</label>
      </node>
      <node id="1">
        <label>osmosdr::device_t</label>
        <link refid="classosmosdr_1_1device__t"/>
        <childnode refid="2" relation="public-inheritance">
        </childnode>
      </node>
      <node id="2">
        <label>string_string_dict_t</label>
        <childnode refid="3" relation="usage">
          <edgelabel>keys</edgelabel>
        </childnode>
        <childnode refid="4" relation="usage">
          <edgelabel>elements</edgelabel>
        </childnode>
      </node>
    </collaborationgraph>
    <location file="/tmp/slackdce/slackrepo.jk4nph/build_gr-osmosdr/gr-osmosdr-20240515_a6afeaa/include/osmosdr/device.h" line="48" column="3" bodyfile="/tmp/slackdce/slackrepo.jk4nph/build_gr-osmosdr/gr-osmosdr-20240515_a6afeaa/include/osmosdr/device.h" bodystart="49" bodyend="86"/>
    <listofallmembers>
      <member refid="classosmosdr_1_1device__t_1a70943b9f5d8ecc5c1635213194c39b6c" prot="public" virt="non-virtual"><scope>osmosdr::device_t</scope><name>cast</name></member>
      <member refid="classosmosdr_1_1device__t_1a2c70bdcecf8502bc4f1733e911bb650b" prot="public" virt="non-virtual"><scope>osmosdr::device_t</scope><name>device_t</name></member>
      <member refid="classstd_1_1map_1ac69fe575e214b796b8d9457b0c22469a" prot="public" virt="non-virtual"><scope>osmosdr::device_t</scope><name>elements</name></member>
      <member refid="classstd_1_1map_1a8dc2b3ed44acf51fb2bd3eb30b237269" prot="public" virt="non-virtual"><scope>osmosdr::device_t</scope><name>keys</name></member>
      <member refid="classosmosdr_1_1device__t_1a67216bc0a65725e7e850488f23c08537" prot="public" virt="non-virtual"><scope>osmosdr::device_t</scope><name>to_pp_string</name></member>
      <member refid="classosmosdr_1_1device__t_1a932678985cca2ffe5bbeaff90dd572e6" prot="public" virt="non-virtual"><scope>osmosdr::device_t</scope><name>to_string</name></member>
    </listofallmembers>
  </compounddef>
</doxygen>
