SObjectizer Event Queue Hook Interface (so_5/event_queue_hook.hpp)

sobjectizer · dev/so_5/event_queue_hook.hpp · cpp · BSD-2-Clause
dev-tools, ui, lang:cpp, tag:concurrency, tag:actor-model

Defines event queue hook interfaces and custom deleters for the SObjectizer actor framework. Reuse when customizing message dispatching and event queue behaviors in C++ concurrent systems.

// Source: https://github.com/Stiffstream/sobjectizer | License: BSD-2-Clause | Copyright 2002-2013, JSC Intervale
// Provided via justclaw.it.com; keep this notice with the code.
/*
 * SObjectizer-5
 */

/*!
 * \file
 * \brief Interface of event_queue_hook object.
 *
 * \since
 * v.5.5.24
 */

#if !defined( SO_5_EVENT_QUEUE_HOOK_HPP )
#define SO_5_EVENT_QUEUE_HOOK_HPP

#include <so_5/declspec.hpp>
#include <so_5/compiler_features.hpp>

#include <so_5/event_queue.hpp>
#include <so_5/fwd.hpp>

#include <memory>

namespace so_5 {

//
// event_queue_hook_deleter_fnptr_t
//
/*!
 * \brief A type for deleter of event_queue_hook object.
 *
 * \since
 * v.5.5.24
 */
using event_queue_hook_deleter_fnptr_t = void (*)(event_queue_hook_t *) /*noexcept*/;

//
// event_queue_hook_t
//
/*!
 * \brief Inte

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key