/usr/share/doc/geis/html/group__geis__v2__filter.html is in libgeis-doc 2.2.16-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 | <!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"/>
<title>GEIS: Gesture Filter</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);
</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">GEIS
 <span id="projectnumber">2.0</span>
</div>
<div id="projectbrief">Gesture Engine Interface Support</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.1.2 -->
<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 Page</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li><a href="annotated.html"><span>Data Structures</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><!-- 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('group__geis__v2__filter.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"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark"> </span>Groups</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="summary">
<a href="#nested-classes">Data Structures</a> |
<a href="#typedef-members">Typedefs</a> |
<a href="#enum-members">Enumerations</a> |
<a href="#func-members">Functions</a> </div>
<div class="headertitle">
<div class="title">Gesture Filter</div> </div>
<div class="ingroups"><a class="el" href="group__geis__v2.html">The Advanced GEIS Interface</a></div></div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_geis_filter.html">GeisFilter</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Selects a subset of possible gestures in a subscription. <a href="class_geis_filter.html#details">More...</a><br/></td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:ga3ea4a448c1dc9d78a6e28719035984a3"><td class="memItemLeft" align="right" valign="top">typedef enum <a class="el" href="group__geis__v2__filter.html#ga34f77c178889dfb4c0e0a67bab448a88">_GeisFilterFacility</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__geis__v2__filter.html#ga3ea4a448c1dc9d78a6e28719035984a3">GeisFilterFacility</a></td></tr>
<tr class="memdesc:ga3ea4a448c1dc9d78a6e28719035984a3"><td class="mdescLeft"> </td><td class="mdescRight">Indicates the type of filter. <a href="#ga3ea4a448c1dc9d78a6e28719035984a3"></a><br/></td></tr>
<tr class="memitem:ga7a326fa9e1a1db06075886160c1fa91a"><td class="memItemLeft" align="right" valign="top">typedef enum <a class="el" href="group__geis__v2__filter.html#ga7f26674f8204c7f92e76a4b56cbf5819">_GeisFilterOperation</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__geis__v2__filter.html#ga7a326fa9e1a1db06075886160c1fa91a">GeisFilterOperation</a></td></tr>
<tr class="memdesc:ga7a326fa9e1a1db06075886160c1fa91a"><td class="mdescLeft"> </td><td class="mdescRight">Indicates the type of filter operation. <a href="#ga7a326fa9e1a1db06075886160c1fa91a"></a><br/></td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:ga34f77c178889dfb4c0e0a67bab448a88"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="group__geis__v2__filter.html#ga34f77c178889dfb4c0e0a67bab448a88">_GeisFilterFacility</a> { <a class="el" href="group__geis__v2__filter.html#gga34f77c178889dfb4c0e0a67bab448a88a5484f234f67febe6355f14a8aca8e662">GEIS_FILTER_DEVICE</a>,
<a class="el" href="group__geis__v2__filter.html#gga34f77c178889dfb4c0e0a67bab448a88a3092a0e76147413bc884853485f421bf">GEIS_FILTER_CLASS</a>,
<a class="el" href="group__geis__v2__filter.html#gga34f77c178889dfb4c0e0a67bab448a88a570d38a991caf5eda15f914cff178c3d">GEIS_FILTER_REGION</a>,
<a class="el" href="group__geis__v2__filter.html#gga34f77c178889dfb4c0e0a67bab448a88ae718e825c07b6ac79cbd96ca46a679fa">GEIS_FILTER_SPECIAL</a>
}</td></tr>
<tr class="memdesc:ga34f77c178889dfb4c0e0a67bab448a88"><td class="mdescLeft"> </td><td class="mdescRight">Indicates the type of filter. <a href="group__geis__v2__filter.html#ga34f77c178889dfb4c0e0a67bab448a88">More...</a><br/></td></tr>
<tr class="memitem:ga7f26674f8204c7f92e76a4b56cbf5819"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="group__geis__v2__filter.html#ga7f26674f8204c7f92e76a4b56cbf5819">_GeisFilterOperation</a> { <br/>
  <a class="el" href="group__geis__v2__filter.html#gga7f26674f8204c7f92e76a4b56cbf5819aa014b8c6c240fe69d981186af44ac92a">GEIS_FILTER_OP_EQ</a>,
<a class="el" href="group__geis__v2__filter.html#gga7f26674f8204c7f92e76a4b56cbf5819a604a6abaaccf6b3accfd2435d30be349">GEIS_FILTER_OP_NE</a>,
<a class="el" href="group__geis__v2__filter.html#gga7f26674f8204c7f92e76a4b56cbf5819afbd3792b7a373a108bc706b8ffb0e8f8">GEIS_FILTER_OP_GT</a>,
<a class="el" href="group__geis__v2__filter.html#gga7f26674f8204c7f92e76a4b56cbf5819a7ba81e38a7e55668d553d6fc3105f409">GEIS_FILTER_OP_GE</a>,
<br/>
  <a class="el" href="group__geis__v2__filter.html#gga7f26674f8204c7f92e76a4b56cbf5819acba4979a7f732c1968339833cf4d71dc">GEIS_FILTER_OP_LT</a>,
<a class="el" href="group__geis__v2__filter.html#gga7f26674f8204c7f92e76a4b56cbf5819a9a0f5fca7bcaa4c472cf3571f9150fd1">GEIS_FILTER_OP_LE</a>
<br/>
}</td></tr>
<tr class="memdesc:ga7f26674f8204c7f92e76a4b56cbf5819"><td class="mdescLeft"> </td><td class="mdescRight">Indicates the type of filter operation. <a href="group__geis__v2__filter.html#ga7f26674f8204c7f92e76a4b56cbf5819">More...</a><br/></td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga52d7bfa7915e2cedd4076a30daad6071"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_geis_filter.html">GeisFilter</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__geis__v2__filter.html#ga52d7bfa7915e2cedd4076a30daad6071">geis_filter_new</a> (<a class="el" href="class_geis.html">Geis</a> geis, GeisString name)</td></tr>
<tr class="memdesc:ga52d7bfa7915e2cedd4076a30daad6071"><td class="mdescLeft"> </td><td class="mdescRight">Creates a new, empty filter. <a href="#ga52d7bfa7915e2cedd4076a30daad6071"></a><br/></td></tr>
<tr class="memitem:ga07760a28436bb5ab4c4261a2a91d84dc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_geis_filter.html">GeisFilter</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__geis__v2__filter.html#ga07760a28436bb5ab4c4261a2a91d84dc">geis_filter_clone</a> (<a class="el" href="class_geis_filter.html">GeisFilter</a> original, GeisString name)</td></tr>
<tr class="memdesc:ga07760a28436bb5ab4c4261a2a91d84dc"><td class="mdescLeft"> </td><td class="mdescRight">Creates a new filter by copying an existing filter. <a href="#ga07760a28436bb5ab4c4261a2a91d84dc"></a><br/></td></tr>
<tr class="memitem:ga2c54f1ea7a127c879f655534555c02c5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__geis__common.html#ga7fe40cb68bb7a98f5429284514872790">GeisStatus</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__geis__v2__filter.html#ga2c54f1ea7a127c879f655534555c02c5">geis_filter_delete</a> (<a class="el" href="class_geis_filter.html">GeisFilter</a> filter)</td></tr>
<tr class="memdesc:ga2c54f1ea7a127c879f655534555c02c5"><td class="mdescLeft"> </td><td class="mdescRight">Destroys a <a class="el" href="class_geis_filter.html" title="Selects a subset of possible gestures in a subscription.">GeisFilter</a>. <a href="#ga2c54f1ea7a127c879f655534555c02c5"></a><br/></td></tr>
<tr class="memitem:ga552ba714bd1a68428df05a0906dc0090"><td class="memItemLeft" align="right" valign="top">GeisString </td><td class="memItemRight" valign="bottom"><a class="el" href="group__geis__v2__filter.html#ga552ba714bd1a68428df05a0906dc0090">geis_filter_name</a> (<a class="el" href="class_geis_filter.html">GeisFilter</a> filter)</td></tr>
<tr class="memdesc:ga552ba714bd1a68428df05a0906dc0090"><td class="mdescLeft"> </td><td class="mdescRight">Gets the name given to the filter when it was created. <a href="#ga552ba714bd1a68428df05a0906dc0090"></a><br/></td></tr>
<tr class="memitem:gae3d533aca3aed29df70116a90300373e"><td class="memItemLeft" align="right" valign="top">GEIS_VARARG <a class="el" href="group__geis__common.html#ga7fe40cb68bb7a98f5429284514872790">GeisStatus</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__geis__v2__filter.html#gae3d533aca3aed29df70116a90300373e">geis_filter_add_term</a> (<a class="el" href="class_geis_filter.html">GeisFilter</a> filter, <a class="el" href="group__geis__v2__filter.html#ga3ea4a448c1dc9d78a6e28719035984a3">GeisFilterFacility</a> facility,...)</td></tr>
<tr class="memdesc:gae3d533aca3aed29df70116a90300373e"><td class="mdescLeft"> </td><td class="mdescRight">Adds a term to a filter. <a href="#gae3d533aca3aed29df70116a90300373e"></a><br/></td></tr>
</table>
<a name="details" id="details"></a><h2>Detailed Description</h2>
<h2>Typedef Documentation</h2>
<a class="anchor" id="ga3ea4a448c1dc9d78a6e28719035984a3"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef enum <a class="el" href="group__geis__v2__filter.html#ga34f77c178889dfb4c0e0a67bab448a88">_GeisFilterFacility</a> <a class="el" href="group__geis__v2__filter.html#ga3ea4a448c1dc9d78a6e28719035984a3">GeisFilterFacility</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>Indicates the type of filter. </p>
</div>
</div>
<a class="anchor" id="ga7a326fa9e1a1db06075886160c1fa91a"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef enum <a class="el" href="group__geis__v2__filter.html#ga7f26674f8204c7f92e76a4b56cbf5819">_GeisFilterOperation</a> <a class="el" href="group__geis__v2__filter.html#ga7a326fa9e1a1db06075886160c1fa91a">GeisFilterOperation</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>Indicates the type of filter operation. </p>
</div>
</div>
<h2>Enumeration Type Documentation</h2>
<a class="anchor" id="ga34f77c178889dfb4c0e0a67bab448a88"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="group__geis__v2__filter.html#ga34f77c178889dfb4c0e0a67bab448a88">_GeisFilterFacility</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>Indicates the type of filter. </p>
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="gga34f77c178889dfb4c0e0a67bab448a88a5484f234f67febe6355f14a8aca8e662"></a>GEIS_FILTER_DEVICE</em> </td><td>
<p>Filters on device attributes. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="gga34f77c178889dfb4c0e0a67bab448a88a3092a0e76147413bc884853485f421bf"></a>GEIS_FILTER_CLASS</em> </td><td>
<p>Filters on gesture class and gesture attributes. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="gga34f77c178889dfb4c0e0a67bab448a88a570d38a991caf5eda15f914cff178c3d"></a>GEIS_FILTER_REGION</em> </td><td>
<p>Filters on region attributes. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="gga34f77c178889dfb4c0e0a67bab448a88ae718e825c07b6ac79cbd96ca46a679fa"></a>GEIS_FILTER_SPECIAL</em> </td><td>
<p>Filters on special attributes. </p>
</td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="ga7f26674f8204c7f92e76a4b56cbf5819"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="group__geis__v2__filter.html#ga7f26674f8204c7f92e76a4b56cbf5819">_GeisFilterOperation</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>Indicates the type of filter operation. </p>
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="gga7f26674f8204c7f92e76a4b56cbf5819aa014b8c6c240fe69d981186af44ac92a"></a>GEIS_FILTER_OP_EQ</em> </td><td>
<p>Compares for equality. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="gga7f26674f8204c7f92e76a4b56cbf5819a604a6abaaccf6b3accfd2435d30be349"></a>GEIS_FILTER_OP_NE</em> </td><td>
<p>Compares for inequality. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="gga7f26674f8204c7f92e76a4b56cbf5819afbd3792b7a373a108bc706b8ffb0e8f8"></a>GEIS_FILTER_OP_GT</em> </td><td>
<p>Compares for greater-than. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="gga7f26674f8204c7f92e76a4b56cbf5819a7ba81e38a7e55668d553d6fc3105f409"></a>GEIS_FILTER_OP_GE</em> </td><td>
<p>Compares for greater-than-or-equal. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="gga7f26674f8204c7f92e76a4b56cbf5819acba4979a7f732c1968339833cf4d71dc"></a>GEIS_FILTER_OP_LT</em> </td><td>
<p>Compares for less-than. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="gga7f26674f8204c7f92e76a4b56cbf5819a9a0f5fca7bcaa4c472cf3571f9150fd1"></a>GEIS_FILTER_OP_LE</em> </td><td>
<p>Compares for less-tha-or-equal. </p>
</td></tr>
</table>
</dd>
</dl>
</div>
</div>
<h2>Function Documentation</h2>
<a class="anchor" id="gae3d533aca3aed29df70116a90300373e"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GEIS_VARARG <a class="el" href="group__geis__common.html#ga7fe40cb68bb7a98f5429284514872790">GeisStatus</a> geis_filter_add_term </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_geis_filter.html">GeisFilter</a> </td>
<td class="paramname"><em>filter</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__geis__v2__filter.html#ga3ea4a448c1dc9d78a6e28719035984a3">GeisFilterFacility</a> </td>
<td class="paramname"><em>facility</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"> </td>
<td class="paramname"><em>...</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Adds a term to a filter. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">filter</td><td>The filter. </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">facility</td><td>The term facility. </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">...</td><td>A list of zero or more term descriptions.</td></tr>
</table>
</dd>
</dl>
<p>A term description is generally a (attr-name, filter-op, value) triple in which the meaning of the filter-op and value depend on the type of the attr.</p>
<p>The term description list must be terminated by a NULL.</p>
<p>In the following example we add terms to filter drag gestures made with three touch points: </p>
<div class="fragment"><div class="line"><a class="code" href="group__geis__v2__filter.html#gae3d533aca3aed29df70116a90300373e" title="Adds a term to a filter.">geis_filter_add_term</a>(filter,</div>
<div class="line"> <a class="code" href="group__geis__v2__filter.html#gga34f77c178889dfb4c0e0a67bab448a88a3092a0e76147413bc884853485f421bf" title="Filters on gesture class and gesture attributes.">GEIS_FILTER_CLASS</a>,</div>
<div class="line"> <a class="code" href="group__geis__v2__class.html#ga46052ce0f7ccf46032ea76947e272976" title="The name of the gesture class.">GEIS_CLASS_ATTRIBUTE_NAME</a>, <a class="code" href="group__geis__v2__filter.html#gga7f26674f8204c7f92e76a4b56cbf5819aa014b8c6c240fe69d981186af44ac92a" title="Compares for equality.">GEIS_FILTER_OP_EQ</a>, GEIS_GESTURE_DRAG,</div>
<div class="line"> GEIS_GESTURE_ATTRIBUTE_TOUCHES, <a class="code" href="group__geis__v2__filter.html#gga7f26674f8204c7f92e76a4b56cbf5819aa014b8c6c240fe69d981186af44ac92a" title="Compares for equality.">GEIS_FILTER_OP_EQ</a>, 3,</div>
<div class="line"> NULL);</div>
</div><!-- fragment --><p>Term descriptions are usually ANDed together, so that specifying a class name and a number of touches will filter only for gestures that have both characteristics. But if you specify several class names (e.g. drag and pinch), those classes are ORed together instead. So you can receive events from a gesture that belongs to either drag, drag&pinch or only pinch classes. </p>
</div>
</div>
<a class="anchor" id="ga07760a28436bb5ab4c4261a2a91d84dc"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_geis_filter.html">GeisFilter</a> geis_filter_clone </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_geis_filter.html">GeisFilter</a> </td>
<td class="paramname"><em>original</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">GeisString </td>
<td class="paramname"><em>name</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Creates a new filter by copying an existing filter. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">original</td><td>An existing geisFilter instance. </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">name</td><td>A name.</td></tr>
</table>
</dd>
</dl>
<p>The original filter remains unchanged.</p>
<dl class="section return"><dt>Returns</dt><dd>a <a class="el" href="class_geis_filter.html" title="Selects a subset of possible gestures in a subscription.">GeisFilter</a> object or NULL on failure. </dd></dl>
</div>
</div>
<a class="anchor" id="ga2c54f1ea7a127c879f655534555c02c5"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__geis__common.html#ga7fe40cb68bb7a98f5429284514872790">GeisStatus</a> geis_filter_delete </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_geis_filter.html">GeisFilter</a> </td>
<td class="paramname"><em>filter</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Destroys a <a class="el" href="class_geis_filter.html" title="Selects a subset of possible gestures in a subscription.">GeisFilter</a>. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">filter</td><td>The filter. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="ga552ba714bd1a68428df05a0906dc0090"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GeisString geis_filter_name </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_geis_filter.html">GeisFilter</a> </td>
<td class="paramname"><em>filter</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Gets the name given to the filter when it was created. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">filter</td><td>The filter. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="ga52d7bfa7915e2cedd4076a30daad6071"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_geis_filter.html">GeisFilter</a> geis_filter_new </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_geis.html">Geis</a> </td>
<td class="paramname"><em>geis</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">GeisString </td>
<td class="paramname"><em>name</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Creates a new, empty filter. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">geis</td><td>The GEIS API instance. </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">name</td><td>A name.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a <a class="el" href="class_geis_filter.html" title="Selects a subset of possible gestures in a subscription.">GeisFilter</a> object or NULL on failure. </dd></dl>
</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="footer">Generated on Thu Jun 13 2013 06:13:23 for GEIS by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.1.2 </li>
</ul>
</div>
</body>
</html>
|