mirror of
https://github.com/PiBrewing/craftbeerpi4.git
synced 2024-11-10 01:17:42 +01:00
59 lines
No EOL
1,022 B
ReStructuredText
59 lines
No EOL
1,022 B
ReStructuredText
Actor
|
|
=========
|
|
|
|
|
|
Architecture
|
|
^^^^^^^^^^^^
|
|
|
|
.. image:: picture.jpeg
|
|
:scale: 50%
|
|
|
|
ActorController
|
|
^^^^^^^^^^^^^^^
|
|
|
|
.. autoclass:: cbpi.controller.actor_controller.ActorController
|
|
:members:
|
|
:private-members:
|
|
:undoc-members:
|
|
:show-inheritance:
|
|
|
|
|
|
CBPiActor
|
|
^^^^^^^^^
|
|
|
|
.. autoclass:: cbpi.api.CBPiActor
|
|
:members:
|
|
:private-members:
|
|
:undoc-members:
|
|
:show-inheritance:
|
|
|
|
|
|
Custom Actor
|
|
^^^^^^^^^^^^^
|
|
|
|
.. literalinclude:: ../../cbpi/extension/dummyactor/__init__.py
|
|
:caption: __init__.py
|
|
:name: __init__-py
|
|
:language: python
|
|
:linenos:
|
|
|
|
|
|
config.yaml
|
|
|
|
.. literalinclude:: ../../cbpi/extension/dummyactor/config.yaml
|
|
:language: yaml
|
|
:linenos:
|
|
|
|
.. mermaid::
|
|
|
|
sequenceDiagram
|
|
participant Alice
|
|
participant Bob
|
|
Alice->John: Hello John, how are you?
|
|
loop Healthcheck
|
|
John->John: Fight against hypochondria
|
|
end
|
|
Note right of John: Rational thoughts <br/>prevail...
|
|
John-->Alice: Great!
|
|
John->Bob: How about you?
|
|
Bob-->John: Jolly good! |