#include <node.h>
|
| | Node () |
| |
| auto | spawn (const Behaviour &&_behaviour, const ExecConfigCallback &&_exec_config_callback) -> Pid |
| |
| auto | spawn_link (const Pid &_initial_link_pid, const Behaviour &&_behaviour, const ExecConfigCallback &&_exec_config_callback) -> Pid |
| |
| auto | process_flag (const Pid &pid, const ProcessFlag flag, const bool flag_setting) -> bool |
| |
| auto | send (const Pid &pid, const Message &message) -> bool |
| |
| auto | send (const Pid &pid, const string_view type, const string_view payload) -> bool |
| |
| auto | send_after (const Time time, const Pid &pid, const Message &message) -> TRef |
| |
| auto | send_after (const Time time, const Pid &pid, const string_view type, const string_view payload) -> TRef |
| |
| auto | send_interval (const Time time, const Pid &pid, const Message &message) -> TRef |
| |
| auto | send_interval (const Time time, const Pid &pid, const string_view type, const string_view payload) -> TRef |
| |
| auto | cancel (const TRef tref) -> bool |
| |
| auto | cancel_signal (const SignalRef signal_ref) -> bool |
| |
| auto | exit (const Pid &pid, const Pid &pid2, const Reason exit_reason) -> bool |
| |
| auto | register_name (const string_view name, const Pid &pid) -> bool |
| |
| auto | unregister (const string_view name) -> bool |
| |
| auto | registered () -> const NamedProcessRegistry |
| |
| auto | whereis (const string_view name) -> MaybePid |
| |
| auto | module (const string_view module_flatbuffer) -> bool |
| |
| auto | apply (const Pid &pid, const string_view function_name, const string_view args) -> ResultUnion |
| |
| auto | apply (const Pid &pid, const string_view module_name, const string_view function_name, const string_view args) -> ResultUnion |
| |
| auto | timer_callback (const TRef tref) -> bool |
| |
| auto | signal_timer_callback (const SignalRef signal_ref) -> bool |
| |
◆ FunctionRegistry
◆ ModuleRegistry
◆ NamedProcessRegistry
◆ ProcessPtr
◆ ProcessRegistry
◆ string
◆ string_view
◆ TimedMessages
◆ TimedSignals
◆ Node()
| ActorModel::Node::Node |
( |
| ) |
|
◆ _spawn()
◆ apply() [1/2]
◆ apply() [2/2]
◆ cancel()
| auto ActorModel::Node::cancel |
( |
const TRef |
tref | ) |
-> bool |
◆ cancel_signal()
| auto ActorModel::Node::cancel_signal |
( |
const SignalRef |
signal_ref | ) |
-> bool |
◆ exit()
◆ module()
◆ process_flag()
◆ process_signal()
◆ register_name()
◆ registered()
◆ send() [1/2]
◆ send() [2/2]
◆ send_after() [1/2]
◆ send_after() [2/2]
◆ send_interval() [1/2]
◆ send_interval() [2/2]
◆ signal()
| auto ActorModel::Node::signal |
( |
const Pid & |
pid, |
|
|
flatbuffers::DetachedBuffer && |
signal_buf |
|
) |
| -> SignalRef |
|
protected |
◆ signal_timer_callback()
| auto ActorModel::Node::signal_timer_callback |
( |
const SignalRef |
signal_ref | ) |
-> bool |
◆ spawn()
◆ spawn_link()
◆ start_timer()
| auto ActorModel::Node::start_timer |
( |
const Time |
time, |
|
|
const Pid & |
pid, |
|
|
flatbuffers::DetachedBuffer && |
message_buf, |
|
|
const bool |
is_recurring = false |
|
) |
| -> TRef |
|
protected |
◆ terminate()
| auto ActorModel::Node::terminate |
( |
const Pid & |
pid | ) |
-> bool |
|
protected |
◆ timer_callback()
| auto ActorModel::Node::timer_callback |
( |
const TRef |
tref | ) |
-> bool |
◆ unregister()
◆ whereis()
◆ Process
◆ function_registry
◆ module_registry
◆ named_process_registry
◆ next_signal_ref
| SignalRef ActorModel::Node::next_signal_ref = 1 |
|
protected |
◆ next_tref
| TRef ActorModel::Node::next_tref = 1 |
|
protected |
◆ process_registry
◆ timed_messages
◆ timed_signals
The documentation for this class was generated from the following files:
- firmware/esp32-network-lib/actor_model/src/node.h
- firmware/esp32-network-lib/actor_model/src/node.cpp