18#include "pw_allocator/allocator.h"
19#include "pw_channel/channel.h"
20#include "pw_function/function.h"
21#include "pw_rpc/server.h"
70 : rpc_channels_{}, rpc_server_(rpc_channels_) {}
77 rpc::Server rpc_server_;
Definition: allocator.h:36
A single-threaded cooperatively scheduled runtime for async tasks.
Definition: dispatcher.h:48
Definition: channel.h:247
fit::function_impl< function_internal::config::kInlineCallableSize, !function_internal::config::kEnableDynamicAllocation, FunctionType, PW_FUNCTION_DEFAULT_ALLOCATOR_TYPE > Function
Definition: function.h:73
Allocator & allocator()
Returns the system pw::Allocator instance.
void SystemStart(channel::ByteReaderWriter &io_channel)
rpc::Server & rpc_server()
Returns the system pw::rpc::Server instance.
Definition: system.h:56
async2::Dispatcher & dispatcher()
Returns the system pw::async2::Dispatcher instance.
bool RunOnce(Function< void()> &&function)
system::AsyncCore & System()
Definition: system.h:82
The Pigweed namespace.
Definition: alignment.h:27