mirror of https://github.com/AxioDL/jbus.git
219 lines
9.9 KiB
HTML
219 lines
9.9 KiB
HTML
<!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>JBus: jbus::Listener 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="navtree.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="resize.js"></script>
|
|
<script type="text/javascript" src="navtreedata.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/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">JBus
|
|
</div>
|
|
<div id="projectbrief">JoyBus communication server</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 Page</span></a></li>
|
|
<li><a href="namespaces.html"><span>Namespaces</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 List</span></a></li>
|
|
<li><a href="classes.html"><span>Class Index</span></a></li>
|
|
<li><a href="functions.html"><span>Class 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('classjbus_1_1Listener.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)">
|
|
</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="#pub-methods">Public Member Functions</a> |
|
|
<a href="classjbus_1_1Listener-members.html">List of all members</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">jbus::Listener Class Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
|
|
<p><code>#include <<a class="el" href="Listener_8hpp_source.html">Listener.hpp</a>></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:a2fd5a552555c94be0b03bf2c66ea5e2b"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classjbus_1_1Listener.html#a2fd5a552555c94be0b03bf2c66ea5e2b">start</a> ()</td></tr>
|
|
<tr class="memdesc:a2fd5a552555c94be0b03bf2c66ea5e2b"><td class="mdescLeft"> </td><td class="mdescRight">Start listener thread. <a href="#a2fd5a552555c94be0b03bf2c66ea5e2b">More...</a><br /></td></tr>
|
|
<tr class="separator:a2fd5a552555c94be0b03bf2c66ea5e2b"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a40c805d7681e609d72acad900579fe76"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classjbus_1_1Listener.html#a40c805d7681e609d72acad900579fe76">stop</a> ()</td></tr>
|
|
<tr class="memdesc:a40c805d7681e609d72acad900579fe76"><td class="mdescLeft"> </td><td class="mdescRight">Request stop of listener thread and block until joined. <a href="#a40c805d7681e609d72acad900579fe76">More...</a><br /></td></tr>
|
|
<tr class="separator:a40c805d7681e609d72acad900579fe76"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aca4aeff837a26d69ec7f4dec6572e986"><td class="memItemLeft" align="right" valign="top">std::unique_ptr< <a class="el" href="classjbus_1_1Endpoint.html">Endpoint</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classjbus_1_1Listener.html#aca4aeff837a26d69ec7f4dec6572e986">accept</a> ()</td></tr>
|
|
<tr class="memdesc:aca4aeff837a26d69ec7f4dec6572e986"><td class="mdescLeft"> </td><td class="mdescRight">Pop <a class="el" href="classjbus_1_1Endpoint.html">jbus::Endpoint</a> off <a class="el" href="classjbus_1_1Listener.html">Listener</a>'s queue. <a href="#aca4aeff837a26d69ec7f4dec6572e986">More...</a><br /></td></tr>
|
|
<tr class="separator:aca4aeff837a26d69ec7f4dec6572e986"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a979078fd2cb5e4faeaa668dfda8f8e9d"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classjbus_1_1Listener.html#a979078fd2cb5e4faeaa668dfda8f8e9d">~Listener</a> ()</td></tr>
|
|
<tr class="separator:a979078fd2cb5e4faeaa668dfda8f8e9d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<div class="textblock"><p>Server interface for accepting incoming connections from GBA emulator instances. </p>
|
|
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
|
<a class="anchor" id="a979078fd2cb5e4faeaa668dfda8f8e9d"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">jbus::Listener::~Listener </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Member Function Documentation</h2>
|
|
<a class="anchor" id="aca4aeff837a26d69ec7f4dec6572e986"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">std::unique_ptr<<a class="el" href="classjbus_1_1Endpoint.html">Endpoint</a>> jbus::Listener::accept </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Pop <a class="el" href="classjbus_1_1Endpoint.html">jbus::Endpoint</a> off <a class="el" href="classjbus_1_1Listener.html">Listener</a>'s queue. </p>
|
|
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classjbus_1_1Endpoint.html">Endpoint</a> instance, ready to issue commands. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a2fd5a552555c94be0b03bf2c66ea5e2b"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void jbus::Listener::start </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Start listener thread. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a40c805d7681e609d72acad900579fe76"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void jbus::Listener::stop </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Request stop of listener thread and block until joined. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/>The documentation for this class was generated from the following file:<ul>
|
|
<li>include/jbus/<a class="el" href="Listener_8hpp_source.html">Listener.hpp</a></li>
|
|
</ul>
|
|
</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="namespacejbus.html">jbus</a></li><li class="navelem"><a class="el" href="classjbus_1_1Listener.html">Listener</a></li>
|
|
<li class="footer">Generated by
|
|
<a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
|
|
</ul>
|
|
</div>
|
|
</body>
|
|
</html>
|