<?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.6" xml:lang="en-US">
  <compounddef id="classtf_1_1WorkerView" kind="class" language="C++" prot="public">
    <compoundname>tf::WorkerView</compoundname>
      <sectiondef kind="friend">
      <memberdef kind="friend" id="classtf_1_1WorkerView_1a763b2f90bc53f92d680a635fe28e858e" prot="private" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>class</type>
        <definition>friend class Executor</definition>
        <argsstring></argsstring>
        <name>Executor</name>
        <qualifiedname>tf::WorkerView::Executor</qualifiedname>
        <param>
          <type><ref refid="classtf_1_1Executor" kindref="compound">Executor</ref></type>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/Users/twhuang/Code/taskflow/taskflow/core/worker.hpp" line="117" column="16" bodyfile="/Users/twhuang/Code/taskflow/taskflow/core/worker.hpp" bodystart="117" bodyend="-1"/>
      </memberdef>
      </sectiondef>
      <sectiondef kind="private-attrib">
      <memberdef kind="variable" id="classtf_1_1WorkerView_1ad4df9bf3972a4fe4253fd27477f51808" prot="private" static="no" mutable="no">
        <type>const <ref refid="classtf_1_1Worker" kindref="compound">Worker</ref> &amp;</type>
        <definition>const Worker&amp; tf::WorkerView::_worker</definition>
        <argsstring></argsstring>
        <name>_worker</name>
        <qualifiedname>tf::WorkerView::_worker</qualifiedname>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/Users/twhuang/Code/taskflow/taskflow/core/worker.hpp" line="146" column="18" bodyfile="/Users/twhuang/Code/taskflow/taskflow/core/worker.hpp" bodystart="146" bodyend="-1"/>
      </memberdef>
      </sectiondef>
      <sectiondef kind="public-func">
      <memberdef kind="function" id="classtf_1_1WorkerView_1ab12c901b0bd8a9f1fa33d305a32ae259" prot="public" static="no" const="yes" explicit="no" inline="yes" virt="non-virtual">
        <type>size_t</type>
        <definition>size_t tf::WorkerView::id</definition>
        <argsstring>() const</argsstring>
        <name>id</name>
        <qualifiedname>tf::WorkerView::id</qualifiedname>
        <briefdescription>
<para>queries the worker id associated with its parent executor </para>
        </briefdescription>
        <detaileddescription>
<para>A worker id is a unsigned integer in the range <computeroutput>[0, N)</computeroutput>, where <computeroutput>N</computeroutput> is the number of workers spawned at the construction time of the executor. </para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/Users/twhuang/Code/taskflow/taskflow/core/worker.hpp" line="128" column="12" bodyfile="/Users/twhuang/Code/taskflow/taskflow/core/worker.hpp" bodystart="155" bodyend="157"/>
      </memberdef>
      <memberdef kind="function" id="classtf_1_1WorkerView_1afb99c27c8224732921fadb98ceff42e4" prot="public" static="no" const="yes" explicit="no" inline="yes" virt="non-virtual">
        <type>size_t</type>
        <definition>size_t tf::WorkerView::queue_size</definition>
        <argsstring>() const</argsstring>
        <name>queue_size</name>
        <qualifiedname>tf::WorkerView::queue_size</qualifiedname>
        <briefdescription>
<para>queries the size of the queue (i.e., number of pending tasks to run) associated with the worker </para>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/Users/twhuang/Code/taskflow/taskflow/core/worker.hpp" line="134" column="12" bodyfile="/Users/twhuang/Code/taskflow/taskflow/core/worker.hpp" bodystart="160" bodyend="162"/>
      </memberdef>
      <memberdef kind="function" id="classtf_1_1WorkerView_1aed408a9cbf65b0598fa27cd75d9b915e" prot="public" static="no" const="yes" explicit="no" inline="yes" virt="non-virtual">
        <type>size_t</type>
        <definition>size_t tf::WorkerView::queue_capacity</definition>
        <argsstring>() const</argsstring>
        <name>queue_capacity</name>
        <qualifiedname>tf::WorkerView::queue_capacity</qualifiedname>
        <briefdescription>
<para>queries the current capacity of the queue </para>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/Users/twhuang/Code/taskflow/taskflow/core/worker.hpp" line="139" column="12" bodyfile="/Users/twhuang/Code/taskflow/taskflow/core/worker.hpp" bodystart="165" bodyend="167"/>
      </memberdef>
      </sectiondef>
      <sectiondef kind="private-func">
      <memberdef kind="function" id="classtf_1_1WorkerView_1af5023cb4d6b24fab8992310741952bea" prot="private" static="no" const="no" explicit="no" inline="yes" virt="non-virtual">
        <type></type>
        <definition>tf::WorkerView::WorkerView</definition>
        <argsstring>(const Worker &amp;)</argsstring>
        <name>WorkerView</name>
        <qualifiedname>tf::WorkerView::WorkerView</qualifiedname>
        <param>
          <type>const <ref refid="classtf_1_1Worker" kindref="compound">Worker</ref> &amp;</type>
          <defname>w</defname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/Users/twhuang/Code/taskflow/taskflow/core/worker.hpp" line="143" column="5" bodyfile="/Users/twhuang/Code/taskflow/taskflow/core/worker.hpp" bodystart="151" bodyend="152"/>
      </memberdef>
      <memberdef kind="function" id="classtf_1_1WorkerView_1a4b39c214f3cd23c241faa56f4c94042f" prot="private" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type></type>
        <definition>tf::WorkerView::WorkerView</definition>
        <argsstring>(const WorkerView &amp;)=default</argsstring>
        <name>WorkerView</name>
        <qualifiedname>tf::WorkerView::WorkerView</qualifiedname>
        <param>
          <type>const <ref refid="classtf_1_1WorkerView" kindref="compound">WorkerView</ref> &amp;</type>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/Users/twhuang/Code/taskflow/taskflow/core/worker.hpp" line="144" column="5"/>
      </memberdef>
      </sectiondef>
    <briefdescription>
<para>class to create an immutable view of a worker in an executor </para>
    </briefdescription>
    <detaileddescription>
<para>An executor keeps a set of internal worker threads to run tasks. A worker view provides users an immutable interface to observe when a worker runs a task, and the view object is only accessible from an observer derived from <ref refid="classtf_1_1ObserverInterface" kindref="compound">tf::ObserverInterface</ref>. </para>
    </detaileddescription>
    <location file="/Users/twhuang/Code/taskflow/taskflow/core/worker.hpp" line="115" column="1" bodyfile="/Users/twhuang/Code/taskflow/taskflow/core/worker.hpp" bodystart="115" bodyend="148"/>
    <listofallmembers>
      <member refid="classtf_1_1WorkerView_1ad4df9bf3972a4fe4253fd27477f51808" prot="private" virt="non-virtual"><scope>tf::WorkerView</scope><name>_worker</name></member>
      <member refid="classtf_1_1WorkerView_1a763b2f90bc53f92d680a635fe28e858e" prot="private" virt="non-virtual"><scope>tf::WorkerView</scope><name>Executor</name></member>
      <member refid="classtf_1_1WorkerView_1ab12c901b0bd8a9f1fa33d305a32ae259" prot="public" virt="non-virtual"><scope>tf::WorkerView</scope><name>id</name></member>
      <member refid="classtf_1_1WorkerView_1aed408a9cbf65b0598fa27cd75d9b915e" prot="public" virt="non-virtual"><scope>tf::WorkerView</scope><name>queue_capacity</name></member>
      <member refid="classtf_1_1WorkerView_1afb99c27c8224732921fadb98ceff42e4" prot="public" virt="non-virtual"><scope>tf::WorkerView</scope><name>queue_size</name></member>
      <member refid="classtf_1_1WorkerView_1af5023cb4d6b24fab8992310741952bea" prot="private" virt="non-virtual"><scope>tf::WorkerView</scope><name>WorkerView</name></member>
      <member refid="classtf_1_1WorkerView_1a4b39c214f3cd23c241faa56f4c94042f" prot="private" virt="non-virtual"><scope>tf::WorkerView</scope><name>WorkerView</name></member>
    </listofallmembers>
  </compounddef>
</doxygen>
