Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
ipc_client.cpp
Go to the documentation of this file.
1
#include "
barretenberg/ipc/ipc_client.hpp
"
2
#include "
barretenberg/ipc/shm_client.hpp
"
3
#include "
barretenberg/ipc/socket_client.hpp
"
4
#include <cstddef>
5
#include <memory>
6
#include <string>
7
8
namespace
bb::ipc
{
9
10
std::unique_ptr<IpcClient>
IpcClient::create_socket
(
const
std::string& socket_path)
11
{
12
return
std::make_unique<SocketClient>
(socket_path);
13
}
14
15
std::unique_ptr<IpcClient>
IpcClient::create_shm
(
const
std::string& base_name)
16
{
17
return
std::make_unique<ShmClient>
(base_name);
18
}
19
20
}
// namespace bb::ipc
bb::ipc::IpcClient::create_socket
static std::unique_ptr< IpcClient > create_socket(const std::string &socket_path)
Definition
ipc_client.cpp:10
bb::ipc::IpcClient::create_shm
static std::unique_ptr< IpcClient > create_shm(const std::string &base_name)
Definition
ipc_client.cpp:15
ipc_client.hpp
bb::ipc
Definition
ipc_client.cpp:8
std::get
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
Definition
tuple.hpp:13
shm_client.hpp
socket_client.hpp
src
barretenberg
ipc
ipc_client.cpp
Generated by
1.9.8