<?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="classgr_1_1baz_1_1file__source" kind="class" language="C++" prot="public" abstract="yes">
    <compoundname>gr::baz::file_source</compoundname>
    <basecompoundref prot="public" virt="virtual">gr::sync_block</basecompoundref>
    <includes refid="baz__file__source_8h" local="no">baz_file_source.h</includes>
      <sectiondef kind="public-type">
      <memberdef kind="typedef" id="classgr_1_1baz_1_1file__source_1a5b95deebe6a6fa35e8599963cf3173d5" prot="public" static="no">
        <type>boost::shared_ptr&lt; <ref refid="classgr_1_1baz_1_1file__source" kindref="compound">file_source</ref> &gt;</type>
        <definition>typedef boost::shared_ptr&lt;file_source&gt; gr::baz::file_source::sptr</definition>
        <argsstring></argsstring>
        <name>sptr</name>
        <qualifiedname>gr::baz::file_source::sptr</qualifiedname>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_science_gr-baz/gr-baz/work/balint256-gr-baz-937834c/lib/baz_file_source.h" line="40" column="33" bodyfile="/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_science_gr-baz/gr-baz/work/balint256-gr-baz-937834c/lib/baz_file_source.h" bodystart="40" bodyend="-1"/>
      </memberdef>
      </sectiondef>
      <sectiondef kind="public-static-func">
      <memberdef kind="function" id="classgr_1_1baz_1_1file__source_1afea3ce013c22c9a5e4de4171dc5cbf01" prot="public" static="yes" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="classgr_1_1baz_1_1file__source_1a5b95deebe6a6fa35e8599963cf3173d5" kindref="member">sptr</ref></type>
        <definition>static sptr gr::baz::file_source::make</definition>
        <argsstring>(size_t itemsize, const char *filename, bool repeat=false, long offset=0, const char *timing_filename=NULL, bool pad=false, double rate=0.0, bool auto_load=true, const std::vector&lt; std::string &gt; &amp;files=std::vector&lt; std::string &gt;())</argsstring>
        <name>make</name>
        <qualifiedname>gr::baz::file_source::make</qualifiedname>
        <param>
          <type>size_t</type>
          <declname>itemsize</declname>
        </param>
        <param>
          <type>const char *</type>
          <declname>filename</declname>
        </param>
        <param>
          <type>bool</type>
          <declname>repeat</declname>
          <defval>false</defval>
        </param>
        <param>
          <type>long</type>
          <declname>offset</declname>
          <defval>0</defval>
        </param>
        <param>
          <type>const char *</type>
          <declname>timing_filename</declname>
          <defval>NULL</defval>
        </param>
        <param>
          <type>bool</type>
          <declname>pad</declname>
          <defval>false</defval>
        </param>
        <param>
          <type>double</type>
          <declname>rate</declname>
          <defval>0.0</defval>
        </param>
        <param>
          <type>bool</type>
          <declname>auto_load</declname>
          <defval>true</defval>
        </param>
        <param>
          <type>const std::vector&lt; std::string &gt; &amp;</type>
          <declname>files</declname>
          <defval>std::vector&lt; std::string &gt;()</defval>
        </param>
        <briefdescription>
<para>Create a file source. </para>
        </briefdescription>
        <detaileddescription>
<para>Opens <computeroutput>filename</computeroutput> as a source of items into a flowgraph. The data is expected to be in binary format, item after item. The <computeroutput>itemsize</computeroutput> of the block determines the conversion from bits to items.</para>
<para>If <computeroutput>repeat</computeroutput> is turned on, the file will repeat the file after it&apos;s reached the end.</para>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>itemsize</parametername>
</parameternamelist>
<parameterdescription>
<para>the size of each item in the file, in bytes </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>filename</parametername>
</parameternamelist>
<parameterdescription>
<para>name of the file to source from </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>repeat</parametername>
</parameternamelist>
<parameterdescription>
<para>repeat file from start </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_science_gr-baz/gr-baz/work/balint256-gr-baz-937834c/lib/baz_file_source.h" line="57" column="19"/>
      </memberdef>
      </sectiondef>
      <sectiondef kind="public-func">
      <memberdef kind="function" id="classgr_1_1baz_1_1file__source_1a9452a0f4c3424b6c218ebce4a8f773c9" prot="public" static="no" const="no" explicit="no" inline="no" virt="pure-virtual">
        <type>bool</type>
        <definition>virtual bool gr::baz::file_source::seek</definition>
        <argsstring>(long seek_point)=0</argsstring>
        <name>seek</name>
        <qualifiedname>gr::baz::file_source::seek</qualifiedname>
        <param>
          <type>long</type>
          <declname>seek_point</declname>
        </param>
        <briefdescription>
<para>seek file to <computeroutput>seek_point</computeroutput> relative to <computeroutput>whence</computeroutput> </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>seek_point</parametername>
</parameternamelist>
<parameterdescription>
<para>sample offset in file </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>whence</parametername>
</parameternamelist>
<parameterdescription>
<para>one of SEEK_SET, SEEK_CUR, SEEK_END (man fseek) </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_science_gr-baz/gr-baz/work/balint256-gr-baz-937834c/lib/baz_file_source.h" line="65" column="20"/>
      </memberdef>
      <memberdef kind="function" id="classgr_1_1baz_1_1file__source_1a689974cbb048f5e14867bbfdf8ea53bb" prot="public" static="no" const="no" explicit="no" inline="no" virt="pure-virtual">
        <type>bool</type>
        <definition>virtual bool gr::baz::file_source::seek</definition>
        <argsstring>(long seek_point, int whence)=0</argsstring>
        <name>seek</name>
        <qualifiedname>gr::baz::file_source::seek</qualifiedname>
        <param>
          <type>long</type>
          <declname>seek_point</declname>
        </param>
        <param>
          <type>int</type>
          <declname>whence</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_science_gr-baz/gr-baz/work/balint256-gr-baz-937834c/lib/baz_file_source.h" line="66" column="20"/>
      </memberdef>
      <memberdef kind="function" id="classgr_1_1baz_1_1file__source_1af18f4b3b1f22719da408e3d34f551d58" prot="public" static="no" const="no" explicit="no" inline="no" virt="pure-virtual">
        <type>void</type>
        <definition>virtual void gr::baz::file_source::open</definition>
        <argsstring>(const char *filename, bool repeat=false, long offset=0, const char *timing_filename=NULL, bool pad=false, double rate=0.0, bool auto_load=true, const std::vector&lt; std::string &gt; &amp;files=std::vector&lt; std::string &gt;())=0</argsstring>
        <name>open</name>
        <qualifiedname>gr::baz::file_source::open</qualifiedname>
        <param>
          <type>const char *</type>
          <declname>filename</declname>
        </param>
        <param>
          <type>bool</type>
          <declname>repeat</declname>
          <defval>false</defval>
        </param>
        <param>
          <type>long</type>
          <declname>offset</declname>
          <defval>0</defval>
        </param>
        <param>
          <type>const char *</type>
          <declname>timing_filename</declname>
          <defval>NULL</defval>
        </param>
        <param>
          <type>bool</type>
          <declname>pad</declname>
          <defval>false</defval>
        </param>
        <param>
          <type>double</type>
          <declname>rate</declname>
          <defval>0.0</defval>
        </param>
        <param>
          <type>bool</type>
          <declname>auto_load</declname>
          <defval>true</defval>
        </param>
        <param>
          <type>const std::vector&lt; std::string &gt; &amp;</type>
          <declname>files</declname>
          <defval>std::vector&lt; std::string &gt;()</defval>
        </param>
        <briefdescription>
<para>Opens a new file. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername>filename</parametername>
</parameternamelist>
<parameterdescription>
<para>name of the file to source from </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername>repeat</parametername>
</parameternamelist>
<parameterdescription>
<para>repeat file from start </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_science_gr-baz/gr-baz/work/balint256-gr-baz-937834c/lib/baz_file_source.h" line="74" column="20"/>
      </memberdef>
      <memberdef kind="function" id="classgr_1_1baz_1_1file__source_1a69129a4ca1180c0ad3c1bcf4af2873ac" prot="public" static="no" const="no" explicit="no" inline="no" virt="pure-virtual">
        <type>void</type>
        <definition>virtual void gr::baz::file_source::close</definition>
        <argsstring>()=0</argsstring>
        <name>close</name>
        <qualifiedname>gr::baz::file_source::close</qualifiedname>
        <briefdescription>
<para>Close the file handle. </para>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_science_gr-baz/gr-baz/work/balint256-gr-baz-937834c/lib/baz_file_source.h" line="79" column="20"/>
      </memberdef>
      <memberdef kind="function" id="classgr_1_1baz_1_1file__source_1ad67bd320e04b95b6c5e6acce6f68bdca" prot="public" static="no" const="no" explicit="no" inline="no" virt="pure-virtual">
        <type>size_t</type>
        <definition>virtual size_t gr::baz::file_source::offset</definition>
        <argsstring>()=0</argsstring>
        <name>offset</name>
        <qualifiedname>gr::baz::file_source::offset</qualifiedname>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_science_gr-baz/gr-baz/work/balint256-gr-baz-937834c/lib/baz_file_source.h" line="81" column="22"/>
      </memberdef>
      <memberdef kind="function" id="classgr_1_1baz_1_1file__source_1a33e03ffb12afe2425e0dd6c56215dd9d" prot="public" static="no" const="no" explicit="no" inline="no" virt="pure-virtual">
        <type>size_t</type>
        <definition>virtual size_t gr::baz::file_source::file_offset</definition>
        <argsstring>()=0</argsstring>
        <name>file_offset</name>
        <qualifiedname>gr::baz::file_source::file_offset</qualifiedname>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_science_gr-baz/gr-baz/work/balint256-gr-baz-937834c/lib/baz_file_source.h" line="82" column="22"/>
      </memberdef>
      <memberdef kind="function" id="classgr_1_1baz_1_1file__source_1a4916cecb8bc4c63b7812d965674592d2" prot="public" static="no" const="no" explicit="no" inline="no" virt="pure-virtual">
        <type>double</type>
        <definition>virtual double gr::baz::file_source::time</definition>
        <argsstring>(bool relative=false, bool raw=false)=0</argsstring>
        <name>time</name>
        <qualifiedname>gr::baz::file_source::time</qualifiedname>
        <param>
          <type>bool</type>
          <declname>relative</declname>
          <defval>false</defval>
        </param>
        <param>
          <type>bool</type>
          <declname>raw</declname>
          <defval>false</defval>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_science_gr-baz/gr-baz/work/balint256-gr-baz-937834c/lib/baz_file_source.h" line="83" column="22"/>
      </memberdef>
      <memberdef kind="function" id="classgr_1_1baz_1_1file__source_1aeed3361d611572c31dbd29ffab29e61f" prot="public" static="no" const="no" explicit="no" inline="no" virt="pure-virtual">
        <type>double</type>
        <definition>virtual double gr::baz::file_source::sample_rate</definition>
        <argsstring>()=0</argsstring>
        <name>sample_rate</name>
        <qualifiedname>gr::baz::file_source::sample_rate</qualifiedname>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_science_gr-baz/gr-baz/work/balint256-gr-baz-937834c/lib/baz_file_source.h" line="84" column="22"/>
      </memberdef>
      <memberdef kind="function" id="classgr_1_1baz_1_1file__source_1a620e6bd2c398bfc3e6c144dc88aca2f0" prot="public" static="no" const="no" explicit="no" inline="no" virt="pure-virtual">
        <type>double</type>
        <definition>virtual double gr::baz::file_source::sample_count</definition>
        <argsstring>(bool raw=false)=0</argsstring>
        <name>sample_count</name>
        <qualifiedname>gr::baz::file_source::sample_count</qualifiedname>
        <param>
          <type>bool</type>
          <declname>raw</declname>
          <defval>false</defval>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_science_gr-baz/gr-baz/work/balint256-gr-baz-937834c/lib/baz_file_source.h" line="85" column="22"/>
      </memberdef>
      <memberdef kind="function" id="classgr_1_1baz_1_1file__source_1abdfa2722acef45356559abc3da07c334" prot="public" static="no" const="no" explicit="no" inline="no" virt="pure-virtual">
        <type>double</type>
        <definition>virtual double gr::baz::file_source::duration</definition>
        <argsstring>()=0</argsstring>
        <name>duration</name>
        <qualifiedname>gr::baz::file_source::duration</qualifiedname>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_science_gr-baz/gr-baz/work/balint256-gr-baz-937834c/lib/baz_file_source.h" line="86" column="22"/>
      </memberdef>
      <memberdef kind="function" id="classgr_1_1baz_1_1file__source_1a0ebf9f2983673f4699699eeb51609639" prot="public" static="no" const="no" explicit="no" inline="no" virt="pure-virtual">
        <type>size_t</type>
        <definition>virtual size_t gr::baz::file_source::file_index</definition>
        <argsstring>()=0</argsstring>
        <name>file_index</name>
        <qualifiedname>gr::baz::file_source::file_index</qualifiedname>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_science_gr-baz/gr-baz/work/balint256-gr-baz-937834c/lib/baz_file_source.h" line="87" column="22"/>
      </memberdef>
      <memberdef kind="function" id="classgr_1_1baz_1_1file__source_1a01c95f96072de0b45a25d554d0b93362" prot="public" static="no" const="no" explicit="no" inline="no" virt="pure-virtual">
        <type>std::string</type>
        <definition>virtual std::string gr::baz::file_source::file_path</definition>
        <argsstring>()=0</argsstring>
        <name>file_path</name>
        <qualifiedname>gr::baz::file_source::file_path</qualifiedname>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_science_gr-baz/gr-baz/work/balint256-gr-baz-937834c/lib/baz_file_source.h" line="88" column="27"/>
      </memberdef>
      <memberdef kind="function" id="classgr_1_1baz_1_1file__source_1adabb65c3570a82097d34fedc87b06ba0" prot="public" static="no" const="no" explicit="no" inline="no" virt="pure-virtual">
        <type>std::vector&lt; std::string &gt;</type>
        <definition>virtual std::vector&lt; std::string &gt; gr::baz::file_source::files</definition>
        <argsstring>()=0</argsstring>
        <name>files</name>
        <qualifiedname>gr::baz::file_source::files</qualifiedname>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_science_gr-baz/gr-baz/work/balint256-gr-baz-937834c/lib/baz_file_source.h" line="89" column="27"/>
      </memberdef>
      </sectiondef>
    <briefdescription>
<para>Read stream from file. </para>
    </briefdescription>
    <detaileddescription>
    </detaileddescription>
    <inheritancegraph>
      <node id="1">
        <label>gr::baz::file_source</label>
        <link refid="classgr_1_1baz_1_1file__source"/>
        <childnode refid="2" relation="public-inheritance">
        </childnode>
      </node>
      <node id="2">
        <label>gr::sync_block</label>
      </node>
    </inheritancegraph>
    <collaborationgraph>
      <node id="1">
        <label>gr::baz::file_source</label>
        <link refid="classgr_1_1baz_1_1file__source"/>
        <childnode refid="2" relation="public-inheritance">
        </childnode>
      </node>
      <node id="2">
        <label>gr::sync_block</label>
      </node>
    </collaborationgraph>
    <location file="/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_science_gr-baz/gr-baz/work/balint256-gr-baz-937834c/lib/baz_file_source.h" line="35" column="5" bodyfile="/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_science_gr-baz/gr-baz/work/balint256-gr-baz-937834c/lib/baz_file_source.h" bodystart="36" bodyend="90"/>
    <listofallmembers>
      <member refid="classgr_1_1baz_1_1file__source_1a69129a4ca1180c0ad3c1bcf4af2873ac" prot="public" virt="pure-virtual"><scope>gr::baz::file_source</scope><name>close</name></member>
      <member refid="classgr_1_1baz_1_1file__source_1abdfa2722acef45356559abc3da07c334" prot="public" virt="pure-virtual"><scope>gr::baz::file_source</scope><name>duration</name></member>
      <member refid="classgr_1_1baz_1_1file__source_1a0ebf9f2983673f4699699eeb51609639" prot="public" virt="pure-virtual"><scope>gr::baz::file_source</scope><name>file_index</name></member>
      <member refid="classgr_1_1baz_1_1file__source_1a33e03ffb12afe2425e0dd6c56215dd9d" prot="public" virt="pure-virtual"><scope>gr::baz::file_source</scope><name>file_offset</name></member>
      <member refid="classgr_1_1baz_1_1file__source_1a01c95f96072de0b45a25d554d0b93362" prot="public" virt="pure-virtual"><scope>gr::baz::file_source</scope><name>file_path</name></member>
      <member refid="classgr_1_1baz_1_1file__source_1adabb65c3570a82097d34fedc87b06ba0" prot="public" virt="pure-virtual"><scope>gr::baz::file_source</scope><name>files</name></member>
      <member refid="classgr_1_1baz_1_1file__source_1afea3ce013c22c9a5e4de4171dc5cbf01" prot="public" virt="non-virtual"><scope>gr::baz::file_source</scope><name>make</name></member>
      <member refid="classgr_1_1baz_1_1file__source_1ad67bd320e04b95b6c5e6acce6f68bdca" prot="public" virt="pure-virtual"><scope>gr::baz::file_source</scope><name>offset</name></member>
      <member refid="classgr_1_1baz_1_1file__source_1af18f4b3b1f22719da408e3d34f551d58" prot="public" virt="pure-virtual"><scope>gr::baz::file_source</scope><name>open</name></member>
      <member refid="classgr_1_1baz_1_1file__source_1a620e6bd2c398bfc3e6c144dc88aca2f0" prot="public" virt="pure-virtual"><scope>gr::baz::file_source</scope><name>sample_count</name></member>
      <member refid="classgr_1_1baz_1_1file__source_1aeed3361d611572c31dbd29ffab29e61f" prot="public" virt="pure-virtual"><scope>gr::baz::file_source</scope><name>sample_rate</name></member>
      <member refid="classgr_1_1baz_1_1file__source_1a9452a0f4c3424b6c218ebce4a8f773c9" prot="public" virt="pure-virtual"><scope>gr::baz::file_source</scope><name>seek</name></member>
      <member refid="classgr_1_1baz_1_1file__source_1a689974cbb048f5e14867bbfdf8ea53bb" prot="public" virt="pure-virtual"><scope>gr::baz::file_source</scope><name>seek</name></member>
      <member refid="classgr_1_1baz_1_1file__source_1a5b95deebe6a6fa35e8599963cf3173d5" prot="public" virt="non-virtual"><scope>gr::baz::file_source</scope><name>sptr</name></member>
      <member refid="classgr_1_1baz_1_1file__source_1a4916cecb8bc4c63b7812d965674592d2" prot="public" virt="pure-virtual"><scope>gr::baz::file_source</scope><name>time</name></member>
    </listofallmembers>
  </compounddef>
</doxygen>
