Flow-IPC 1.0.2
Flow-IPC project: Public API.
Namespaces | Functions
shm_fwd.hpp File Reference

Namespaces

namespace  ipc
 Catch-all namespace for the Flow-IPC project: A library/API in modern C++17 providing high-performance communication between processes.
 
namespace  ipc::transport
 Flow-IPC module providing transmission of structured messages and/or low-level blobs (and more) between pairs of processes.
 
namespace  ipc::transport::struc
 Sub-module of Flow-IPC module ipc::transport providing transmission of structured messages specifically.
 
namespace  ipc::transport::struc::shm
 Segregates zero-copy/SHM implementations of concepts residing in parent namespace ipc::transport::struc proper – most notably the concepts ipc::transport::struc::Struct_builder and ipc::transport::struc::Struct_reader – and items related to them.
 

Functions

void ipc::transport::struc::shm::capnp_set_lent_shm_handle (schema::ShmHandle::Builder *shm_handle_root, const flow::util::Blob_sans_log_context &lend_result)
 Utility that saves the result of a Shm_session1::lend_object<T>(const shared_ptr<T>&) result into the given capnp-generated ShmHandle-typed field. More...
 
void ipc::transport::struc::shm::capnp_get_shm_handle_to_borrow (const schema::ShmHandle::Reader &shm_handle_root, flow::util::Blob_sans_log_context *arg_to_borrow)
 Utility that's the reverse of capnp_set_lent_shm_handle() to be invoked on the deserializing side. More...
 
template<typename Shm_arena >
std::ostream & ipc::transport::struc::shm::operator<< (std::ostream &os, const Builder< Shm_arena > &val)
 Prints string representation of the given Builder to the given ostream. More...
 
template<typename Shm_arena >
std::ostream & ipc::transport::struc::shm::operator<< (std::ostream &os, const Reader< Shm_arena > &val)
 Prints string representation of the given Reader to the given ostream. More...
 
template<typename Shm_arena >
std::ostream & ipc::transport::struc::shm::operator<< (std::ostream &os, const Capnp_message_builder< Shm_arena > &val)
 Prints string representation of the given Capnp_message_builder to the given ostream. More...