summaryrefslogtreecommitdiff
path: root/docs/CAmDbusWrapper_8h_source.html
blob: fc99effd5433cd2a5b88f4d2d76fd5fd7b019dd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
<!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.6"/>
<title>AudioManager: AudioManagerUtilities/include/CAmDbusWrapper.h Source File</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="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</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 style="padding-left: 0.5em;">
   <div id="projectname">AudioManager
   &#160;<span id="projectnumber">7.5.11</span>
   </div>
   <div id="projectbrief">Native Application Runtime Environment</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<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><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><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="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('CAmDbusWrapper_8h_source.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Pages</a></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 class="header">
  <div class="headertitle">
<div class="title">CAmDbusWrapper.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="CAmDbusWrapper_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;</div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="preprocessor">#ifndef DBUSWRAPPER_H_</span></div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define DBUSWRAPPER_H_</span></div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="preprocessor">#include &lt;dbus/dbus.h&gt;</span></div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="preprocessor">#include &lt;list&gt;</span></div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="preprocessor">#include &lt;map&gt;</span></div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="preprocessor">#include &quot;audiomanagerconfig.h&quot;</span></div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="CAmSocketHandler_8h.html">CAmSocketHandler.h</a>&quot;</span></div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;</div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="keyword">namespace </span>am</div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;{</div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;</div>
<div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="classam_1_1CAmDbusWrapper.html">   37</a></span>&#160;<span class="keyword">class </span><a class="code" href="classam_1_1CAmDbusWrapper.html">CAmDbusWrapper</a></div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;{</div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;    <a class="code" href="classam_1_1CAmDbusWrapper.html#a756a84420f9e599b1208acfdfc338457">CAmDbusWrapper</a>(<a class="code" href="classam_1_1CAmSocketHandler.html">CAmSocketHandler</a>* socketHandler,DBusBusType type=DBUS_BUS_SESSION,</div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;            <span class="keyword">const</span> std::string&amp; prefix = DBUS_SERVICE_PREFIX, <span class="keyword">const</span> std::string&amp; objectPath = DBUS_SERVICE_OBJECT_PATH);</div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="classam_1_1CAmDbusWrapper.html#a414b6c967b20f518753ad7f4afa8f811">~CAmDbusWrapper</a>();</div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;</div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classam_1_1CAmDbusWrapper.html#ac01e0b26e3f9dc7528cd815d24c43bcb">registerCallback</a>(<span class="keyword">const</span> DBusObjectPathVTable* vtable, <span class="keyword">const</span> std::string&amp; path, <span class="keywordtype">void</span>* userdata, <span class="keyword">const</span> std::string&amp; prefix = DBUS_SERVICE_OBJECT_PATH);</div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classam_1_1CAmDbusWrapper.html#ab126075542a721f22592652fd6dfc2cb">registerSignalWatch</a>(DBusHandleMessageFunction handler, <span class="keyword">const</span> std::string&amp; rule, <span class="keywordtype">void</span>* userdata);</div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classam_1_1CAmDbusWrapper.html#aae349240016dc3e557d2e83e1437c7eb">getDBusConnection</a>(DBusConnection*&amp; connection) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;</div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;    <span class="keyword">static</span> dbus_bool_t <a class="code" href="classam_1_1CAmDbusWrapper.html#a9f761311f2c1697af7f4656740a1a704">addWatch</a>(DBusWatch *watch, <span class="keywordtype">void</span> *userData);</div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;    <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="classam_1_1CAmDbusWrapper.html#a6a23dde3899b82a406fd1d888c677333">removeWatch</a>(DBusWatch *watch, <span class="keywordtype">void</span> *userData);</div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;    <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="classam_1_1CAmDbusWrapper.html#ab3a67b10c92bdb7b5f83e58fbd3cb6bc">toogleWatch</a>(DBusWatch *watch, <span class="keywordtype">void</span> *userData);</div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;</div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;    <span class="keyword">static</span> dbus_bool_t <a class="code" href="classam_1_1CAmDbusWrapper.html#adb082d9ab4b3cf9247204bda11b425f6">addTimeout</a>(DBusTimeout *timeout, <span class="keywordtype">void</span>* userData);</div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;    <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="classam_1_1CAmDbusWrapper.html#a18b2719ca3cee290dfef996252b74c18">removeTimeout</a>(DBusTimeout *timeout, <span class="keywordtype">void</span>* userData);</div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;    <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="classam_1_1CAmDbusWrapper.html#aaa20082e0a77721e99c4d7776421faac">toggleTimeout</a>(DBusTimeout *timeout, <span class="keywordtype">void</span>* userData);</div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classam_1_1CAmDbusWrapper.html#a115584c27a48a673c165c25147c5900a">dbusPrepareCallback</a>(<span class="keyword">const</span> <a class="code" href="namespaceam.html#af782e2735b1adf1e43a9d530cee340aa">sh_pollHandle_t</a> handle, <span class="keywordtype">void</span>* userData);</div>
<div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="classam_1_1CAmDbusWrapper.html#a817fcd0bce4f833cadd5767e7b36a007">   57</a></span>&#160;    <a class="code" href="classam_1_1TAmShPollPrepare.html">TAmShPollPrepare&lt;CAmDbusWrapper&gt;</a> <a class="code" href="classam_1_1CAmDbusWrapper.html#a817fcd0bce4f833cadd5767e7b36a007">pDbusPrepareCallback</a>;</div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;</div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="classam_1_1CAmDbusWrapper.html#a54fb9b2cbc6ae2b8164388f7cc7affd1">dbusDispatchCallback</a>(<span class="keyword">const</span> <a class="code" href="namespaceam.html#af782e2735b1adf1e43a9d530cee340aa">sh_pollHandle_t</a> handle, <span class="keywordtype">void</span>* userData);</div>
<div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="classam_1_1CAmDbusWrapper.html#a80c4d0c6e996bc19a161a24dd61ec951">   60</a></span>&#160;    <a class="code" href="classam_1_1TAmShPollDispatch.html">TAmShPollDispatch&lt;CAmDbusWrapper&gt;</a> <a class="code" href="classam_1_1CAmDbusWrapper.html#a80c4d0c6e996bc19a161a24dd61ec951">pDbusDispatchCallback</a>;</div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;</div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classam_1_1CAmDbusWrapper.html#a5c75b210dac390a27f9b15b52536c7f0">dbusFireCallback</a>(<span class="keyword">const</span> pollfd pollfd, <span class="keyword">const</span> <a class="code" href="namespaceam.html#af782e2735b1adf1e43a9d530cee340aa">sh_pollHandle_t</a> handle, <span class="keywordtype">void</span>* userData);</div>
<div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="classam_1_1CAmDbusWrapper.html#aa56bb4cb9372b1602eae4e2caf50d57a">   63</a></span>&#160;    <a class="code" href="classam_1_1TAmShPollFired.html">TAmShPollFired&lt;CAmDbusWrapper&gt;</a> <a class="code" href="classam_1_1CAmDbusWrapper.html#aa56bb4cb9372b1602eae4e2caf50d57a">pDbusFireCallback</a>;</div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;</div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="classam_1_1CAmDbusWrapper.html#af25b51b4cdea2e33bddf7f9297ca02e2">dbusCheckCallback</a>(<span class="keyword">const</span> <a class="code" href="namespaceam.html#af782e2735b1adf1e43a9d530cee340aa">sh_pollHandle_t</a> handle, <span class="keywordtype">void</span>* userData);</div>
<div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="classam_1_1CAmDbusWrapper.html#af1abb258907275c66d8c41ba91a82e2f">   66</a></span>&#160;    <a class="code" href="classam_1_1TAmShPollCheck.html">TAmShPollCheck&lt;CAmDbusWrapper&gt;</a> <a class="code" href="classam_1_1CAmDbusWrapper.html#af1abb258907275c66d8c41ba91a82e2f">pDbusCheckCallback</a>;</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classam_1_1CAmDbusWrapper.html#abf28f8004af1a97889713b24133506f1">dbusTimerCallback</a>(<a class="code" href="namespaceam.html#a22a7b0b07f6cd371e638db2194762958">sh_timerHandle_t</a> handle, <span class="keywordtype">void</span>* userData);</div>
<div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="classam_1_1CAmDbusWrapper.html#a9960708bf636f4afbc60dbf7f8262c73">   69</a></span>&#160;    <a class="code" href="classam_1_1TAmShTimerCallBack.html">TAmShTimerCallBack&lt;CAmDbusWrapper&gt;</a> <a class="code" href="classam_1_1CAmDbusWrapper.html#a9960708bf636f4afbc60dbf7f8262c73">pDbusTimerCallback</a>;</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;    <span class="keyword">static</span> <a class="code" href="classam_1_1CAmDbusWrapper.html">CAmDbusWrapper</a>* mpReference; </div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;    <span class="keyword">static</span> DBusHandlerResult cbRootIntrospection(DBusConnection *conn, DBusMessage *msg, <span class="keywordtype">void</span> *reference);</div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;    dbus_bool_t addWatchDelegate(DBusWatch * watch, <span class="keywordtype">void</span>* userData);</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;    <span class="keywordtype">void</span> removeWatchDelegate(DBusWatch *watch, <span class="keywordtype">void</span> *userData);</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;    <span class="keywordtype">void</span> toogleWatchDelegate(DBusWatch *watch, <span class="keywordtype">void</span> *userData);</div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;    dbus_bool_t addTimeoutDelegate(DBusTimeout *timeout, <span class="keywordtype">void</span>* userData);</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;    <span class="keywordtype">void</span> removeTimeoutDelegate(DBusTimeout *timeout, <span class="keywordtype">void</span>* userData);</div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;    <span class="keywordtype">void</span> toggleTimeoutDelegate(DBusTimeout *timeout, <span class="keywordtype">void</span>* userData);</div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;    DBusObjectPathVTable mObjectPathVTable; </div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;    DBusConnection* mpDbusConnection; </div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;    DBusError mDBusError; </div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;    std::vector&lt;std::string&gt; mListNodes; </div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;    std::vector&lt;sh_timerHandle_t*&gt; mpListTimerhandles; </div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;    <a class="code" href="classam_1_1CAmSocketHandler.html">CAmSocketHandler</a> *mpSocketHandler; </div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;    std::map&lt;DBusWatch*, sh_pollHandle_t&gt; mMapHandleWatch; </div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;    DBusBusType mDbusType;</div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;};</div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;</div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;}</div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;</div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* DBUSWRAPPER_H_ */</span><span class="preprocessor"></span></div>
<div class="ttc" id="classam_1_1CAmDbusWrapper_html_ac01e0b26e3f9dc7528cd815d24c43bcb"><div class="ttname"><a href="classam_1_1CAmDbusWrapper.html#ac01e0b26e3f9dc7528cd815d24c43bcb">am::CAmDbusWrapper::registerCallback</a></div><div class="ttdeci">void registerCallback(const DBusObjectPathVTable *vtable, const std::string &amp;path, void *userdata, const std::string &amp;prefix=DBUS_SERVICE_OBJECT_PATH)</div><div class="ttdoc">registers a callback that is entered as path below the main path. </div><div class="ttdef"><b>Definition:</b> <a href="CAmDbusWrapper_8cpp_source.html#l00167">CAmDbusWrapper.cpp:167</a></div></div>
<div class="ttc" id="classam_1_1CAmDbusWrapper_html_a9960708bf636f4afbc60dbf7f8262c73"><div class="ttname"><a href="classam_1_1CAmDbusWrapper.html#a9960708bf636f4afbc60dbf7f8262c73">am::CAmDbusWrapper::pDbusTimerCallback</a></div><div class="ttdeci">TAmShTimerCallBack&lt; CAmDbusWrapper &gt; pDbusTimerCallback</div><div class="ttdef"><b>Definition:</b> <a href="CAmDbusWrapper_8h_source.html#l00069">CAmDbusWrapper.h:69</a></div></div>
<div class="ttc" id="classam_1_1CAmDbusWrapper_html_a54fb9b2cbc6ae2b8164388f7cc7affd1"><div class="ttname"><a href="classam_1_1CAmDbusWrapper.html#a54fb9b2cbc6ae2b8164388f7cc7affd1">am::CAmDbusWrapper::dbusDispatchCallback</a></div><div class="ttdeci">bool dbusDispatchCallback(const sh_pollHandle_t handle, void *userData)</div><div class="ttdef"><b>Definition:</b> <a href="CAmDbusWrapper_8cpp_source.html#l00425">CAmDbusWrapper.cpp:425</a></div></div>
<div class="ttc" id="classam_1_1TAmShPollCheck_html"><div class="ttname"><a href="classam_1_1TAmShPollCheck.html">am::TAmShPollCheck</a></div><div class="ttdoc">template for a callback </div><div class="ttdef"><b>Definition:</b> <a href="CAmSocketHandler_8h_source.html#l00449">CAmSocketHandler.h:449</a></div></div>
<div class="ttc" id="classam_1_1CAmDbusWrapper_html_abf28f8004af1a97889713b24133506f1"><div class="ttname"><a href="classam_1_1CAmDbusWrapper.html#abf28f8004af1a97889713b24133506f1">am::CAmDbusWrapper::dbusTimerCallback</a></div><div class="ttdeci">void dbusTimerCallback(sh_timerHandle_t handle, void *userData)</div><div class="ttdef"><b>Definition:</b> <a href="CAmDbusWrapper_8cpp_source.html#l00510">CAmDbusWrapper.cpp:510</a></div></div>
<div class="ttc" id="classam_1_1TAmShPollFired_html"><div class="ttname"><a href="classam_1_1TAmShPollFired.html">am::TAmShPollFired</a></div><div class="ttdoc">make private, not public template for a callback </div><div class="ttdef"><b>Definition:</b> <a href="CAmSocketHandler_8h_source.html#l00429">CAmSocketHandler.h:429</a></div></div>
<div class="ttc" id="classam_1_1CAmDbusWrapper_html_aa56bb4cb9372b1602eae4e2caf50d57a"><div class="ttname"><a href="classam_1_1CAmDbusWrapper.html#aa56bb4cb9372b1602eae4e2caf50d57a">am::CAmDbusWrapper::pDbusFireCallback</a></div><div class="ttdeci">TAmShPollFired&lt; CAmDbusWrapper &gt; pDbusFireCallback</div><div class="ttdef"><b>Definition:</b> <a href="CAmDbusWrapper_8h_source.html#l00063">CAmDbusWrapper.h:63</a></div></div>
<div class="ttc" id="classam_1_1CAmSocketHandler_html"><div class="ttname"><a href="classam_1_1CAmSocketHandler.html">am::CAmSocketHandler</a></div><div class="ttdoc">The am::CAmSocketHandler implements a mainloop for the AudioManager. </div><div class="ttdef"><b>Definition:</b> <a href="CAmSocketHandler_8h_source.html#l00094">CAmSocketHandler.h:94</a></div></div>
<div class="ttc" id="classam_1_1CAmDbusWrapper_html_aaa20082e0a77721e99c4d7776421faac"><div class="ttname"><a href="classam_1_1CAmDbusWrapper.html#aaa20082e0a77721e99c4d7776421faac">am::CAmDbusWrapper::toggleTimeout</a></div><div class="ttdeci">static void toggleTimeout(DBusTimeout *timeout, void *userData)</div><div class="ttdef"><b>Definition:</b> <a href="CAmDbusWrapper_8cpp_source.html#l00418">CAmDbusWrapper.cpp:418</a></div></div>
<div class="ttc" id="classam_1_1CAmDbusWrapper_html_a817fcd0bce4f833cadd5767e7b36a007"><div class="ttname"><a href="classam_1_1CAmDbusWrapper.html#a817fcd0bce4f833cadd5767e7b36a007">am::CAmDbusWrapper::pDbusPrepareCallback</a></div><div class="ttdeci">TAmShPollPrepare&lt; CAmDbusWrapper &gt; pDbusPrepareCallback</div><div class="ttdef"><b>Definition:</b> <a href="CAmDbusWrapper_8h_source.html#l00057">CAmDbusWrapper.h:57</a></div></div>
<div class="ttc" id="namespaceam_html_af782e2735b1adf1e43a9d530cee340aa"><div class="ttname"><a href="namespaceam.html#af782e2735b1adf1e43a9d530cee340aa">am::sh_pollHandle_t</a></div><div class="ttdeci">uint16_t sh_pollHandle_t</div><div class="ttdoc">this is a handle for a filedescriptor to be used with the SocketHandler </div><div class="ttdef"><b>Definition:</b> <a href="CAmSocketHandler_8h_source.html#l00037">CAmSocketHandler.h:37</a></div></div>
<div class="ttc" id="namespaceam_html_a22a7b0b07f6cd371e638db2194762958"><div class="ttname"><a href="namespaceam.html#a22a7b0b07f6cd371e638db2194762958">am::sh_timerHandle_t</a></div><div class="ttdeci">uint16_t sh_timerHandle_t</div><div class="ttdoc">this is a handle for a timer to be used with the SocketHandler </div><div class="ttdef"><b>Definition:</b> <a href="CAmSocketHandler_8h_source.html#l00036">CAmSocketHandler.h:36</a></div></div>
<div class="ttc" id="classam_1_1TAmShPollPrepare_html"><div class="ttname"><a href="classam_1_1TAmShPollPrepare.html">am::TAmShPollPrepare</a></div><div class="ttdoc">template for a callback </div><div class="ttdef"><b>Definition:</b> <a href="CAmSocketHandler_8h_source.html#l00409">CAmSocketHandler.h:409</a></div></div>
<div class="ttc" id="classam_1_1CAmDbusWrapper_html_ab3a67b10c92bdb7b5f83e58fbd3cb6bc"><div class="ttname"><a href="classam_1_1CAmDbusWrapper.html#ab3a67b10c92bdb7b5f83e58fbd3cb6bc">am::CAmDbusWrapper::toogleWatch</a></div><div class="ttdeci">static void toogleWatch(DBusWatch *watch, void *userData)</div><div class="ttdef"><b>Definition:</b> <a href="CAmDbusWrapper_8cpp_source.html#l00329">CAmDbusWrapper.cpp:329</a></div></div>
<div class="ttc" id="classam_1_1TAmShPollDispatch_html"><div class="ttname"><a href="classam_1_1TAmShPollDispatch.html">am::TAmShPollDispatch</a></div><div class="ttdoc">template for a callback </div><div class="ttdef"><b>Definition:</b> <a href="CAmSocketHandler_8h_source.html#l00469">CAmSocketHandler.h:469</a></div></div>
<div class="ttc" id="classam_1_1CAmDbusWrapper_html_a756a84420f9e599b1208acfdfc338457"><div class="ttname"><a href="classam_1_1CAmDbusWrapper.html#a756a84420f9e599b1208acfdfc338457">am::CAmDbusWrapper::CAmDbusWrapper</a></div><div class="ttdeci">CAmDbusWrapper(CAmSocketHandler *socketHandler, DBusBusType type=DBUS_BUS_SESSION, const std::string &amp;prefix=DBUS_SERVICE_PREFIX, const std::string &amp;objectPath=DBUS_SERVICE_OBJECT_PATH)</div><div class="ttdef"><b>Definition:</b> <a href="CAmDbusWrapper_8cpp_source.html#l00052">CAmDbusWrapper.cpp:52</a></div></div>
<div class="ttc" id="classam_1_1CAmDbusWrapper_html_ab126075542a721f22592652fd6dfc2cb"><div class="ttname"><a href="classam_1_1CAmDbusWrapper.html#ab126075542a721f22592652fd6dfc2cb">am::CAmDbusWrapper::registerSignalWatch</a></div><div class="ttdeci">void registerSignalWatch(DBusHandleMessageFunction handler, const std::string &amp;rule, void *userdata)</div><div class="ttdoc">register signal watch callback to matching rule </div><div class="ttdef"><b>Definition:</b> <a href="CAmDbusWrapper_8cpp_source.html#l00189">CAmDbusWrapper.cpp:189</a></div></div>
<div class="ttc" id="classam_1_1CAmDbusWrapper_html_a80c4d0c6e996bc19a161a24dd61ec951"><div class="ttname"><a href="classam_1_1CAmDbusWrapper.html#a80c4d0c6e996bc19a161a24dd61ec951">am::CAmDbusWrapper::pDbusDispatchCallback</a></div><div class="ttdeci">TAmShPollDispatch&lt; CAmDbusWrapper &gt; pDbusDispatchCallback</div><div class="ttdef"><b>Definition:</b> <a href="CAmDbusWrapper_8h_source.html#l00060">CAmDbusWrapper.h:60</a></div></div>
<div class="ttc" id="CAmSocketHandler_8h_html"><div class="ttname"><a href="CAmSocketHandler_8h.html">CAmSocketHandler.h</a></div><div class="ttdoc">SPDX license identifier: MPL-2.0. </div></div>
<div class="ttc" id="classam_1_1CAmDbusWrapper_html_af25b51b4cdea2e33bddf7f9297ca02e2"><div class="ttname"><a href="classam_1_1CAmDbusWrapper.html#af25b51b4cdea2e33bddf7f9297ca02e2">am::CAmDbusWrapper::dbusCheckCallback</a></div><div class="ttdeci">bool dbusCheckCallback(const sh_pollHandle_t handle, void *userData)</div><div class="ttdef"><b>Definition:</b> <a href="CAmDbusWrapper_8cpp_source.html#l00438">CAmDbusWrapper.cpp:438</a></div></div>
<div class="ttc" id="classam_1_1CAmDbusWrapper_html_a414b6c967b20f518753ad7f4afa8f811"><div class="ttname"><a href="classam_1_1CAmDbusWrapper.html#a414b6c967b20f518753ad7f4afa8f811">am::CAmDbusWrapper::~CAmDbusWrapper</a></div><div class="ttdeci">virtual ~CAmDbusWrapper()</div><div class="ttdef"><b>Definition:</b> <a href="CAmDbusWrapper_8cpp_source.html#l00145">CAmDbusWrapper.cpp:145</a></div></div>
<div class="ttc" id="classam_1_1CAmDbusWrapper_html_a6a23dde3899b82a406fd1d888c677333"><div class="ttname"><a href="classam_1_1CAmDbusWrapper.html#a6a23dde3899b82a406fd1d888c677333">am::CAmDbusWrapper::removeWatch</a></div><div class="ttdeci">static void removeWatch(DBusWatch *watch, void *userData)</div><div class="ttdef"><b>Definition:</b> <a href="CAmDbusWrapper_8cpp_source.html#l00305">CAmDbusWrapper.cpp:305</a></div></div>
<div class="ttc" id="classam_1_1CAmDbusWrapper_html"><div class="ttname"><a href="classam_1_1CAmDbusWrapper.html">am::CAmDbusWrapper</a></div><div class="ttdoc">This wraps dbus and provides everything needed to anyone who wants to use dbus (including plugins)...</div><div class="ttdef"><b>Definition:</b> <a href="CAmDbusWrapper_8h_source.html#l00037">CAmDbusWrapper.h:37</a></div></div>
<div class="ttc" id="classam_1_1CAmDbusWrapper_html_adb082d9ab4b3cf9247204bda11b425f6"><div class="ttname"><a href="classam_1_1CAmDbusWrapper.html#adb082d9ab4b3cf9247204bda11b425f6">am::CAmDbusWrapper::addTimeout</a></div><div class="ttdeci">static dbus_bool_t addTimeout(DBusTimeout *timeout, void *userData)</div><div class="ttdef"><b>Definition:</b> <a href="CAmDbusWrapper_8cpp_source.html#l00356">CAmDbusWrapper.cpp:356</a></div></div>
<div class="ttc" id="classam_1_1CAmDbusWrapper_html_a9f761311f2c1697af7f4656740a1a704"><div class="ttname"><a href="classam_1_1CAmDbusWrapper.html#a9f761311f2c1697af7f4656740a1a704">am::CAmDbusWrapper::addWatch</a></div><div class="ttdeci">static dbus_bool_t addWatch(DBusWatch *watch, void *userData)</div><div class="ttdef"><b>Definition:</b> <a href="CAmDbusWrapper_8cpp_source.html#l00269">CAmDbusWrapper.cpp:269</a></div></div>
<div class="ttc" id="classam_1_1CAmDbusWrapper_html_a5c75b210dac390a27f9b15b52536c7f0"><div class="ttname"><a href="classam_1_1CAmDbusWrapper.html#a5c75b210dac390a27f9b15b52536c7f0">am::CAmDbusWrapper::dbusFireCallback</a></div><div class="ttdeci">void dbusFireCallback(const pollfd pollfd, const sh_pollHandle_t handle, void *userData)</div><div class="ttdef"><b>Definition:</b> <a href="CAmDbusWrapper_8cpp_source.html#l00451">CAmDbusWrapper.cpp:451</a></div></div>
<div class="ttc" id="classam_1_1CAmDbusWrapper_html_a18b2719ca3cee290dfef996252b74c18"><div class="ttname"><a href="classam_1_1CAmDbusWrapper.html#a18b2719ca3cee290dfef996252b74c18">am::CAmDbusWrapper::removeTimeout</a></div><div class="ttdeci">static void removeTimeout(DBusTimeout *timeout, void *userData)</div><div class="ttdef"><b>Definition:</b> <a href="CAmDbusWrapper_8cpp_source.html#l00391">CAmDbusWrapper.cpp:391</a></div></div>
<div class="ttc" id="classam_1_1CAmDbusWrapper_html_aae349240016dc3e557d2e83e1437c7eb"><div class="ttname"><a href="classam_1_1CAmDbusWrapper.html#aae349240016dc3e557d2e83e1437c7eb">am::CAmDbusWrapper::getDBusConnection</a></div><div class="ttdeci">void getDBusConnection(DBusConnection *&amp;connection) const </div><div class="ttdoc">returns the dbus connection </div><div class="ttdef"><b>Definition:</b> <a href="CAmDbusWrapper_8cpp_source.html#l00264">CAmDbusWrapper.cpp:264</a></div></div>
<div class="ttc" id="classam_1_1CAmDbusWrapper_html_af1abb258907275c66d8c41ba91a82e2f"><div class="ttname"><a href="classam_1_1CAmDbusWrapper.html#af1abb258907275c66d8c41ba91a82e2f">am::CAmDbusWrapper::pDbusCheckCallback</a></div><div class="ttdeci">TAmShPollCheck&lt; CAmDbusWrapper &gt; pDbusCheckCallback</div><div class="ttdef"><b>Definition:</b> <a href="CAmDbusWrapper_8h_source.html#l00066">CAmDbusWrapper.h:66</a></div></div>
<div class="ttc" id="classam_1_1CAmDbusWrapper_html_a115584c27a48a673c165c25147c5900a"><div class="ttname"><a href="classam_1_1CAmDbusWrapper.html#a115584c27a48a673c165c25147c5900a">am::CAmDbusWrapper::dbusPrepareCallback</a></div><div class="ttdeci">void dbusPrepareCallback(const sh_pollHandle_t handle, void *userData)</div><div class="ttdef"><b>Definition:</b> <a href="CAmDbusWrapper_8cpp_source.html#l00475">CAmDbusWrapper.cpp:475</a></div></div>
<div class="ttc" id="classam_1_1TAmShTimerCallBack_html"><div class="ttname"><a href="classam_1_1TAmShTimerCallBack.html">am::TAmShTimerCallBack</a></div><div class="ttdoc">template to create the functor for a class </div><div class="ttdef"><b>Definition:</b> <a href="CAmSocketHandler_8h_source.html#l00389">CAmSocketHandler.h:389</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_789817cd9c9d85c1fb6b4cda55b71a5f.html">AudioManagerUtilities</a></li><li class="navelem"><a class="el" href="dir_6fd9bed21473e96783399bf9493172af.html">include</a></li><li class="navelem"><a class="el" href="CAmDbusWrapper_8h.html">CAmDbusWrapper.h</a></li>
    <li class="footer">Generated on Fri Sep 30 2016 14:27:21 for AudioManager by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.6 </li>
  </ul>
</div>
</body>
</html>