A base class for an attribute value implementation. More...
#include <attribute_value.hpp>
Public Member Functions | |
virtual bool | dispatch (type_dispatcher &dispatcher)=0 |
The method dispatches the value to the given object. More... | |
virtual intrusive_ptr< impl > | detach_from_thread () |
The method is called when the attribute value is passed to another thread (e.g. More... | |
virtual attribute_value | get_value () |
virtual type_info_wrapper | get_type () const |
Static Public Member Functions | |
static BOOST_LOG_API void * | operator new (std::size_t size) |
static BOOST_LOG_API void | operator delete (void *p, std::size_t size) BOOST_NOEXCEPT |
A base class for an attribute value implementation.
All attribute value holders should derive from this interface.
|
inlinevirtual |
The method is called when the attribute value is passed to another thread (e.g.
in case of asynchronous logging). The value should ensure it properly owns all thread-specific data.
Reimplemented in boost::sources::aux::severity_level< LevelT >::impl, and boost::attributes::current_thread_id::impl.
Referenced by boost::attribute_value::detach_from_thread().
|
pure virtual |
The method dispatches the value to the given object.
dispatcher | The object that attempts to dispatch the stored value. |
Implemented in boost::attributes::attribute_value_impl< T >, boost::attributes::attribute_value_impl< value_type >, boost::sources::aux::severity_level< LevelT >::impl, and boost::attributes::current_thread_id::impl.
Referenced by boost::attribute_value::dispatch().
|
inlinevirtual |
Reimplemented in boost::attributes::attribute_value_impl< T >, boost::attributes::attribute_value_impl< value_type >, and boost::attributes::current_thread_id::impl.
Referenced by boost::attribute_value::get_type().
|
inlinevirtual |
Implements boost::attribute::impl.
References boost::attribute_value::attribute_value().
|
staticinherited |
|
staticinherited |