Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
async_frontend.hpp File Reference
#include <boost/log/detail/config.hpp>
#include <boost/bind.hpp>
#include <boost/static_assert.hpp>
#include <boost/smart_ptr/shared_ptr.hpp>
#include <boost/smart_ptr/make_shared_object.hpp>
#include <boost/thread/locks.hpp>
#include <boost/thread/recursive_mutex.hpp>
#include <boost/thread/thread.hpp>
#include <boost/thread/condition_variable.hpp>
#include <boost/log/exceptions.hpp>
#include <boost/log/detail/locking_ptr.hpp>
#include <boost/log/detail/parameter_tools.hpp>
#include <boost/log/core/record_view.hpp>
#include <boost/log/sinks/basic_sink_frontend.hpp>
#include <boost/log/sinks/frontend_requirements.hpp>
#include <boost/log/sinks/unbounded_fifo_queue.hpp>
#include <boost/log/keywords/start_thread.hpp>
#include <boost/log/detail/header.hpp>
#include <boost/log/detail/footer.hpp>
Include dependency graph for async_frontend.hpp:
This graph shows which files directly or indirectly include this file:

Classes

class  boost::sinks::asynchronous_sink< SinkBackendT, QueueingStrategyT >
 Asynchronous logging sink frontend. More...
 

Namespaces

 boost
 Duration formatting facet for input.
 
 boost::sinks
 

Macros

#define BOOST_LOG_SINK_CTOR_FORWARD_INTERNAL(z, n, types)
 

Detailed Description

Author
Andrey Semashev
Date
14.07.2009

The header contains implementation of asynchronous sink frontend.

Macro Definition Documentation

#define BOOST_LOG_SINK_CTOR_FORWARD_INTERNAL (   z,
  n,
  types 
)
Value:
template< BOOST_PP_ENUM_PARAMS(n, typename T) >\
explicit asynchronous_sink(BOOST_PP_ENUM_BINARY_PARAMS(n, T, const& arg)) :\
base_type(true),\
queue_base_type((BOOST_PP_ENUM_PARAMS(n, arg))),\
m_pBackend(boost::make_shared< sink_backend_type >(BOOST_PP_ENUM_PARAMS(n, arg))),\
m_StopRequested(false),\
m_FlushRequested(false)\
{\
if ((BOOST_PP_ENUM_PARAMS(n, arg))[keywords::start_thread | true])\
start_feeding_thread();\
}\
template< BOOST_PP_ENUM_PARAMS(n, typename T) >\
explicit asynchronous_sink(shared_ptr< sink_backend_type > const& backend, BOOST_PP_ENUM_BINARY_PARAMS(n, T, const& arg)) :\
base_type(true),\
queue_base_type((BOOST_PP_ENUM_PARAMS(n, arg))),\
m_pBackend(backend),\
m_StopRequested(false),\
m_FlushRequested(false)\
{\
if ((BOOST_PP_ENUM_PARAMS(n, arg))[keywords::start_thread | true])\
start_feeding_thread();\
}
Duration formatting facet for input.
Definition: accumulators_fwd.hpp:55
T
Definition: mem_fn_cc.hpp:25
if(num_vertices(iG)!=num_vertices(vG)) return
#define n
Definition: register_functions_iterate.hpp:7
Definition: arg_fwd.hpp:23
#define BOOST_PP_ENUM_BINARY_PARAMS(count, p1, p2)
Definition: enum_binary_params.hpp:27
boost::detail::sp_if_array< T >::type make_shared(std::size_t size)
Definition: make_shared_array.hpp:18
#define BOOST_PP_ENUM_PARAMS(count, param)
Definition: enum_params.hpp:26