summaryrefslogtreecommitdiffstats
path: root/doc/api-ref/html/d2/d8e
diff options
context:
space:
mode:
Diffstat (limited to 'doc/api-ref/html/d2/d8e')
-rw-r--r--doc/api-ref/html/d2/d8e/class_h_s___client_manager.html670
1 files changed, 670 insertions, 0 deletions
diff --git a/doc/api-ref/html/d2/d8e/class_h_s___client_manager.html b/doc/api-ref/html/d2/d8e/class_h_s___client_manager.html
new file mode 100644
index 0000000..da86b35
--- /dev/null
+++ b/doc/api-ref/html/d2/d8e/class_h_s___client_manager.html
@@ -0,0 +1,670 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.11"/>
+<title>HomeScreenBinding: HS_ClientManager Class Reference</title>
+<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="../../jquery.js"></script>
+<script type="text/javascript" src="../../dynsections.js"></script>
+<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="../../search/searchdata.js"></script>
+<script type="text/javascript" src="../../search/search.js"></script>
+<script type="text/javascript">
+ $(document).ready(function() { init_search(); });
+</script>
+<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">HomeScreenBinding
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.11 -->
+<script type="text/javascript">
+var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
+</script>
+ <div id="navrow1" class="tabs">
+ <ul class="tablist">
+ <li><a href="../../index.html"><span>Main&#160;Page</span></a></li>
+ <li class="current"><a href="../../annotated.html"><span>Classes</span></a></li>
+ <li><a href="../../files.html"><span>Files</span></a></li>
+ <li>
+ <div id="MSearchBox" class="MSearchBoxInactive">
+ <span class="left">
+ <img id="MSearchSelect" src="../../search/mag_sel.png"
+ onmouseover="return searchBox.OnSearchSelectShow()"
+ onmouseout="return searchBox.OnSearchSelectHide()"
+ alt=""/>
+ <input type="text" id="MSearchField" value="Search" accesskey="S"
+ onfocus="searchBox.OnSearchFieldFocus(true)"
+ onblur="searchBox.OnSearchFieldFocus(false)"
+ onkeyup="searchBox.OnSearchFieldChange(event)"/>
+ </span><span class="right">
+ <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="../../search/close.png" alt=""/></a>
+ </span>
+ </div>
+ </li>
+ </ul>
+ </div>
+ <div id="navrow2" class="tabs2">
+ <ul class="tablist">
+ <li><a href="../../annotated.html"><span>Class&#160;List</span></a></li>
+ <li><a href="../../classes.html"><span>Class&#160;Index</span></a></li>
+ <li><a href="../../functions.html"><span>Class&#160;Members</span></a></li>
+ </ul>
+ </div>
+<!-- window showing the filter options -->
+<div id="MSearchSelectWindow"
+ onmouseover="return searchBox.OnSearchSelectShow()"
+ onmouseout="return searchBox.OnSearchSelectHide()"
+ onkeydown="return searchBox.OnSearchSelectKey(event)">
+</div>
+
+<!-- iframe showing the search results (closed by default) -->
+<div id="MSearchResultsWindow">
+<iframe src="javascript:void(0)" frameborder="0"
+ name="MSearchResults" id="MSearchResults">
+</iframe>
+</div>
+
+</div><!-- top -->
+<div class="header">
+ <div class="summary">
+<a href="#pub-methods">Public Member Functions</a> &#124;
+<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
+<a href="../../dd/dc9/class_h_s___client_manager-members.html">List of all members</a> </div>
+ <div class="headertitle">
+<div class="title">HS_ClientManager Class Reference</div> </div>
+</div><!--header-->
+<div class="contents">
+
+<p><code>#include &lt;<a class="el" href="../../de/dca/hs-clientmanager_8h_source.html">hs-clientmanager.h</a>&gt;</code></p>
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
+Public Member Functions</h2></td></tr>
+<tr class="memitem:adac35e476e559cc89bc39363525268bf"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d8e/class_h_s___client_manager.html#adac35e476e559cc89bc39363525268bf">HS_ClientManager</a> ()</td></tr>
+<tr class="separator:adac35e476e559cc89bc39363525268bf"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a50733274a93293fef892fdd453d74cae"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d8e/class_h_s___client_manager.html#a50733274a93293fef892fdd453d74cae">~HS_ClientManager</a> ()=default</td></tr>
+<tr class="separator:a50733274a93293fef892fdd453d74cae"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a0033db6b552f9de818789e76735c1ebc"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d8e/class_h_s___client_manager.html#a0033db6b552f9de818789e76735c1ebc">HS_ClientManager</a> (<a class="el" href="../../d2/d8e/class_h_s___client_manager.html">HS_ClientManager</a> const &amp;)=delete</td></tr>
+<tr class="separator:a0033db6b552f9de818789e76735c1ebc"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:ac8e02cffc79d4530b06e1143abb18891"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d2/d8e/class_h_s___client_manager.html">HS_ClientManager</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d8e/class_h_s___client_manager.html#ac8e02cffc79d4530b06e1143abb18891">operator=</a> (<a class="el" href="../../d2/d8e/class_h_s___client_manager.html">HS_ClientManager</a> const &amp;)=delete</td></tr>
+<tr class="separator:ac8e02cffc79d4530b06e1143abb18891"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a715811c549cccd93cb1f903d179c8b41"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d8e/class_h_s___client_manager.html#a715811c549cccd93cb1f903d179c8b41">HS_ClientManager</a> (<a class="el" href="../../d2/d8e/class_h_s___client_manager.html">HS_ClientManager</a> &amp;&amp;)=delete</td></tr>
+<tr class="separator:a715811c549cccd93cb1f903d179c8b41"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a49e225bb8421c812ac016309d54a00fa"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d2/d8e/class_h_s___client_manager.html">HS_ClientManager</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d8e/class_h_s___client_manager.html#a49e225bb8421c812ac016309d54a00fa">operator=</a> (<a class="el" href="../../d2/d8e/class_h_s___client_manager.html">HS_ClientManager</a> &amp;&amp;)=delete</td></tr>
+<tr class="separator:a49e225bb8421c812ac016309d54a00fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:ae0b9b18adeffca7822b060ad4ea8a7a1"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d8e/class_h_s___client_manager.html#ae0b9b18adeffca7822b060ad4ea8a7a1">init</a> (void)</td></tr>
+<tr class="separator:ae0b9b18adeffca7822b060ad4ea8a7a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:adc23f8b3f5cc06eeab39fb24098af3e2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d8e/class_h_s___client_manager.html#adc23f8b3f5cc06eeab39fb24098af3e2">removeClientCtxt</a> (void *data)</td></tr>
+<tr class="separator:adc23f8b3f5cc06eeab39fb24098af3e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a9910fc27c412530b5b9854b00bd16c07"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d8e/class_h_s___client_manager.html#a9910fc27c412530b5b9854b00bd16c07">tap_shortcut</a> (afb_req_t request)</td></tr>
+<tr class="separator:a9910fc27c412530b5b9854b00bd16c07"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:afed8158f276d1d22c32b0d89e970d442"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d8e/class_h_s___client_manager.html#afed8158f276d1d22c32b0d89e970d442">showWindow</a> (afb_req_t request)</td></tr>
+<tr class="separator:afed8158f276d1d22c32b0d89e970d442"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a6195694d281a3b97b0345b96c0add1fd"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d8e/class_h_s___client_manager.html#a6195694d281a3b97b0345b96c0add1fd">hideWindow</a> (afb_req_t request)</td></tr>
+<tr class="separator:a6195694d281a3b97b0345b96c0add1fd"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a59b1c1e115b5a257a585c41f854f5fdd"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d8e/class_h_s___client_manager.html#a59b1c1e115b5a257a585c41f854f5fdd">replyShowWindow</a> (afb_req_t request)</td></tr>
+<tr class="separator:a59b1c1e115b5a257a585c41f854f5fdd"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a58ce4a013d3694265dd69f481bf88510"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d8e/class_h_s___client_manager.html#a58ce4a013d3694265dd69f481bf88510">on_screen_message</a> (afb_req_t request)</td></tr>
+<tr class="separator:a58ce4a013d3694265dd69f481bf88510"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:aa78f992287e3b8fe93422b331dc9edc5"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d8e/class_h_s___client_manager.html#aa78f992287e3b8fe93422b331dc9edc5">on_screen_reply</a> (afb_req_t request)</td></tr>
+<tr class="separator:aa78f992287e3b8fe93422b331dc9edc5"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a1b8a4e42342c4bcdc4e7dc4934e02469"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d8e/class_h_s___client_manager.html#a1b8a4e42342c4bcdc4e7dc4934e02469">subscribe</a> (afb_req_t request)</td></tr>
+<tr class="separator:a1b8a4e42342c4bcdc4e7dc4934e02469"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:ac86314afbb90116e2f02ce071166226e"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d8e/class_h_s___client_manager.html#ac86314afbb90116e2f02ce071166226e">unsubscribe</a> (afb_req_t request)</td></tr>
+<tr class="separator:ac86314afbb90116e2f02ce071166226e"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a857934af280081ca6ac61d9f2cac37c5"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d8e/class_h_s___client_manager.html#a857934af280081ca6ac61d9f2cac37c5">showNotification</a> (afb_req_t request)</td></tr>
+<tr class="separator:a857934af280081ca6ac61d9f2cac37c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a0645294f89c67fd3c9b0cce62a900f69"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d8e/class_h_s___client_manager.html#a0645294f89c67fd3c9b0cce62a900f69">showInformation</a> (afb_req_t request)</td></tr>
+<tr class="separator:a0645294f89c67fd3c9b0cce62a900f69"><td class="memSeparator" colspan="2">&#160;</td></tr>
+</table><table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
+Static Public Member Functions</h2></td></tr>
+<tr class="memitem:ad86c1fea7d107d52cbf0466fb7a2658b"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="../../d2/d8e/class_h_s___client_manager.html">HS_ClientManager</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d8e/class_h_s___client_manager.html#ad86c1fea7d107d52cbf0466fb7a2658b">instance</a> (void)</td></tr>
+<tr class="separator:ad86c1fea7d107d52cbf0466fb7a2658b"><td class="memSeparator" colspan="2">&#160;</td></tr>
+</table>
+<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
+<div class="textblock">
+<p>Definition at line <a class="el" href="../../de/dca/hs-clientmanager_8h_source.html#l00037">37</a> of file <a class="el" href="../../de/dca/hs-clientmanager_8h_source.html">hs-clientmanager.h</a>.</p>
+</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
+<a class="anchor" id="adac35e476e559cc89bc39363525268bf"></a>
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">HS_ClientManager::HS_ClientManager </td>
+ <td>(</td>
+ <td class="paramname"></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+<p><a class="el" href="../../d2/d8e/class_h_s___client_manager.html">HS_ClientManager</a> construction function</p>
+<h4>Parameters</h4>
+<ul>
+<li>Nothing</li>
+</ul>
+<h4>Return</h4>
+<p>None </p>
+
+<p>Definition at line <a class="el" href="../../dd/d30/hs-clientmanager_8cpp_source.html#l00039">39</a> of file <a class="el" href="../../dd/d30/hs-clientmanager_8cpp_source.html">hs-clientmanager.cpp</a>.</p>
+<div class="fragment"><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;{</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160;}</div></div><!-- fragment -->
+</div>
+</div>
+<a class="anchor" id="a50733274a93293fef892fdd453d74cae"></a>
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">HS_ClientManager::~HS_ClientManager </td>
+ <td>(</td>
+ <td class="paramname"></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">default</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<a class="anchor" id="a0033db6b552f9de818789e76735c1ebc"></a>
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">HS_ClientManager::HS_ClientManager </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="../../d2/d8e/class_h_s___client_manager.html">HS_ClientManager</a> const &amp;&#160;</td>
+ <td class="paramname"></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">delete</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<a class="anchor" id="a715811c549cccd93cb1f903d179c8b41"></a>
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">HS_ClientManager::HS_ClientManager </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="../../d2/d8e/class_h_s___client_manager.html">HS_ClientManager</a> &amp;&amp;&#160;</td>
+ <td class="paramname"></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">delete</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<h2 class="groupheader">Member Function Documentation</h2>
+<a class="anchor" id="a6195694d281a3b97b0345b96c0add1fd"></a>
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int HS_ClientManager::hideWindow </td>
+ <td>(</td>
+ <td class="paramtype">afb_req_t&#160;</td>
+ <td class="paramname"><em>request</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+<p>hideWindow event</p>
+<h4>Parameters</h4>
+<ul>
+<li>request : the request</li>
+</ul>
+<h4>Return</h4>
+<p>0 : success others : fail </p>
+
+<p>Definition at line <a class="el" href="../../dd/d30/hs-clientmanager_8cpp_source.html#l00356">356</a> of file <a class="el" href="../../dd/d30/hs-clientmanager_8cpp_source.html">hs-clientmanager.cpp</a>.</p>
+<div class="fragment"><div class="line"><a name="l00357"></a><span class="lineno"> 357</span>&#160;{</div><div class="line"><a name="l00358"></a><span class="lineno"> 358</span>&#160; <span class="keywordtype">int</span> ret = 0;</div><div class="line"><a name="l00359"></a><span class="lineno"> 359</span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span>* value = afb_req_value(request, <a class="code" href="../../d6/dda/homescreen_8cpp.html#a6a0e1db2562b442f8131ddf64b61d1ba">_application_id</a>);</div><div class="line"><a name="l00360"></a><span class="lineno"> 360</span>&#160; <span class="keywordflow">if</span> (value) {</div><div class="line"><a name="l00361"></a><span class="lineno"> 361</span>&#160; <a class="code" href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a>(<span class="stringliteral">&quot;homescreen-service&quot;</span>,<span class="stringliteral">&quot;request params = %s.&quot;</span>, value);</div><div class="line"><a name="l00362"></a><span class="lineno"> 362</span>&#160; std::lock_guard&lt;std::mutex&gt; lock(this-&gt;mtx);</div><div class="line"><a name="l00363"></a><span class="lineno"> 363</span>&#160; <span class="keyword">auto</span> ip = client_list.find(std::string(value));</div><div class="line"><a name="l00364"></a><span class="lineno"> 364</span>&#160; <span class="keywordflow">if</span>(ip != client_list.end()) {</div><div class="line"><a name="l00365"></a><span class="lineno"> 365</span>&#160; ret = ip-&gt;second-&gt;hideWindow(request);</div><div class="line"><a name="l00366"></a><span class="lineno"> 366</span>&#160; }</div><div class="line"><a name="l00367"></a><span class="lineno"> 367</span>&#160; }</div><div class="line"><a name="l00368"></a><span class="lineno"> 368</span>&#160; <span class="keywordflow">else</span> {</div><div class="line"><a name="l00369"></a><span class="lineno"> 369</span>&#160; <a class="code" href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a>(<span class="stringliteral">&quot;homescreen-service&quot;</span>,<span class="stringliteral">&quot;Please input application_id&quot;</span>);</div><div class="line"><a name="l00370"></a><span class="lineno"> 370</span>&#160; ret = <a class="code" href="../../d3/d3d/hs-helper_8h.html#aa611e2ec24ef295bd87825889fe2ce5e">AFB_EVENT_BAD_REQUEST</a>;</div><div class="line"><a name="l00371"></a><span class="lineno"> 371</span>&#160; }</div><div class="line"><a name="l00372"></a><span class="lineno"> 372</span>&#160; <span class="keywordflow">return</span> ret;</div><div class="line"><a name="l00373"></a><span class="lineno"> 373</span>&#160;}</div><div class="ttc" id="include_2hmi-debug_8h_html_abc0d6e0760017d8ae48b836925b2ef15"><div class="ttname"><a href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a></div><div class="ttdeci">#define HMI_NOTICE(prefix, args,...)</div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d66/include_2hmi-debug_8h_source.html#l00040">hmi-debug.h:40</a></div></div>
+<div class="ttc" id="homescreen_8cpp_html_a6a0e1db2562b442f8131ddf64b61d1ba"><div class="ttname"><a href="../../d6/dda/homescreen_8cpp.html#a6a0e1db2562b442f8131ddf64b61d1ba">_application_id</a></div><div class="ttdeci">const char _application_id[]</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/dda/homescreen_8cpp_source.html#l00028">homescreen.cpp:28</a></div></div>
+<div class="ttc" id="hs-helper_8h_html_aa611e2ec24ef295bd87825889fe2ce5e"><div class="ttname"><a href="../../d3/d3d/hs-helper_8h.html#aa611e2ec24ef295bd87825889fe2ce5e">AFB_EVENT_BAD_REQUEST</a></div><div class="ttdeci">#define AFB_EVENT_BAD_REQUEST</div><div class="ttdef"><b>Definition:</b> <a href="../../d3/d3d/hs-helper_8h_source.html#l00023">hs-helper.h:23</a></div></div>
+</div><!-- fragment -->
+</div>
+</div>
+<a class="anchor" id="ae0b9b18adeffca7822b060ad4ea8a7a1"></a>
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int HS_ClientManager::init </td>
+ <td>(</td>
+ <td class="paramtype">void&#160;</td>
+ <td class="paramname"></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+<p><a class="el" href="../../d2/d8e/class_h_s___client_manager.html">HS_ClientManager</a> init function</p>
+<h4>Parameters</h4>
+<ul>
+<li>Nothing</li>
+</ul>
+<h4>Return</h4>
+<p>init result </p>
+
+<p>Definition at line <a class="el" href="../../dd/d30/hs-clientmanager_8cpp_source.html#l00071">71</a> of file <a class="el" href="../../dd/d30/hs-clientmanager_8cpp_source.html">hs-clientmanager.cpp</a>.</p>
+<div class="fragment"><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160;{</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160; <a class="code" href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a>(<span class="stringliteral">&quot;homescreen-service&quot;</span>,<span class="stringliteral">&quot;called.&quot;</span>);</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160;}</div><div class="ttc" id="include_2hmi-debug_8h_html_abc0d6e0760017d8ae48b836925b2ef15"><div class="ttname"><a href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a></div><div class="ttdeci">#define HMI_NOTICE(prefix, args,...)</div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d66/include_2hmi-debug_8h_source.html#l00040">hmi-debug.h:40</a></div></div>
+</div><!-- fragment -->
+</div>
+</div>
+<a class="anchor" id="ad86c1fea7d107d52cbf0466fb7a2658b"></a>
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname"><a class="el" href="../../d2/d8e/class_h_s___client_manager.html">HS_ClientManager</a> * HS_ClientManager::instance </td>
+ <td>(</td>
+ <td class="paramtype">void&#160;</td>
+ <td class="paramname"></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+<p>get instance</p>
+<h4>Parameters</h4>
+<ul>
+<li>Nothing</li>
+</ul>
+<h4>Return</h4>
+<p><a class="el" href="../../d2/d8e/class_h_s___client_manager.html">HS_ClientManager</a> instance pointer </p>
+
+<p>Definition at line <a class="el" href="../../dd/d30/hs-clientmanager_8cpp_source.html#l00053">53</a> of file <a class="el" href="../../dd/d30/hs-clientmanager_8cpp_source.html">hs-clientmanager.cpp</a>.</p>
+<div class="fragment"><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160;{</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; <span class="keywordflow">if</span>(me == <span class="keyword">nullptr</span>)</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160; me = <span class="keyword">new</span> <a class="code" href="../../d2/d8e/class_h_s___client_manager.html#adac35e476e559cc89bc39363525268bf">HS_ClientManager</a>();</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160;</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160; <span class="keywordflow">return</span> me;</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160;}</div><div class="ttc" id="class_h_s___client_manager_html_adac35e476e559cc89bc39363525268bf"><div class="ttname"><a href="../../d2/d8e/class_h_s___client_manager.html#adac35e476e559cc89bc39363525268bf">HS_ClientManager::HS_ClientManager</a></div><div class="ttdeci">HS_ClientManager()</div><div class="ttdef"><b>Definition:</b> <a href="../../dd/d30/hs-clientmanager_8cpp_source.html#l00039">hs-clientmanager.cpp:39</a></div></div>
+</div><!-- fragment -->
+</div>
+</div>
+<a class="anchor" id="a58ce4a013d3694265dd69f481bf88510"></a>
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int HS_ClientManager::on_screen_message </td>
+ <td>(</td>
+ <td class="paramtype">afb_req_t&#160;</td>
+ <td class="paramname"><em>request</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+<p>on_screen_message</p>
+<h4>Parameters</h4>
+<ul>
+<li>request: the request to bindings</li>
+</ul>
+<h4>Return</h4>
+<p>result </p>
+
+<p>Definition at line <a class="el" href="../../dd/d30/hs-clientmanager_8cpp_source.html#l00195">195</a> of file <a class="el" href="../../dd/d30/hs-clientmanager_8cpp_source.html">hs-clientmanager.cpp</a>.</p>
+<div class="fragment"><div class="line"><a name="l00196"></a><span class="lineno"> 196</span>&#160;{</div><div class="line"><a name="l00197"></a><span class="lineno"> 197</span>&#160; <span class="keywordtype">int</span> ret = 0;</div><div class="line"><a name="l00198"></a><span class="lineno"> 198</span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span>* value = afb_req_value(request, <a class="code" href="../../d6/dda/homescreen_8cpp.html#abfd6c1d6f316fa952b11553f8f275e92">_display_message</a>);</div><div class="line"><a name="l00199"></a><span class="lineno"> 199</span>&#160; <span class="keywordflow">if</span> (value) {</div><div class="line"><a name="l00200"></a><span class="lineno"> 200</span>&#160; <a class="code" href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a>(<span class="stringliteral">&quot;homescreen-service&quot;</span>,<span class="stringliteral">&quot;request params = %s.&quot;</span>, value);</div><div class="line"><a name="l00201"></a><span class="lineno"> 201</span>&#160; std::lock_guard&lt;std::mutex&gt; lock(this-&gt;mtx);</div><div class="line"><a name="l00202"></a><span class="lineno"> 202</span>&#160; <span class="keywordflow">for</span>(<span class="keyword">auto</span> m : client_list) {</div><div class="line"><a name="l00203"></a><span class="lineno"> 203</span>&#160; m.second-&gt;on_screen_message(request, value);</div><div class="line"><a name="l00204"></a><span class="lineno"> 204</span>&#160; }</div><div class="line"><a name="l00205"></a><span class="lineno"> 205</span>&#160; }</div><div class="line"><a name="l00206"></a><span class="lineno"> 206</span>&#160; <span class="keywordflow">else</span> {</div><div class="line"><a name="l00207"></a><span class="lineno"> 207</span>&#160; <a class="code" href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a>(<span class="stringliteral">&quot;homescreen-service&quot;</span>,<span class="stringliteral">&quot;Please input display_message&quot;</span>);</div><div class="line"><a name="l00208"></a><span class="lineno"> 208</span>&#160; ret = <a class="code" href="../../d3/d3d/hs-helper_8h.html#aa611e2ec24ef295bd87825889fe2ce5e">AFB_EVENT_BAD_REQUEST</a>;</div><div class="line"><a name="l00209"></a><span class="lineno"> 209</span>&#160; }</div><div class="line"><a name="l00210"></a><span class="lineno"> 210</span>&#160; <span class="keywordflow">return</span> ret;</div><div class="line"><a name="l00211"></a><span class="lineno"> 211</span>&#160;}</div><div class="ttc" id="include_2hmi-debug_8h_html_abc0d6e0760017d8ae48b836925b2ef15"><div class="ttname"><a href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a></div><div class="ttdeci">#define HMI_NOTICE(prefix, args,...)</div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d66/include_2hmi-debug_8h_source.html#l00040">hmi-debug.h:40</a></div></div>
+<div class="ttc" id="homescreen_8cpp_html_abfd6c1d6f316fa952b11553f8f275e92"><div class="ttname"><a href="../../d6/dda/homescreen_8cpp.html#abfd6c1d6f316fa952b11553f8f275e92">_display_message</a></div><div class="ttdeci">const char _display_message[]</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/dda/homescreen_8cpp_source.html#l00029">homescreen.cpp:29</a></div></div>
+<div class="ttc" id="hs-helper_8h_html_aa611e2ec24ef295bd87825889fe2ce5e"><div class="ttname"><a href="../../d3/d3d/hs-helper_8h.html#aa611e2ec24ef295bd87825889fe2ce5e">AFB_EVENT_BAD_REQUEST</a></div><div class="ttdeci">#define AFB_EVENT_BAD_REQUEST</div><div class="ttdef"><b>Definition:</b> <a href="../../d3/d3d/hs-helper_8h_source.html#l00023">hs-helper.h:23</a></div></div>
+</div><!-- fragment -->
+</div>
+</div>
+<a class="anchor" id="aa78f992287e3b8fe93422b331dc9edc5"></a>
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int HS_ClientManager::on_screen_reply </td>
+ <td>(</td>
+ <td class="paramtype">afb_req_t&#160;</td>
+ <td class="paramname"><em>request</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+<p>on_screen_reply</p>
+<h4>Parameters</h4>
+<ul>
+<li>request: the request to bindings</li>
+</ul>
+<h4>Return</h4>
+<p>result </p>
+
+<p>Definition at line <a class="el" href="../../dd/d30/hs-clientmanager_8cpp_source.html#l00223">223</a> of file <a class="el" href="../../dd/d30/hs-clientmanager_8cpp_source.html">hs-clientmanager.cpp</a>.</p>
+<div class="fragment"><div class="line"><a name="l00224"></a><span class="lineno"> 224</span>&#160;{</div><div class="line"><a name="l00225"></a><span class="lineno"> 225</span>&#160; <span class="keywordtype">int</span> ret = 0;</div><div class="line"><a name="l00226"></a><span class="lineno"> 226</span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span>* value = afb_req_value(request, <a class="code" href="../../d6/dda/homescreen_8cpp.html#a79b0f0b481161527ccb80e83da143219">_reply_message</a>);</div><div class="line"><a name="l00227"></a><span class="lineno"> 227</span>&#160; <span class="keywordflow">if</span> (value) {</div><div class="line"><a name="l00228"></a><span class="lineno"> 228</span>&#160; <a class="code" href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a>(<span class="stringliteral">&quot;homescreen-service&quot;</span>,<span class="stringliteral">&quot;request params = %s.&quot;</span>, value);</div><div class="line"><a name="l00229"></a><span class="lineno"> 229</span>&#160; std::lock_guard&lt;std::mutex&gt; lock(this-&gt;mtx);</div><div class="line"><a name="l00230"></a><span class="lineno"> 230</span>&#160; <span class="keywordflow">for</span>(<span class="keyword">auto</span> m : client_list) {</div><div class="line"><a name="l00231"></a><span class="lineno"> 231</span>&#160; m.second-&gt;on_screen_reply(request, value);</div><div class="line"><a name="l00232"></a><span class="lineno"> 232</span>&#160; }</div><div class="line"><a name="l00233"></a><span class="lineno"> 233</span>&#160; }</div><div class="line"><a name="l00234"></a><span class="lineno"> 234</span>&#160; <span class="keywordflow">else</span> {</div><div class="line"><a name="l00235"></a><span class="lineno"> 235</span>&#160; <a class="code" href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a>(<span class="stringliteral">&quot;homescreen-service&quot;</span>,<span class="stringliteral">&quot;Please input reply_message&quot;</span>);</div><div class="line"><a name="l00236"></a><span class="lineno"> 236</span>&#160; ret = <a class="code" href="../../d3/d3d/hs-helper_8h.html#aa611e2ec24ef295bd87825889fe2ce5e">AFB_EVENT_BAD_REQUEST</a>;</div><div class="line"><a name="l00237"></a><span class="lineno"> 237</span>&#160; }</div><div class="line"><a name="l00238"></a><span class="lineno"> 238</span>&#160; <span class="keywordflow">return</span> ret;</div><div class="line"><a name="l00239"></a><span class="lineno"> 239</span>&#160;}</div><div class="ttc" id="homescreen_8cpp_html_a79b0f0b481161527ccb80e83da143219"><div class="ttname"><a href="../../d6/dda/homescreen_8cpp.html#a79b0f0b481161527ccb80e83da143219">_reply_message</a></div><div class="ttdeci">const char _reply_message[]</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/dda/homescreen_8cpp_source.html#l00030">homescreen.cpp:30</a></div></div>
+<div class="ttc" id="include_2hmi-debug_8h_html_abc0d6e0760017d8ae48b836925b2ef15"><div class="ttname"><a href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a></div><div class="ttdeci">#define HMI_NOTICE(prefix, args,...)</div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d66/include_2hmi-debug_8h_source.html#l00040">hmi-debug.h:40</a></div></div>
+<div class="ttc" id="hs-helper_8h_html_aa611e2ec24ef295bd87825889fe2ce5e"><div class="ttname"><a href="../../d3/d3d/hs-helper_8h.html#aa611e2ec24ef295bd87825889fe2ce5e">AFB_EVENT_BAD_REQUEST</a></div><div class="ttdeci">#define AFB_EVENT_BAD_REQUEST</div><div class="ttdef"><b>Definition:</b> <a href="../../d3/d3d/hs-helper_8h_source.html#l00023">hs-helper.h:23</a></div></div>
+</div><!-- fragment -->
+</div>
+</div>
+<a class="anchor" id="ac8e02cffc79d4530b06e1143abb18891"></a>
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname"><a class="el" href="../../d2/d8e/class_h_s___client_manager.html">HS_ClientManager</a>&amp; HS_ClientManager::operator= </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="../../d2/d8e/class_h_s___client_manager.html">HS_ClientManager</a> const &amp;&#160;</td>
+ <td class="paramname"></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">delete</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<a class="anchor" id="a49e225bb8421c812ac016309d54a00fa"></a>
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname"><a class="el" href="../../d2/d8e/class_h_s___client_manager.html">HS_ClientManager</a>&amp; HS_ClientManager::operator= </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="../../d2/d8e/class_h_s___client_manager.html">HS_ClientManager</a> &amp;&amp;&#160;</td>
+ <td class="paramname"></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">delete</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<a class="anchor" id="adc23f8b3f5cc06eeab39fb24098af3e2"></a>
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void HS_ClientManager::removeClientCtxt </td>
+ <td>(</td>
+ <td class="paramtype">void *&#160;</td>
+ <td class="paramname"><em>data</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+<p>remove Client from list</p>
+<h4>Parameters</h4>
+<ul>
+<li>data: <a class="el" href="../../d0/d53/struct_h_s___client_ctxt.html">HS_ClientCtxt</a> pointer</li>
+</ul>
+<h4>Return</h4>
+<p>None </p>
+
+<p>Definition at line <a class="el" href="../../dd/d30/hs-clientmanager_8cpp_source.html#l00140">140</a> of file <a class="el" href="../../dd/d30/hs-clientmanager_8cpp_source.html">hs-clientmanager.cpp</a>.</p>
+<div class="fragment"><div class="line"><a name="l00141"></a><span class="lineno"> 141</span>&#160;{</div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span>&#160; <a class="code" href="../../d0/d53/struct_h_s___client_ctxt.html">HS_ClientCtxt</a> *ctxt = (<a class="code" href="../../d0/d53/struct_h_s___client_ctxt.html">HS_ClientCtxt</a> *)data;</div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160; <span class="keywordflow">if</span>(ctxt == <span class="keyword">nullptr</span>)</div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span>&#160; {</div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160; <a class="code" href="../../d2/d66/include_2hmi-debug_8h.html#a65bb6c7cfe38f8a724beab5059d36fb2">HMI_ERROR</a>(<span class="stringliteral">&quot;homescreen-service&quot;</span>, <span class="stringliteral">&quot;data is nullptr&quot;</span>);</div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160; <span class="keywordflow">return</span>;</div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160; }</div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span>&#160;</div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160; <a class="code" href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a>(<span class="stringliteral">&quot;homescreen-service&quot;</span>, <span class="stringliteral">&quot;remove app %s&quot;</span>, ctxt-&gt;<a class="code" href="../../d0/d53/struct_h_s___client_ctxt.html#a04929d7d5f583a821d3d594815f77d1c">id</a>.c_str());</div><div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160; std::lock_guard&lt;std::mutex&gt; lock(this-&gt;mtx);</div><div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160; removeClient(ctxt-&gt;<a class="code" href="../../d0/d53/struct_h_s___client_ctxt.html#a04929d7d5f583a821d3d594815f77d1c">id</a>);</div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160; <span class="keyword">delete</span> appid2ctxt[ctxt-&gt;<a class="code" href="../../d0/d53/struct_h_s___client_ctxt.html#a04929d7d5f583a821d3d594815f77d1c">id</a>];</div><div class="line"><a name="l00153"></a><span class="lineno"> 153</span>&#160; appid2ctxt.erase(ctxt-&gt;<a class="code" href="../../d0/d53/struct_h_s___client_ctxt.html#a04929d7d5f583a821d3d594815f77d1c">id</a>);</div><div class="line"><a name="l00154"></a><span class="lineno"> 154</span>&#160;}</div><div class="ttc" id="struct_h_s___client_ctxt_html"><div class="ttname"><a href="../../d0/d53/struct_h_s___client_ctxt.html">HS_ClientCtxt</a></div><div class="ttdef"><b>Definition:</b> <a href="../../de/dca/hs-clientmanager_8h_source.html#l00027">hs-clientmanager.h:27</a></div></div>
+<div class="ttc" id="include_2hmi-debug_8h_html_abc0d6e0760017d8ae48b836925b2ef15"><div class="ttname"><a href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a></div><div class="ttdeci">#define HMI_NOTICE(prefix, args,...)</div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d66/include_2hmi-debug_8h_source.html#l00040">hmi-debug.h:40</a></div></div>
+<div class="ttc" id="struct_h_s___client_ctxt_html_a04929d7d5f583a821d3d594815f77d1c"><div class="ttname"><a href="../../d0/d53/struct_h_s___client_ctxt.html#a04929d7d5f583a821d3d594815f77d1c">HS_ClientCtxt::id</a></div><div class="ttdeci">std::string id</div><div class="ttdef"><b>Definition:</b> <a href="../../de/dca/hs-clientmanager_8h_source.html#l00029">hs-clientmanager.h:29</a></div></div>
+<div class="ttc" id="include_2hmi-debug_8h_html_a65bb6c7cfe38f8a724beab5059d36fb2"><div class="ttname"><a href="../../d2/d66/include_2hmi-debug_8h.html#a65bb6c7cfe38f8a724beab5059d36fb2">HMI_ERROR</a></div><div class="ttdeci">#define HMI_ERROR(prefix, args,...)</div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d66/include_2hmi-debug_8h_source.html#l00038">hmi-debug.h:38</a></div></div>
+</div><!-- fragment -->
+</div>
+</div>
+<a class="anchor" id="a59b1c1e115b5a257a585c41f854f5fdd"></a>
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int HS_ClientManager::replyShowWindow </td>
+ <td>(</td>
+ <td class="paramtype">afb_req_t&#160;</td>
+ <td class="paramname"><em>request</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+<p>replyShowWindow event</p>
+<h4>Parameters</h4>
+<ul>
+<li>request : the request</li>
+</ul>
+<h4>Return</h4>
+<p>0 : success others : fail </p>
+
+<p>Definition at line <a class="el" href="../../dd/d30/hs-clientmanager_8cpp_source.html#l00386">386</a> of file <a class="el" href="../../dd/d30/hs-clientmanager_8cpp_source.html">hs-clientmanager.cpp</a>.</p>
+<div class="fragment"><div class="line"><a name="l00387"></a><span class="lineno"> 387</span>&#160;{</div><div class="line"><a name="l00388"></a><span class="lineno"> 388</span>&#160; <span class="keywordtype">int</span> ret = 0;</div><div class="line"><a name="l00389"></a><span class="lineno"> 389</span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span>* value = afb_req_value(request, <a class="code" href="../../d6/dda/homescreen_8cpp.html#a6a0e1db2562b442f8131ddf64b61d1ba">_application_id</a>);</div><div class="line"><a name="l00390"></a><span class="lineno"> 390</span>&#160; <span class="keywordflow">if</span> (value) {</div><div class="line"><a name="l00391"></a><span class="lineno"> 391</span>&#160; <a class="code" href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a>(<span class="stringliteral">&quot;homescreen-service&quot;</span>,<span class="stringliteral">&quot;request params = %s.&quot;</span>, value);</div><div class="line"><a name="l00392"></a><span class="lineno"> 392</span>&#160; std::lock_guard&lt;std::mutex&gt; lock(this-&gt;mtx);</div><div class="line"><a name="l00393"></a><span class="lineno"> 393</span>&#160; <span class="keyword">auto</span> ip = client_list.find(std::string(value));</div><div class="line"><a name="l00394"></a><span class="lineno"> 394</span>&#160; <span class="keywordflow">if</span>(ip != client_list.end()) {</div><div class="line"><a name="l00395"></a><span class="lineno"> 395</span>&#160; ret = ip-&gt;second-&gt;replyShowWindow(request, value);</div><div class="line"><a name="l00396"></a><span class="lineno"> 396</span>&#160; }</div><div class="line"><a name="l00397"></a><span class="lineno"> 397</span>&#160; }</div><div class="line"><a name="l00398"></a><span class="lineno"> 398</span>&#160; <span class="keywordflow">else</span> {</div><div class="line"><a name="l00399"></a><span class="lineno"> 399</span>&#160; <a class="code" href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a>(<span class="stringliteral">&quot;homescreen-service&quot;</span>,<span class="stringliteral">&quot;Please input application_id&quot;</span>);</div><div class="line"><a name="l00400"></a><span class="lineno"> 400</span>&#160; ret = <a class="code" href="../../d3/d3d/hs-helper_8h.html#aa611e2ec24ef295bd87825889fe2ce5e">AFB_EVENT_BAD_REQUEST</a>;</div><div class="line"><a name="l00401"></a><span class="lineno"> 401</span>&#160; }</div><div class="line"><a name="l00402"></a><span class="lineno"> 402</span>&#160; <span class="keywordflow">return</span> ret;</div><div class="line"><a name="l00403"></a><span class="lineno"> 403</span>&#160;}</div><div class="ttc" id="include_2hmi-debug_8h_html_abc0d6e0760017d8ae48b836925b2ef15"><div class="ttname"><a href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a></div><div class="ttdeci">#define HMI_NOTICE(prefix, args,...)</div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d66/include_2hmi-debug_8h_source.html#l00040">hmi-debug.h:40</a></div></div>
+<div class="ttc" id="homescreen_8cpp_html_a6a0e1db2562b442f8131ddf64b61d1ba"><div class="ttname"><a href="../../d6/dda/homescreen_8cpp.html#a6a0e1db2562b442f8131ddf64b61d1ba">_application_id</a></div><div class="ttdeci">const char _application_id[]</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/dda/homescreen_8cpp_source.html#l00028">homescreen.cpp:28</a></div></div>
+<div class="ttc" id="hs-helper_8h_html_aa611e2ec24ef295bd87825889fe2ce5e"><div class="ttname"><a href="../../d3/d3d/hs-helper_8h.html#aa611e2ec24ef295bd87825889fe2ce5e">AFB_EVENT_BAD_REQUEST</a></div><div class="ttdeci">#define AFB_EVENT_BAD_REQUEST</div><div class="ttdef"><b>Definition:</b> <a href="../../d3/d3d/hs-helper_8h_source.html#l00023">hs-helper.h:23</a></div></div>
+</div><!-- fragment -->
+</div>
+</div>
+<a class="anchor" id="a0645294f89c67fd3c9b0cce62a900f69"></a>
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int HS_ClientManager::showInformation </td>
+ <td>(</td>
+ <td class="paramtype">afb_req_t&#160;</td>
+ <td class="paramname"><em>request</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+<p>showInformation event</p>
+<h4>Parameters</h4>
+<ul>
+<li>request : the request</li>
+</ul>
+<h4>Return</h4>
+<p>0 : success others : fail </p>
+
+<p>Definition at line <a class="el" href="../../dd/d30/hs-clientmanager_8cpp_source.html#l00443">443</a> of file <a class="el" href="../../dd/d30/hs-clientmanager_8cpp_source.html">hs-clientmanager.cpp</a>.</p>
+<div class="fragment"><div class="line"><a name="l00444"></a><span class="lineno"> 444</span>&#160;{</div><div class="line"><a name="l00445"></a><span class="lineno"> 445</span>&#160; <span class="keywordtype">int</span> ret = 0;</div><div class="line"><a name="l00446"></a><span class="lineno"> 446</span>&#160; std::lock_guard&lt;std::mutex&gt; lock(this-&gt;mtx);</div><div class="line"><a name="l00447"></a><span class="lineno"> 447</span>&#160; <span class="keyword">auto</span> ip = client_list.find(<a class="code" href="../../dd/d30/hs-clientmanager_8cpp.html#a8bbab9002543614eacdc7a319d13a476">_homescreen</a>);</div><div class="line"><a name="l00448"></a><span class="lineno"> 448</span>&#160; <span class="keywordflow">if</span>(ip != client_list.end()) {</div><div class="line"><a name="l00449"></a><span class="lineno"> 449</span>&#160; ret = ip-&gt;second-&gt;showInformation(request);</div><div class="line"><a name="l00450"></a><span class="lineno"> 450</span>&#160; }</div><div class="line"><a name="l00451"></a><span class="lineno"> 451</span>&#160; <span class="keywordflow">else</span> {</div><div class="line"><a name="l00452"></a><span class="lineno"> 452</span>&#160; <a class="code" href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a>(<span class="stringliteral">&quot;homescreen-service&quot;</span>,<span class="stringliteral">&quot;not exist sessiion with homescreen&quot;</span>);</div><div class="line"><a name="l00453"></a><span class="lineno"> 453</span>&#160; ret = <a class="code" href="../../d3/d3d/hs-helper_8h.html#aefe0d7ff8202f954693c235c1fb8e310">AFB_REQ_SHOWINFORMATION_ERROR</a>;</div><div class="line"><a name="l00454"></a><span class="lineno"> 454</span>&#160; }</div><div class="line"><a name="l00455"></a><span class="lineno"> 455</span>&#160;</div><div class="line"><a name="l00456"></a><span class="lineno"> 456</span>&#160; <span class="keywordflow">return</span> ret;</div><div class="line"><a name="l00457"></a><span class="lineno"> 457</span>&#160;}</div><div class="ttc" id="include_2hmi-debug_8h_html_abc0d6e0760017d8ae48b836925b2ef15"><div class="ttname"><a href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a></div><div class="ttdeci">#define HMI_NOTICE(prefix, args,...)</div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d66/include_2hmi-debug_8h_source.html#l00040">hmi-debug.h:40</a></div></div>
+<div class="ttc" id="hs-clientmanager_8cpp_html_a8bbab9002543614eacdc7a319d13a476"><div class="ttname"><a href="../../dd/d30/hs-clientmanager_8cpp.html#a8bbab9002543614eacdc7a319d13a476">_homescreen</a></div><div class="ttdeci">static const char _homescreen[]</div><div class="ttdef"><b>Definition:</b> <a href="../../dd/d30/hs-clientmanager_8cpp_source.html#l00020">hs-clientmanager.cpp:20</a></div></div>
+<div class="ttc" id="hs-helper_8h_html_aefe0d7ff8202f954693c235c1fb8e310"><div class="ttname"><a href="../../d3/d3d/hs-helper_8h.html#aefe0d7ff8202f954693c235c1fb8e310">AFB_REQ_SHOWINFORMATION_ERROR</a></div><div class="ttdeci">#define AFB_REQ_SHOWINFORMATION_ERROR</div><div class="ttdef"><b>Definition:</b> <a href="../../d3/d3d/hs-helper_8h_source.html#l00027">hs-helper.h:27</a></div></div>
+</div><!-- fragment -->
+</div>
+</div>
+<a class="anchor" id="a857934af280081ca6ac61d9f2cac37c5"></a>
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int HS_ClientManager::showNotification </td>
+ <td>(</td>
+ <td class="paramtype">afb_req_t&#160;</td>
+ <td class="paramname"><em>request</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+<p>showNotification event</p>
+<h4>Parameters</h4>
+<ul>
+<li>request : the request</li>
+</ul>
+<h4>Return</h4>
+<p>0 : success others : fail </p>
+
+<p>Definition at line <a class="el" href="../../dd/d30/hs-clientmanager_8cpp_source.html#l00416">416</a> of file <a class="el" href="../../dd/d30/hs-clientmanager_8cpp_source.html">hs-clientmanager.cpp</a>.</p>
+<div class="fragment"><div class="line"><a name="l00417"></a><span class="lineno"> 417</span>&#160;{</div><div class="line"><a name="l00418"></a><span class="lineno"> 418</span>&#160; <span class="keywordtype">int</span> ret = 0;</div><div class="line"><a name="l00419"></a><span class="lineno"> 419</span>&#160; std::lock_guard&lt;std::mutex&gt; lock(this-&gt;mtx);</div><div class="line"><a name="l00420"></a><span class="lineno"> 420</span>&#160; <span class="keyword">auto</span> ip = client_list.find(<a class="code" href="../../dd/d30/hs-clientmanager_8cpp.html#a8bbab9002543614eacdc7a319d13a476">_homescreen</a>);</div><div class="line"><a name="l00421"></a><span class="lineno"> 421</span>&#160; <span class="keywordflow">if</span>(ip != client_list.end()) {</div><div class="line"><a name="l00422"></a><span class="lineno"> 422</span>&#160; ret = ip-&gt;second-&gt;showNotification(request);</div><div class="line"><a name="l00423"></a><span class="lineno"> 423</span>&#160; }</div><div class="line"><a name="l00424"></a><span class="lineno"> 424</span>&#160; <span class="keywordflow">else</span> {</div><div class="line"><a name="l00425"></a><span class="lineno"> 425</span>&#160; <a class="code" href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a>(<span class="stringliteral">&quot;homescreen-service&quot;</span>,<span class="stringliteral">&quot;not exist sessiion with homescreen&quot;</span>);</div><div class="line"><a name="l00426"></a><span class="lineno"> 426</span>&#160; ret = <a class="code" href="../../d3/d3d/hs-helper_8h.html#a057fc88b8445828c261305cf9107d99d">AFB_REQ_SHOWNOTIFICATION_ERROR</a>;</div><div class="line"><a name="l00427"></a><span class="lineno"> 427</span>&#160; }</div><div class="line"><a name="l00428"></a><span class="lineno"> 428</span>&#160;</div><div class="line"><a name="l00429"></a><span class="lineno"> 429</span>&#160; <span class="keywordflow">return</span> ret;</div><div class="line"><a name="l00430"></a><span class="lineno"> 430</span>&#160;}</div><div class="ttc" id="hs-helper_8h_html_a057fc88b8445828c261305cf9107d99d"><div class="ttname"><a href="../../d3/d3d/hs-helper_8h.html#a057fc88b8445828c261305cf9107d99d">AFB_REQ_SHOWNOTIFICATION_ERROR</a></div><div class="ttdeci">#define AFB_REQ_SHOWNOTIFICATION_ERROR</div><div class="ttdef"><b>Definition:</b> <a href="../../d3/d3d/hs-helper_8h_source.html#l00026">hs-helper.h:26</a></div></div>
+<div class="ttc" id="include_2hmi-debug_8h_html_abc0d6e0760017d8ae48b836925b2ef15"><div class="ttname"><a href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a></div><div class="ttdeci">#define HMI_NOTICE(prefix, args,...)</div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d66/include_2hmi-debug_8h_source.html#l00040">hmi-debug.h:40</a></div></div>
+<div class="ttc" id="hs-clientmanager_8cpp_html_a8bbab9002543614eacdc7a319d13a476"><div class="ttname"><a href="../../dd/d30/hs-clientmanager_8cpp.html#a8bbab9002543614eacdc7a319d13a476">_homescreen</a></div><div class="ttdeci">static const char _homescreen[]</div><div class="ttdef"><b>Definition:</b> <a href="../../dd/d30/hs-clientmanager_8cpp_source.html#l00020">hs-clientmanager.cpp:20</a></div></div>
+</div><!-- fragment -->
+</div>
+</div>
+<a class="anchor" id="afed8158f276d1d22c32b0d89e970d442"></a>
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int HS_ClientManager::showWindow </td>
+ <td>(</td>
+ <td class="paramtype">afb_req_t&#160;</td>
+ <td class="paramname"><em>request</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+<p>showWindow event</p>
+<h4>Parameters</h4>
+<ul>
+<li>request : the request</li>
+</ul>
+<h4>Return</h4>
+<p>0 : success others : fail </p>
+
+<p>Definition at line <a class="el" href="../../dd/d30/hs-clientmanager_8cpp_source.html#l00326">326</a> of file <a class="el" href="../../dd/d30/hs-clientmanager_8cpp_source.html">hs-clientmanager.cpp</a>.</p>
+<div class="fragment"><div class="line"><a name="l00327"></a><span class="lineno"> 327</span>&#160;{</div><div class="line"><a name="l00328"></a><span class="lineno"> 328</span>&#160; <span class="keywordtype">int</span> ret = 0;</div><div class="line"><a name="l00329"></a><span class="lineno"> 329</span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span>* value = afb_req_value(request, <a class="code" href="../../d6/dda/homescreen_8cpp.html#a6a0e1db2562b442f8131ddf64b61d1ba">_application_id</a>);</div><div class="line"><a name="l00330"></a><span class="lineno"> 330</span>&#160; <span class="keywordflow">if</span> (value) {</div><div class="line"><a name="l00331"></a><span class="lineno"> 331</span>&#160; <a class="code" href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a>(<span class="stringliteral">&quot;homescreen-service&quot;</span>,<span class="stringliteral">&quot;request params = %s.&quot;</span>, value);</div><div class="line"><a name="l00332"></a><span class="lineno"> 332</span>&#160; std::lock_guard&lt;std::mutex&gt; lock(this-&gt;mtx);</div><div class="line"><a name="l00333"></a><span class="lineno"> 333</span>&#160; <span class="keyword">auto</span> ip = client_list.find(std::string(value));</div><div class="line"><a name="l00334"></a><span class="lineno"> 334</span>&#160; <span class="keywordflow">if</span>(ip != client_list.end()) {</div><div class="line"><a name="l00335"></a><span class="lineno"> 335</span>&#160; ret = ip-&gt;second-&gt;showWindow(request, value);</div><div class="line"><a name="l00336"></a><span class="lineno"> 336</span>&#160; }</div><div class="line"><a name="l00337"></a><span class="lineno"> 337</span>&#160; }</div><div class="line"><a name="l00338"></a><span class="lineno"> 338</span>&#160; <span class="keywordflow">else</span> {</div><div class="line"><a name="l00339"></a><span class="lineno"> 339</span>&#160; <a class="code" href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a>(<span class="stringliteral">&quot;homescreen-service&quot;</span>,<span class="stringliteral">&quot;Please input application_id&quot;</span>);</div><div class="line"><a name="l00340"></a><span class="lineno"> 340</span>&#160; ret = <a class="code" href="../../d3/d3d/hs-helper_8h.html#aa611e2ec24ef295bd87825889fe2ce5e">AFB_EVENT_BAD_REQUEST</a>;</div><div class="line"><a name="l00341"></a><span class="lineno"> 341</span>&#160; }</div><div class="line"><a name="l00342"></a><span class="lineno"> 342</span>&#160; <span class="keywordflow">return</span> ret;</div><div class="line"><a name="l00343"></a><span class="lineno"> 343</span>&#160;}</div><div class="ttc" id="include_2hmi-debug_8h_html_abc0d6e0760017d8ae48b836925b2ef15"><div class="ttname"><a href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a></div><div class="ttdeci">#define HMI_NOTICE(prefix, args,...)</div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d66/include_2hmi-debug_8h_source.html#l00040">hmi-debug.h:40</a></div></div>
+<div class="ttc" id="homescreen_8cpp_html_a6a0e1db2562b442f8131ddf64b61d1ba"><div class="ttname"><a href="../../d6/dda/homescreen_8cpp.html#a6a0e1db2562b442f8131ddf64b61d1ba">_application_id</a></div><div class="ttdeci">const char _application_id[]</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/dda/homescreen_8cpp_source.html#l00028">homescreen.cpp:28</a></div></div>
+<div class="ttc" id="hs-helper_8h_html_aa611e2ec24ef295bd87825889fe2ce5e"><div class="ttname"><a href="../../d3/d3d/hs-helper_8h.html#aa611e2ec24ef295bd87825889fe2ce5e">AFB_EVENT_BAD_REQUEST</a></div><div class="ttdeci">#define AFB_EVENT_BAD_REQUEST</div><div class="ttdef"><b>Definition:</b> <a href="../../d3/d3d/hs-helper_8h_source.html#l00023">hs-helper.h:23</a></div></div>
+</div><!-- fragment -->
+</div>
+</div>
+<a class="anchor" id="a1b8a4e42342c4bcdc4e7dc4934e02469"></a>
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int HS_ClientManager::subscribe </td>
+ <td>(</td>
+ <td class="paramtype">afb_req_t&#160;</td>
+ <td class="paramname"><em>request</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+<p>subscribe</p>
+<h4>Parameters</h4>
+<ul>
+<li>request: the request to bindings</li>
+</ul>
+<h4>Return</h4>
+<p>result </p>
+
+<p>Definition at line <a class="el" href="../../dd/d30/hs-clientmanager_8cpp_source.html#l00251">251</a> of file <a class="el" href="../../dd/d30/hs-clientmanager_8cpp_source.html">hs-clientmanager.cpp</a>.</p>
+<div class="fragment"><div class="line"><a name="l00252"></a><span class="lineno"> 252</span>&#160;{</div><div class="line"><a name="l00253"></a><span class="lineno"> 253</span>&#160; <span class="keywordtype">int</span> ret = 0;</div><div class="line"><a name="l00254"></a><span class="lineno"> 254</span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span> *value = afb_req_value(request, <span class="stringliteral">&quot;event&quot;</span>);</div><div class="line"><a name="l00255"></a><span class="lineno"> 255</span>&#160; <a class="code" href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a>(<span class="stringliteral">&quot;homescreen-service&quot;</span>,<span class="stringliteral">&quot;value is %s&quot;</span>, value);</div><div class="line"><a name="l00256"></a><span class="lineno"> 256</span>&#160; <span class="keywordflow">if</span>(value) {</div><div class="line"><a name="l00257"></a><span class="lineno"> 257</span>&#160; std::string appid(afb_req_get_application_id(request));</div><div class="line"><a name="l00258"></a><span class="lineno"> 258</span>&#160; std::lock_guard&lt;std::mutex&gt; lock(this-&gt;mtx);</div><div class="line"><a name="l00259"></a><span class="lineno"> 259</span>&#160;</div><div class="line"><a name="l00260"></a><span class="lineno"> 260</span>&#160; <a class="code" href="../../d5/d20/class_h_s___client.html">HS_Client</a>* client = <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00261"></a><span class="lineno"> 261</span>&#160; <span class="keyword">auto</span> ip = client_list.find(appid);</div><div class="line"><a name="l00262"></a><span class="lineno"> 262</span>&#160; <span class="keywordflow">if</span>(ip != client_list.end()) {</div><div class="line"><a name="l00263"></a><span class="lineno"> 263</span>&#160; client = client_list[appid];</div><div class="line"><a name="l00264"></a><span class="lineno"> 264</span>&#160; }</div><div class="line"><a name="l00265"></a><span class="lineno"> 265</span>&#160; <span class="keywordflow">else</span> {</div><div class="line"><a name="l00266"></a><span class="lineno"> 266</span>&#160; appid2ctxt[appid] = createClientCtxt(request, appid);</div><div class="line"><a name="l00267"></a><span class="lineno"> 267</span>&#160; client = addClient(request, appid);</div><div class="line"><a name="l00268"></a><span class="lineno"> 268</span>&#160; }</div><div class="line"><a name="l00269"></a><span class="lineno"> 269</span>&#160;</div><div class="line"><a name="l00270"></a><span class="lineno"> 270</span>&#160; <span class="keywordflow">if</span>(client-&gt;<a class="code" href="../../d5/d20/class_h_s___client.html#a3d000ca70bd4a8af7c4895d95bc7d0d0">subscribe</a>(request, value) != 0) {</div><div class="line"><a name="l00271"></a><span class="lineno"> 271</span>&#160; <a class="code" href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a>(<span class="stringliteral">&quot;homescreen-service&quot;</span>,<span class="stringliteral">&quot;subscribe failed&quot;</span>);</div><div class="line"><a name="l00272"></a><span class="lineno"> 272</span>&#160; ret = <a class="code" href="../../d3/d3d/hs-helper_8h.html#a995612de89db4df1483c16e4b9b70571">AFB_REQ_SUBSCRIBE_ERROR</a>;</div><div class="line"><a name="l00273"></a><span class="lineno"> 273</span>&#160; }</div><div class="line"><a name="l00274"></a><span class="lineno"> 274</span>&#160; }</div><div class="line"><a name="l00275"></a><span class="lineno"> 275</span>&#160; <span class="keywordflow">else</span> {</div><div class="line"><a name="l00276"></a><span class="lineno"> 276</span>&#160; <a class="code" href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a>(<span class="stringliteral">&quot;homescreen-service&quot;</span>,<span class="stringliteral">&quot;Please input event name&quot;</span>);</div><div class="line"><a name="l00277"></a><span class="lineno"> 277</span>&#160; ret = <a class="code" href="../../d3/d3d/hs-helper_8h.html#aa611e2ec24ef295bd87825889fe2ce5e">AFB_EVENT_BAD_REQUEST</a>;</div><div class="line"><a name="l00278"></a><span class="lineno"> 278</span>&#160; }</div><div class="line"><a name="l00279"></a><span class="lineno"> 279</span>&#160; <span class="keywordflow">return</span> ret;</div><div class="line"><a name="l00280"></a><span class="lineno"> 280</span>&#160;}</div><div class="ttc" id="class_h_s___client_html_a3d000ca70bd4a8af7c4895d95bc7d0d0"><div class="ttname"><a href="../../d5/d20/class_h_s___client.html#a3d000ca70bd4a8af7c4895d95bc7d0d0">HS_Client::subscribe</a></div><div class="ttdeci">int subscribe(afb_req_t request, const char *event)</div><div class="ttdef"><b>Definition:</b> <a href="../../d8/d55/hs-client_8cpp_source.html#l00139">hs-client.cpp:139</a></div></div>
+<div class="ttc" id="class_h_s___client_html"><div class="ttname"><a href="../../d5/d20/class_h_s___client.html">HS_Client</a></div><div class="ttdef"><b>Definition:</b> <a href="../../da/dd3/hs-client_8h_source.html#l00025">hs-client.h:25</a></div></div>
+<div class="ttc" id="include_2hmi-debug_8h_html_abc0d6e0760017d8ae48b836925b2ef15"><div class="ttname"><a href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a></div><div class="ttdeci">#define HMI_NOTICE(prefix, args,...)</div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d66/include_2hmi-debug_8h_source.html#l00040">hmi-debug.h:40</a></div></div>
+<div class="ttc" id="hs-helper_8h_html_aa611e2ec24ef295bd87825889fe2ce5e"><div class="ttname"><a href="../../d3/d3d/hs-helper_8h.html#aa611e2ec24ef295bd87825889fe2ce5e">AFB_EVENT_BAD_REQUEST</a></div><div class="ttdeci">#define AFB_EVENT_BAD_REQUEST</div><div class="ttdef"><b>Definition:</b> <a href="../../d3/d3d/hs-helper_8h_source.html#l00023">hs-helper.h:23</a></div></div>
+<div class="ttc" id="hs-helper_8h_html_a995612de89db4df1483c16e4b9b70571"><div class="ttname"><a href="../../d3/d3d/hs-helper_8h.html#a995612de89db4df1483c16e4b9b70571">AFB_REQ_SUBSCRIBE_ERROR</a></div><div class="ttdeci">#define AFB_REQ_SUBSCRIBE_ERROR</div><div class="ttdef"><b>Definition:</b> <a href="../../d3/d3d/hs-helper_8h_source.html#l00024">hs-helper.h:24</a></div></div>
+</div><!-- fragment -->
+</div>
+</div>
+<a class="anchor" id="a9910fc27c412530b5b9854b00bd16c07"></a>
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int HS_ClientManager::tap_shortcut </td>
+ <td>(</td>
+ <td class="paramtype">afb_req_t&#160;</td>
+ <td class="paramname"><em>request</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+<p>tap_shortcut</p>
+<h4>Parameters</h4>
+<ul>
+<li>request: the request to bindings</li>
+</ul>
+<h4>Return</h4>
+<p>result </p>
+
+<p>Definition at line <a class="el" href="../../dd/d30/hs-clientmanager_8cpp_source.html#l00166">166</a> of file <a class="el" href="../../dd/d30/hs-clientmanager_8cpp_source.html">hs-clientmanager.cpp</a>.</p>
+<div class="fragment"><div class="line"><a name="l00167"></a><span class="lineno"> 167</span>&#160;{</div><div class="line"><a name="l00168"></a><span class="lineno"> 168</span>&#160; <span class="keywordtype">int</span> ret = 0;</div><div class="line"><a name="l00169"></a><span class="lineno"> 169</span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span>* value = afb_req_value(request, <a class="code" href="../../d6/dda/homescreen_8cpp.html#a6a0e1db2562b442f8131ddf64b61d1ba">_application_id</a>);</div><div class="line"><a name="l00170"></a><span class="lineno"> 170</span>&#160; <span class="keywordflow">if</span> (value) {</div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span>&#160; <a class="code" href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a>(<span class="stringliteral">&quot;homescreen-service&quot;</span>,<span class="stringliteral">&quot;request params = %s.&quot;</span>, value);</div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span>&#160; std::lock_guard&lt;std::mutex&gt; lock(this-&gt;mtx);</div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span>&#160; <span class="keyword">auto</span> ip = client_list.find(std::string(value));</div><div class="line"><a name="l00174"></a><span class="lineno"> 174</span>&#160; <span class="keywordflow">if</span>(ip != client_list.end()) {</div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span>&#160; ip-&gt;second-&gt;tap_shortcut(value);</div><div class="line"><a name="l00176"></a><span class="lineno"> 176</span>&#160; }</div><div class="line"><a name="l00177"></a><span class="lineno"> 177</span>&#160; }</div><div class="line"><a name="l00178"></a><span class="lineno"> 178</span>&#160; <span class="keywordflow">else</span> {</div><div class="line"><a name="l00179"></a><span class="lineno"> 179</span>&#160; <a class="code" href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a>(<span class="stringliteral">&quot;homescreen-service&quot;</span>,<span class="stringliteral">&quot;Please input application_id&quot;</span>);</div><div class="line"><a name="l00180"></a><span class="lineno"> 180</span>&#160; ret = <a class="code" href="../../d3/d3d/hs-helper_8h.html#aa611e2ec24ef295bd87825889fe2ce5e">AFB_EVENT_BAD_REQUEST</a>;</div><div class="line"><a name="l00181"></a><span class="lineno"> 181</span>&#160; }</div><div class="line"><a name="l00182"></a><span class="lineno"> 182</span>&#160; <span class="keywordflow">return</span> ret;</div><div class="line"><a name="l00183"></a><span class="lineno"> 183</span>&#160;}</div><div class="ttc" id="include_2hmi-debug_8h_html_abc0d6e0760017d8ae48b836925b2ef15"><div class="ttname"><a href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a></div><div class="ttdeci">#define HMI_NOTICE(prefix, args,...)</div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d66/include_2hmi-debug_8h_source.html#l00040">hmi-debug.h:40</a></div></div>
+<div class="ttc" id="homescreen_8cpp_html_a6a0e1db2562b442f8131ddf64b61d1ba"><div class="ttname"><a href="../../d6/dda/homescreen_8cpp.html#a6a0e1db2562b442f8131ddf64b61d1ba">_application_id</a></div><div class="ttdeci">const char _application_id[]</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/dda/homescreen_8cpp_source.html#l00028">homescreen.cpp:28</a></div></div>
+<div class="ttc" id="hs-helper_8h_html_aa611e2ec24ef295bd87825889fe2ce5e"><div class="ttname"><a href="../../d3/d3d/hs-helper_8h.html#aa611e2ec24ef295bd87825889fe2ce5e">AFB_EVENT_BAD_REQUEST</a></div><div class="ttdeci">#define AFB_EVENT_BAD_REQUEST</div><div class="ttdef"><b>Definition:</b> <a href="../../d3/d3d/hs-helper_8h_source.html#l00023">hs-helper.h:23</a></div></div>
+</div><!-- fragment -->
+</div>
+</div>
+<a class="anchor" id="ac86314afbb90116e2f02ce071166226e"></a>
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">int HS_ClientManager::unsubscribe </td>
+ <td>(</td>
+ <td class="paramtype">afb_req_t&#160;</td>
+ <td class="paramname"><em>request</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+<p>unsubscribe</p>
+<h4>Parameters</h4>
+<ul>
+<li>request: the request to bindings</li>
+</ul>
+<h4>Return</h4>
+<p>result </p>
+
+<p>Definition at line <a class="el" href="../../dd/d30/hs-clientmanager_8cpp_source.html#l00292">292</a> of file <a class="el" href="../../dd/d30/hs-clientmanager_8cpp_source.html">hs-clientmanager.cpp</a>.</p>
+<div class="fragment"><div class="line"><a name="l00293"></a><span class="lineno"> 293</span>&#160;{</div><div class="line"><a name="l00294"></a><span class="lineno"> 294</span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span> *value = afb_req_value(request, <span class="stringliteral">&quot;event&quot;</span>);</div><div class="line"><a name="l00295"></a><span class="lineno"> 295</span>&#160; <a class="code" href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a>(<span class="stringliteral">&quot;homescreen-service&quot;</span>,<span class="stringliteral">&quot;value is %s&quot;</span>, value);</div><div class="line"><a name="l00296"></a><span class="lineno"> 296</span>&#160; <span class="keywordtype">int</span> ret = 0;</div><div class="line"><a name="l00297"></a><span class="lineno"> 297</span>&#160; <span class="keywordflow">if</span>(value) {</div><div class="line"><a name="l00298"></a><span class="lineno"> 298</span>&#160; std::string appid(afb_req_get_application_id(request));</div><div class="line"><a name="l00299"></a><span class="lineno"> 299</span>&#160; std::lock_guard&lt;std::mutex&gt; lock(this-&gt;mtx);</div><div class="line"><a name="l00300"></a><span class="lineno"> 300</span>&#160;</div><div class="line"><a name="l00301"></a><span class="lineno"> 301</span>&#160; <span class="keyword">auto</span> ip = client_list.find(appid);</div><div class="line"><a name="l00302"></a><span class="lineno"> 302</span>&#160; <span class="keywordflow">if</span>(ip != client_list.end()</div><div class="line"><a name="l00303"></a><span class="lineno"> 303</span>&#160; &amp;&amp; ip-&gt;second-&gt;unsubscribe(request, value) != 0) {</div><div class="line"><a name="l00304"></a><span class="lineno"> 304</span>&#160; <a class="code" href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a>(<span class="stringliteral">&quot;homescreen-service&quot;</span>,<span class="stringliteral">&quot;unsubscribe failed&quot;</span>);</div><div class="line"><a name="l00305"></a><span class="lineno"> 305</span>&#160; ret = <a class="code" href="../../d3/d3d/hs-helper_8h.html#a78e930a97920b821706a80ca8f430034">AFB_REQ_UNSUBSCRIBE_ERROR</a>;</div><div class="line"><a name="l00306"></a><span class="lineno"> 306</span>&#160; }</div><div class="line"><a name="l00307"></a><span class="lineno"> 307</span>&#160; }</div><div class="line"><a name="l00308"></a><span class="lineno"> 308</span>&#160; <span class="keywordflow">else</span> {</div><div class="line"><a name="l00309"></a><span class="lineno"> 309</span>&#160; <a class="code" href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a>(<span class="stringliteral">&quot;homescreen-service&quot;</span>,<span class="stringliteral">&quot;Please input event name&quot;</span>);</div><div class="line"><a name="l00310"></a><span class="lineno"> 310</span>&#160; ret = <a class="code" href="../../d3/d3d/hs-helper_8h.html#aa611e2ec24ef295bd87825889fe2ce5e">AFB_EVENT_BAD_REQUEST</a>;</div><div class="line"><a name="l00311"></a><span class="lineno"> 311</span>&#160; }</div><div class="line"><a name="l00312"></a><span class="lineno"> 312</span>&#160; <span class="keywordflow">return</span> ret;</div><div class="line"><a name="l00313"></a><span class="lineno"> 313</span>&#160;}</div><div class="ttc" id="include_2hmi-debug_8h_html_abc0d6e0760017d8ae48b836925b2ef15"><div class="ttname"><a href="../../d2/d66/include_2hmi-debug_8h.html#abc0d6e0760017d8ae48b836925b2ef15">HMI_NOTICE</a></div><div class="ttdeci">#define HMI_NOTICE(prefix, args,...)</div><div class="ttdef"><b>Definition:</b> <a href="../../d2/d66/include_2hmi-debug_8h_source.html#l00040">hmi-debug.h:40</a></div></div>
+<div class="ttc" id="hs-helper_8h_html_a78e930a97920b821706a80ca8f430034"><div class="ttname"><a href="../../d3/d3d/hs-helper_8h.html#a78e930a97920b821706a80ca8f430034">AFB_REQ_UNSUBSCRIBE_ERROR</a></div><div class="ttdeci">#define AFB_REQ_UNSUBSCRIBE_ERROR</div><div class="ttdef"><b>Definition:</b> <a href="../../d3/d3d/hs-helper_8h_source.html#l00025">hs-helper.h:25</a></div></div>
+<div class="ttc" id="hs-helper_8h_html_aa611e2ec24ef295bd87825889fe2ce5e"><div class="ttname"><a href="../../d3/d3d/hs-helper_8h.html#aa611e2ec24ef295bd87825889fe2ce5e">AFB_EVENT_BAD_REQUEST</a></div><div class="ttdeci">#define AFB_EVENT_BAD_REQUEST</div><div class="ttdef"><b>Definition:</b> <a href="../../d3/d3d/hs-helper_8h_source.html#l00023">hs-helper.h:23</a></div></div>
+</div><!-- fragment -->
+</div>
+</div>
+<hr/>The documentation for this class was generated from the following files:<ul>
+<li>src/<a class="el" href="../../de/dca/hs-clientmanager_8h_source.html">hs-clientmanager.h</a></li>
+<li>src/<a class="el" href="../../dd/d30/hs-clientmanager_8cpp_source.html">hs-clientmanager.cpp</a></li>
+</ul>
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by &#160;<a href="http://www.doxygen.org/index.html">
+<img class="footer" src="../../doxygen.png" alt="doxygen"/>
+</a> 1.8.11
+</small></address>
+</body>
+</html>