Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of boost. Click here for the latest Boost documentation.
PrevUpHomeNext

Class enqueued_record

boost::log::sinks::unbounded_ordering_queue::enqueued_record — Log record with enqueueing timestamp.

Synopsis

// In header: <boost/log/sinks/unbounded_ordering_queue.hpp>



// Log record with enqueueing timestamp.

class enqueued_record {
public:
  // member classes/structs/unions

  // Ordering predicate.

  struct order : public OrderT {
    // types
    typedef OrderT::result_type result_type;

    // construct/copy/destruct
    order();
    order(order const &);
    order(OrderT const &);

    // public member functions
    result_type operator()(enqueued_record const &, enqueued_record const &) const;
  };
  // construct/copy/destruct
  enqueued_record(enqueued_record const &);
  enqueued_record(enqueued_record &&);
  explicit enqueued_record(record_view const &);
  enqueued_record& operator=(enqueued_record const &);
  enqueued_record& operator=(enqueued_record &&);

  // public data members
  unspecified m_timestamp;
  record_view m_record;
};

Description

enqueued_record public construct/copy/destruct

  1. enqueued_record(enqueued_record const & that);
  2. enqueued_record(enqueued_record && that);
  3. explicit enqueued_record(record_view const & rec);
  4. enqueued_record& operator=(enqueued_record const & that);
  5. enqueued_record& operator=(enqueued_record && that);

PrevUpHomeNext