Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
ipc_client.cpp
Go to the documentation of this file.
5#include <cstddef>
6#include <memory>
7#include <string>
8
9namespace bb::ipc {
10
12{
13 return std::make_unique<SocketClient>(socket_path);
14}
15
17{
18 return std::make_unique<ShmClient>(base_name);
19}
20
21std::unique_ptr<IpcClient> IpcClient::create_mpsc_shm(const std::string& base_name, size_t client_id)
22{
23 return std::make_unique<MpscShmClient>(base_name, client_id);
24}
25
26} // namespace bb::ipc
static std::unique_ptr< IpcClient > create_mpsc_shm(const std::string &base_name, size_t client_id)
static std::unique_ptr< IpcClient > create_socket(const std::string &socket_path)
static std::unique_ptr< IpcClient > create_shm(const std::string &base_name)
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
Definition tuple.hpp:13