Channel feature implementation. More...
#include <channel_feature.hpp>


Public Types | |
| typedef base_type::char_type | char_type | 
| Character type.  More... | |
| typedef base_type::final_type | final_type | 
| Final type.  More... | |
| typedef base_type::threading_model | threading_model | 
| Threading model being used.  More... | |
| typedef ChannelT | channel_type | 
| Channel type.  More... | |
| typedef  attributes::mutable_constant < channel_type >  | channel_attribute | 
| Channel attribute type.  More... | |
| typedef strictest_lock < typename base_type::open_record_lock, boost::log::aux::exclusive_lock_guard < threading_model > >::type  | open_record_lock | 
Lock requirement for the open_record_unlocked method.  More... | |
| typedef strictest_lock < typename base_type::swap_lock, boost::log::aux::exclusive_lock_guard < threading_model > >::type  | swap_lock | 
Lock requirement for the swap_unlocked method.  More... | |
Public Member Functions | |
| basic_channel_logger () | |
| Default constructor.  More... | |
| basic_channel_logger (basic_channel_logger const &that) | |
| Copy constructor.  More... | |
| basic_channel_logger (BOOST_RV_REF(basic_channel_logger) that) | |
| Move constructor.  More... | |
| template<typename ArgsT > | |
| basic_channel_logger (ArgsT const &args) | |
| Constructor with arguments.  More... | |
| channel_type | channel () const | 
| The observer of the channel name.  More... | |
| void | channel (channel_type const &ch) | 
| The setter of the channel name.  More... | |
Protected Member Functions | |
| channel_attribute const & | get_channel_attribute () const | 
| Channel attribute accessor.  More... | |
| template<typename ArgsT > | |
| record | open_record_unlocked (ArgsT const &args) | 
Unlocked open_record.  More... | |
| void | swap_unlocked (basic_channel_logger &that) | 
| Unlocked swap.  More... | |
Channel feature implementation.
| typedef attributes::mutable_constant< channel_type > boost::sources::basic_channel_logger< BaseT, ChannelT >::channel_attribute | 
Channel attribute type.
| typedef ChannelT boost::sources::basic_channel_logger< BaseT, ChannelT >::channel_type | 
Channel type.
| typedef base_type::char_type boost::sources::basic_channel_logger< BaseT, ChannelT >::char_type | 
Character type.
| typedef base_type::final_type boost::sources::basic_channel_logger< BaseT, ChannelT >::final_type | 
Final type.
| typedef strictest_lock< typename base_type::open_record_lock, boost::log::aux::exclusive_lock_guard< threading_model > >::type boost::sources::basic_channel_logger< BaseT, ChannelT >::open_record_lock | 
Lock requirement for the open_record_unlocked method. 
| typedef strictest_lock< typename base_type::swap_lock, boost::log::aux::exclusive_lock_guard< threading_model > >::type boost::sources::basic_channel_logger< BaseT, ChannelT >::swap_lock | 
Lock requirement for the swap_unlocked method. 
| typedef base_type::threading_model boost::sources::basic_channel_logger< BaseT, ChannelT >::threading_model | 
Threading model being used.
      
  | 
  inline | 
Default constructor.
The constructed logger has the default-constructed channel name.
      
  | 
  inline | 
Copy constructor.
      
  | 
  inline | 
Move constructor.
      
  | 
  inlineexplicit | 
Constructor with arguments.
Allows to register a channel name attribute on construction.
| args | A set of named arguments. The following arguments are supported: 
  | 
      
  | 
  inline | 
The observer of the channel name.
References boost::lock().
      
  | 
  inline | 
The setter of the channel name.
| ch | The channel name to be set for the logger | 
References boost::lock().
      
  | 
  inlineprotected | 
Channel attribute accessor.
      
  | 
  inlineprotected | 
Unlocked open_record. 
      
  | 
  inlineprotected | 
Unlocked swap.