Flow-IPC 1.0.0
Flow-IPC project: Full implementation reference.
Namespaces | Functions
util.hpp File Reference
#include "ipc/util/util_fwd.hpp"
#include "ipc/util/detail/util_fwd.hpp"
#include "ipc/util/shared_name.hpp"
#include <flow/error/error.hpp>
#include <flow/common.hpp>
#include <boost/interprocess/exceptions.hpp>

Go to the source code of this file.

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::util
 Flow-IPC module containing miscellaneous general-use facilities that ubiquitously used by ~all Flow-IPC modules and/or do not fit into any other Flow-IPC module.
 

Functions

template<typename Func >
void ipc::util::op_with_possible_bipc_exception (flow::log::Logger *logger_ptr, Error_code *err_code, const Error_code &misc_bipc_lib_error, String_view context, const Func &func)
 Internal (to ipc) utility that invokes the given function that invokes a boost.interprocess operation that is documented to throw bipc::interprocess_exception on failure; if indeed it throws the utility emits an error in the Flow error-reporting style. More...
 
template<typename Handle_name_func >
void ipc::util::for_each_persistent_impl (const fs::path &persistent_obj_dev_dir_path, const Handle_name_func &handle_name_func)
 Implementation of Persistent_object::for_each_persistent(); for example see shm::classic::Pool_arena::for_each_persistent(). More...
 
template<typename Handle_name_func >
void ipc::util::for_each_persistent_shm_pool (const Handle_name_func &handle_name_func)
 Equivalent to shm::classic::Pool_arena::for_each_persistent(). More...