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

Context template parameter indicating the Context is ipc enabled and it can be attached (see ipc_attacher below) to an ipc transport (thru its name). More...

#include <Context.hpp>

Detailed Description

Context template parameter indicating the Context is ipc enabled and it can be attached (see ipc_attacher below) to an ipc transport (thru its name).

In addition to the normal Context functions, the Context acts as the creator (owner) of the named ipc transport. Since it performs a critical function to purge crushed or stuck Clients to avoid buffer full for other well-behaving Clients, it is expected to be running (started) as long as ipc functions. 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: