<?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.20" xml:lang="en-US">
  <compounddef id="MetricManager_8h" kind="file" language="C++">
    <compoundname>MetricManager.h</compoundname>
    <includes refid="Metric_8h" local="no">libusermetricsinput/Metric.h</includes>
    <incdepgraph>
      <node id="4">
        <label>QtCore/QObject</label>
      </node>
      <node id="5">
        <label>QtCore/QScopedPointer</label>
      </node>
      <node id="3">
        <label>libusermetricsinput/MetricUpdate.h</label>
        <link refid="MetricUpdate_8h"/>
        <childnode refid="4" relation="include">
        </childnode>
        <childnode refid="5" relation="include">
        </childnode>
      </node>
      <node id="1">
        <label>libusermetricsinput/MetricManager.h</label>
        <link refid="MetricManager_8h"/>
        <childnode refid="2" relation="include">
        </childnode>
      </node>
      <node id="6">
        <label>QtCore/QSharedPointer</label>
      </node>
      <node id="2">
        <label>libusermetricsinput/Metric.h</label>
        <link refid="Metric_8h"/>
        <childnode refid="3" relation="include">
        </childnode>
        <childnode refid="6" relation="include">
        </childnode>
      </node>
    </incdepgraph>
    <innerclass refid="classUserMetricsInput_1_1MetricParameters" prot="public">UserMetricsInput::MetricParameters</innerclass>
    <innerclass refid="classUserMetricsInput_1_1MetricManager" prot="public">UserMetricsInput::MetricManager</innerclass>
    <innernamespace refid="namespaceUserMetricsInput">UserMetricsInput</innernamespace>
    <briefdescription>
    </briefdescription>
    <detaileddescription>
    </detaileddescription>
    <programlisting>
<codeline lineno="1"><highlight class="comment">/*</highlight></codeline>
<codeline lineno="2"><highlight class="comment"><sp/>*<sp/>Copyright<sp/>(C)<sp/>2013<sp/>Canonical,<sp/>Ltd.</highlight></codeline>
<codeline lineno="3"><highlight class="comment"><sp/>*</highlight></codeline>
<codeline lineno="4"><highlight class="comment"><sp/>*<sp/>This<sp/>library<sp/>is<sp/>free<sp/>software;<sp/>you<sp/>can<sp/>redistribute<sp/>it<sp/>and/or<sp/>modify<sp/>it<sp/>under</highlight></codeline>
<codeline lineno="5"><highlight class="comment"><sp/>*<sp/>the<sp/>terms<sp/>of<sp/>version<sp/>3<sp/>of<sp/>the<sp/>GNU<sp/>Lesser<sp/>General<sp/>Public<sp/>License<sp/>as<sp/>published</highlight></codeline>
<codeline lineno="6"><highlight class="comment"><sp/>*<sp/>by<sp/>the<sp/>Free<sp/>Software<sp/>Foundation.</highlight></codeline>
<codeline lineno="7"><highlight class="comment"><sp/>*</highlight></codeline>
<codeline lineno="8"><highlight class="comment"><sp/>*<sp/>This<sp/>library<sp/>is<sp/>distributed<sp/>in<sp/>the<sp/>hope<sp/>that<sp/>it<sp/>will<sp/>be<sp/>useful,<sp/>but<sp/>WITHOUT</highlight></codeline>
<codeline lineno="9"><highlight class="comment"><sp/>*<sp/>ANY<sp/>WARRANTY;<sp/>without<sp/>even<sp/>the<sp/>implied<sp/>warranty<sp/>of<sp/>MERCHANTABILITY<sp/>or<sp/>FITNESS</highlight></codeline>
<codeline lineno="10"><highlight class="comment"><sp/>*<sp/>FOR<sp/>A<sp/>PARTICULAR<sp/>PURPOSE.<sp/>See<sp/>the<sp/>GNU<sp/>Lesser<sp/>General<sp/>Public<sp/>License<sp/>for<sp/>more</highlight></codeline>
<codeline lineno="11"><highlight class="comment"><sp/>*<sp/>details.</highlight></codeline>
<codeline lineno="12"><highlight class="comment"><sp/>*</highlight></codeline>
<codeline lineno="13"><highlight class="comment"><sp/>*<sp/>You<sp/>should<sp/>have<sp/>received<sp/>a<sp/>copy<sp/>of<sp/>the<sp/>GNU<sp/>Lesser<sp/>General<sp/>Public<sp/>License</highlight></codeline>
<codeline lineno="14"><highlight class="comment"><sp/>*<sp/>along<sp/>with<sp/>this<sp/>program.<sp/><sp/>If<sp/>not,<sp/>see<sp/>&lt;http://www.gnu.org/licenses/&gt;.</highlight></codeline>
<codeline lineno="15"><highlight class="comment"><sp/>*</highlight></codeline>
<codeline lineno="16"><highlight class="comment"><sp/>*<sp/>Author:<sp/>Pete<sp/>Woods<sp/>&lt;pete.woods@canonical.com&gt;</highlight></codeline>
<codeline lineno="17"><highlight class="comment"><sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="18"><highlight class="normal"></highlight></codeline>
<codeline lineno="19"><highlight class="normal"></highlight><highlight class="preprocessor">#ifndef<sp/>USERMETRICSINPUT_METRICMANAGER_H_</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="20"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>USERMETRICSINPUT_METRICMANAGER_H_</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="21"><highlight class="normal"></highlight></codeline>
<codeline lineno="22"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>&lt;<ref refid="Metric_8h" kindref="compound">libusermetricsinput/Metric.h</ref>&gt;</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="23"><highlight class="normal"></highlight></codeline>
<codeline lineno="31"><highlight class="keyword">namespace<sp/></highlight><highlight class="normal"><ref refid="namespaceUserMetricsInput" kindref="compound">UserMetricsInput</ref><sp/>{</highlight></codeline>
<codeline lineno="32"><highlight class="normal"></highlight></codeline>
<codeline lineno="33"><highlight class="normal"></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal">MetricManager;</highlight></codeline>
<codeline lineno="34"><highlight class="normal"></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal">MetricParametersPrivate;</highlight></codeline>
<codeline lineno="35"><highlight class="normal"></highlight></codeline>
<codeline lineno="39" refid="namespaceUserMetricsInput_1a2f7898162932dad95bccf206c795b1e7" refkind="member"><highlight class="keyword">typedef</highlight><highlight class="normal"><sp/>QScopedPointer&lt;MetricManager&gt;<sp/><ref refid="namespaceUserMetricsInput_1a2f7898162932dad95bccf206c795b1e7" kindref="member">MetricManagerPtr</ref>;</highlight></codeline>
<codeline lineno="40"><highlight class="normal"></highlight></codeline>
<codeline lineno="41" refid="classUserMetricsInput_1_1MetricParameters" refkind="compound"><highlight class="normal"></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal">Q_DECL_EXPORT<sp/><ref refid="classUserMetricsInput_1_1MetricParameters" kindref="compound">MetricParameters</ref><sp/>{</highlight></codeline>
<codeline lineno="42"><highlight class="normal"></highlight><highlight class="keyword">public</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="43"><highlight class="normal"></highlight></codeline>
<codeline lineno="44" refid="classUserMetricsInput_1_1MetricParameters_1a04893f95618e9a392c1262a94b840432" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">explicit</highlight><highlight class="normal"><sp/><ref refid="classUserMetricsInput_1_1MetricParameters_1a04893f95618e9a392c1262a94b840432" kindref="member">MetricParameters</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>QString<sp/>&amp;dataSourceId);</highlight></codeline>
<codeline lineno="45"><highlight class="normal"></highlight></codeline>
<codeline lineno="46" refid="classUserMetricsInput_1_1MetricParameters_1af4369d932417ed22d9f3cfdb52448945" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classUserMetricsInput_1_1MetricParameters" kindref="compound">MetricParameters</ref><sp/>&amp;<sp/><ref refid="classUserMetricsInput_1_1MetricParameters_1af4369d932417ed22d9f3cfdb52448945" kindref="member">formatString</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>QString<sp/>&amp;formatString);</highlight></codeline>
<codeline lineno="47"><highlight class="normal"></highlight></codeline>
<codeline lineno="48" refid="classUserMetricsInput_1_1MetricParameters_1a9b3520fac7b7899e84452c6c7a1c2bf0" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classUserMetricsInput_1_1MetricParameters" kindref="compound">MetricParameters</ref><sp/>&amp;<sp/><ref refid="classUserMetricsInput_1_1MetricParameters_1a9b3520fac7b7899e84452c6c7a1c2bf0" kindref="member">emptyDataString</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>QString<sp/>&amp;emptyDataString);</highlight></codeline>
<codeline lineno="49"><highlight class="normal"></highlight></codeline>
<codeline lineno="50" refid="classUserMetricsInput_1_1MetricParameters_1a6c49c26ba8a6629b50f89924d9c440e8" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classUserMetricsInput_1_1MetricParameters" kindref="compound">MetricParameters</ref><sp/>&amp;<sp/><ref refid="classUserMetricsInput_1_1MetricParameters_1a6c49c26ba8a6629b50f89924d9c440e8" kindref="member">textDomain</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>QString<sp/>&amp;textDomain);</highlight></codeline>
<codeline lineno="51"><highlight class="normal"></highlight></codeline>
<codeline lineno="52" refid="classUserMetricsInput_1_1MetricParameters_1a179439b9b4b23ef3c9de54d38f608f37" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classUserMetricsInput_1_1MetricParameters" kindref="compound">MetricParameters</ref><sp/>&amp;<sp/><ref refid="classUserMetricsInput_1_1MetricParameters_1a179439b9b4b23ef3c9de54d38f608f37" kindref="member">minimum</ref>(</highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>minimum);</highlight></codeline>
<codeline lineno="53"><highlight class="normal"></highlight></codeline>
<codeline lineno="54" refid="classUserMetricsInput_1_1MetricParameters_1a3a1a3e9fdc5d2b903abd46597703537a" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classUserMetricsInput_1_1MetricParameters" kindref="compound">MetricParameters</ref><sp/>&amp;<sp/><ref refid="classUserMetricsInput_1_1MetricParameters_1a3a1a3e9fdc5d2b903abd46597703537a" kindref="member">maximum</ref>(</highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>maximum);</highlight></codeline>
<codeline lineno="55"><highlight class="normal"></highlight></codeline>
<codeline lineno="56" refid="classUserMetricsInput_1_1MetricParameters_1a1e9cbb662332d2b6d3c27bf68d53d26e" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classUserMetricsInput_1_1MetricParameters" kindref="compound">MetricParameters</ref><sp/>&amp;<sp/><ref refid="classUserMetricsInput_1_1MetricParameters_1a1e9cbb662332d2b6d3c27bf68d53d26e" kindref="member">type</ref>(<ref refid="namespaceUserMetricsInput_1a12d7e28de5804b46f948a6f7ccf5977d" kindref="member">MetricType</ref><sp/>type);</highlight></codeline>
<codeline lineno="57"><highlight class="normal"></highlight></codeline>
<codeline lineno="58" refid="classUserMetricsInput_1_1MetricParameters_1ad9a314ed7a4c2240938303f076e0bffd" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">virtual</highlight><highlight class="normal"><sp/><ref refid="classUserMetricsInput_1_1MetricParameters_1ad9a314ed7a4c2240938303f076e0bffd" kindref="member">~MetricParameters</ref>();</highlight></codeline>
<codeline lineno="59"><highlight class="normal"></highlight></codeline>
<codeline lineno="60" refid="classUserMetricsInput_1_1MetricParameters_1aa67881b14bd424e2c7f55f00c3aac408" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/>QScopedPointer&lt;MetricParametersPrivate&gt;<sp/><ref refid="classUserMetricsInput_1_1MetricParameters_1aa67881b14bd424e2c7f55f00c3aac408" kindref="member">p</ref>;</highlight></codeline>
<codeline lineno="61"><highlight class="normal">};</highlight></codeline>
<codeline lineno="62"><highlight class="normal"></highlight></codeline>
<codeline lineno="69" refid="classUserMetricsInput_1_1MetricManager" refkind="compound"><highlight class="keyword">class<sp/></highlight><highlight class="normal">Q_DECL_EXPORT<sp/><ref refid="classUserMetricsInput_1_1MetricManager" kindref="compound">MetricManager</ref>:<sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal"><sp/>QObject<sp/>{</highlight></codeline>
<codeline lineno="70"><highlight class="normal"></highlight><highlight class="keyword">public</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="74" refid="classUserMetricsInput_1_1MetricManager_1a00d77a146990407d751b431ab919dda1" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">explicit</highlight><highlight class="normal"><sp/><ref refid="classUserMetricsInput_1_1MetricManager_1a00d77a146990407d751b431ab919dda1" kindref="member">MetricManager</ref>(QObject<sp/>*parent<sp/>=<sp/>0);</highlight></codeline>
<codeline lineno="75"><highlight class="normal"></highlight></codeline>
<codeline lineno="79" refid="classUserMetricsInput_1_1MetricManager_1af65c143f487dfe8288df958a3b2603cd" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">virtual</highlight><highlight class="normal"><sp/><ref refid="classUserMetricsInput_1_1MetricManager_1af65c143f487dfe8288df958a3b2603cd" kindref="member">~MetricManager</ref>();</highlight></codeline>
<codeline lineno="80"><highlight class="normal"></highlight></codeline>
<codeline lineno="86" refid="classUserMetricsInput_1_1MetricManager_1a1634db867ec49218befc231f67c3e4b3" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">static</highlight><highlight class="normal"><sp/><ref refid="classUserMetricsInput_1_1MetricManager" kindref="compound">MetricManager</ref><sp/>*<sp/><ref refid="classUserMetricsInput_1_1MetricManager_1a1634db867ec49218befc231f67c3e4b3" kindref="member">getInstance</ref>();</highlight></codeline>
<codeline lineno="87"><highlight class="normal"></highlight></codeline>
<codeline lineno="100" refid="classUserMetricsInput_1_1MetricManager_1a159787e9b9e291106f21a6b61fb8cfe5" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">virtual</highlight><highlight class="normal"><sp/><ref refid="namespaceUserMetricsInput_1af5d8d34e6e6ea8560855d005f8b8c118" kindref="member">MetricPtr</ref><sp/><ref refid="classUserMetricsInput_1_1MetricManager_1a159787e9b9e291106f21a6b61fb8cfe5" kindref="member">add</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>QString<sp/>&amp;dataSourceId,</highlight></codeline>
<codeline lineno="101"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>QString<sp/>&amp;formatString,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>QString<sp/>&amp;emptyDataString<sp/>=<sp/></highlight><highlight class="stringliteral">&quot;&quot;</highlight><highlight class="normal">,</highlight></codeline>
<codeline lineno="102"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>QString<sp/>&amp;textDomain<sp/>=<sp/></highlight><highlight class="stringliteral">&quot;&quot;</highlight><highlight class="normal">)<sp/>=<sp/>0;</highlight></codeline>
<codeline lineno="103"><highlight class="normal"></highlight></codeline>
<codeline lineno="113" refid="classUserMetricsInput_1_1MetricManager_1a035e35bbaa213ad6a2835762440ed5a7" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">virtual</highlight><highlight class="normal"><sp/><ref refid="namespaceUserMetricsInput_1af5d8d34e6e6ea8560855d005f8b8c118" kindref="member">MetricPtr</ref><sp/><ref refid="classUserMetricsInput_1_1MetricManager_1a035e35bbaa213ad6a2835762440ed5a7" kindref="member">add</ref>(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classUserMetricsInput_1_1MetricParameters" kindref="compound">MetricParameters</ref><sp/>&amp;parameters)<sp/>=<sp/>0;</highlight></codeline>
<codeline lineno="114"><highlight class="normal">};</highlight></codeline>
<codeline lineno="115"><highlight class="normal"></highlight></codeline>
<codeline lineno="138"><highlight class="normal">}</highlight></codeline>
<codeline lineno="139"><highlight class="normal"></highlight></codeline>
<codeline lineno="144"><highlight class="preprocessor">#endif<sp/>//<sp/>USERMETRICSINPUT_METRICMANAGER_H_</highlight></codeline>
    </programlisting>
    <location file="libusermetricsinput/MetricManager.h"/>
  </compounddef>
</doxygen>
