hmbdc
simplify-high-performance-messaging-programming
hmbdc::app::context_property::ipc_attacher Class Reference

Context template parameter indicating the Context is ipc enabled and it can attach to an ipc transport thru a name. More...

#include <Context.hpp>

Detailed Description

Context template parameter indicating the Context is ipc enabled and it can attach to an ipc transport thru a name.

it is very important that the Context is constructed exactly the same size (see constructor) and type (partition vs broadcast) as the ipc transport creator specified (ipc_creator Context). All Contexts attaching to a single ipc transport collectively is subjected to the max_parallel_consumer limits just like a sinlge local (non-ipc) Context does. Example in ipc-market-data-propagate.cpp

using SenderContext = Context<sizeof(MarketData), context_property::ipc_creator>;
using RecvContext = Context<sizeof(MarketData), context_property::ipc_attacher>;

The documentation for this class was generated from the following file: