mirror of
https://github.com/PiBrewing/craftbeerpi4.git
synced 2024-12-23 14:04:58 +01:00
163 lines
6.1 KiB
HTML
163 lines
6.1 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="X-UA-Compatible" content="IE=Edge" />
|
|||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|||
|
<title>Actor API — CraftBeerPi 4.0 documentation</title>
|
|||
|
<link rel="stylesheet" href="_static/alabaster.css" type="text/css" />
|
|||
|
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
|
|||
|
<script type="text/javascript" id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></script>
|
|||
|
<script type="text/javascript" src="_static/jquery.js"></script>
|
|||
|
<script type="text/javascript" src="_static/underscore.js"></script>
|
|||
|
<script type="text/javascript" src="_static/doctools.js"></script>
|
|||
|
<script async="async" type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
|
|||
|
<link rel="index" title="Index" href="genindex.html" />
|
|||
|
<link rel="search" title="Search" href="search.html" />
|
|||
|
<link rel="next" title="Sensor API" href="sensor.html" />
|
|||
|
<link rel="prev" title="Welcome to CraftBeerPi’s documentation!" href="index.html" />
|
|||
|
|
|||
|
<link rel="stylesheet" href="_static/custom.css" type="text/css" />
|
|||
|
|
|||
|
|
|||
|
<meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9" />
|
|||
|
|
|||
|
</head><body>
|
|||
|
|
|||
|
|
|||
|
<div class="document">
|
|||
|
<div class="documentwrapper">
|
|||
|
<div class="bodywrapper">
|
|||
|
|
|||
|
|
|||
|
<div class="body" role="main">
|
|||
|
|
|||
|
<div class="section" id="actor-api">
|
|||
|
<h1>Actor API<a class="headerlink" href="#actor-api" title="Permalink to this headline">¶</a></h1>
|
|||
|
<div class="section" id="test">
|
|||
|
<h2>Test<a class="headerlink" href="#test" title="Permalink to this headline">¶</a></h2>
|
|||
|
<p>HELLO WORLD</p>
|
|||
|
<span class="target" id="module-core.controller.actor_controller"></span><dl class="class">
|
|||
|
<dt id="core.controller.actor_controller.ActorController">
|
|||
|
<em class="property">class </em><code class="descclassname">core.controller.actor_controller.</code><code class="descname">ActorController</code><span class="sig-paren">(</span><em>cbpi</em><span class="sig-paren">)</span><a class="headerlink" href="#core.controller.actor_controller.ActorController" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>The main actor controller</p>
|
|||
|
<dl class="method">
|
|||
|
<dt id="core.controller.actor_controller.ActorController.init">
|
|||
|
<code class="descname">init</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#core.controller.actor_controller.ActorController.init" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>This method initializes all actors during startup. It creates actor instances</p>
|
|||
|
<table class="docutils field-list" frame="void" rules="none">
|
|||
|
<col class="field-name" />
|
|||
|
<col class="field-body" />
|
|||
|
<tbody valign="top">
|
|||
|
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body"></td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="method">
|
|||
|
<dt id="core.controller.actor_controller.ActorController.off">
|
|||
|
<code class="descname">off</code><span class="sig-paren">(</span><em>id</em>, <em>**kwargs</em><span class="sig-paren">)</span> → None<a class="headerlink" href="#core.controller.actor_controller.ActorController.off" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><table class="docutils field-list" frame="void" rules="none">
|
|||
|
<col class="field-name" />
|
|||
|
<col class="field-body" />
|
|||
|
<tbody valign="top">
|
|||
|
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
|
|||
|
<li><strong>id</strong> – </li>
|
|||
|
<li><strong>kwargs</strong> – </li>
|
|||
|
</ul>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
<dl class="method">
|
|||
|
<dt id="core.controller.actor_controller.ActorController.register">
|
|||
|
<code class="descname">register</code><span class="sig-paren">(</span><em>name</em>, <em>clazz</em><span class="sig-paren">)</span> → None<a class="headerlink" href="#core.controller.actor_controller.ActorController.register" title="Permalink to this definition">¶</a></dt>
|
|||
|
<dd><p>Register a new actor type
|
|||
|
:param name: actor name
|
|||
|
:param clazz: actor class
|
|||
|
:return: None</p>
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
</dd></dl>
|
|||
|
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
|
|||
|
|
|||
|
</div>
|
|||
|
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
|||
|
<div class="sphinxsidebarwrapper">
|
|||
|
<h1 class="logo"><a href="index.html">CraftBeerPi</a></h1>
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
<h3>Navigation</h3>
|
|||
|
<ul class="current">
|
|||
|
<li class="toctree-l1 current"><a class="current reference internal" href="#">Actor API</a></li>
|
|||
|
<li class="toctree-l1"><a class="reference internal" href="sensor.html">Sensor API</a></li>
|
|||
|
<li class="toctree-l1"><a class="reference internal" href="step.html">Step API</a></li>
|
|||
|
</ul>
|
|||
|
|
|||
|
<div class="relations">
|
|||
|
<h3>Related Topics</h3>
|
|||
|
<ul>
|
|||
|
<li><a href="index.html">Documentation overview</a><ul>
|
|||
|
<li>Previous: <a href="index.html" title="previous chapter">Welcome to CraftBeerPi’s documentation!</a></li>
|
|||
|
<li>Next: <a href="sensor.html" title="next chapter">Sensor API</a></li>
|
|||
|
</ul></li>
|
|||
|
</ul>
|
|||
|
</div>
|
|||
|
<div id="searchbox" style="display: none" role="search">
|
|||
|
<h3>Quick search</h3>
|
|||
|
<div class="searchformwrapper">
|
|||
|
<form class="search" action="search.html" method="get">
|
|||
|
<input type="text" name="q" />
|
|||
|
<input type="submit" value="Go" />
|
|||
|
<input type="hidden" name="check_keywords" value="yes" />
|
|||
|
<input type="hidden" name="area" value="default" />
|
|||
|
</form>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<script type="text/javascript">$('#searchbox').show(0);</script>
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<div class="clearer"></div>
|
|||
|
</div>
|
|||
|
<div class="footer">
|
|||
|
©2018, Manuel Fritsch.
|
|||
|
|
|||
|
|
|
|||
|
Powered by <a href="http://sphinx-doc.org/">Sphinx 1.8.1</a>
|
|||
|
& <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.12</a>
|
|||
|
|
|||
|
|
|
|||
|
<a href="_sources/actor.rst.txt"
|
|||
|
rel="nofollow">Page source</a>
|
|||
|
</div>
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
</body>
|
|||
|
</html>
|