18#include "pw_allocator/allocator.h"
19#include "pw_channel/channel.h"
20#include "pw_function/function.h"
21#include "pw_rpc/server.h"
33system::AsyncCore&
System();
66 : rpc_channels_{}, rpc_server_(rpc_channels_) {}
73 rpc::Server rpc_server_;
Definition: allocator.h:34
A single-threaded cooperatively-scheduled runtime for async tasks.
Definition: dispatcher.h:46
Definition: channel.h:235
Allocator & allocator()
Returns the system pw::Allocator instance.
rpc::Server & rpc_server()
Returns the system pw::rpc::Server instance.
Definition: system.h:52
async2::Dispatcher & dispatcher()
Returns the system pw::async2::Dispatcher instance.
bool RunOnce(Function< void()> &&function)
fit::function_impl< function_internal::config::kInlineCallableSize, !function_internal::config::kEnableDynamicAllocation, FunctionType, PW_FUNCTION_DEFAULT_ALLOCATOR_TYPE > Function
Definition: function.h:74
Provides basic helpers for reading and writing UTF-8 encoded strings.
Definition: alignment.h:27
void SystemStart(channel::ByteReaderWriter &io_channel)
system::AsyncCore & System()
Definition: system.h:78