Boost C++ Libraries

PrevUpHomeNext

Class entry

boost::taar::context_store::entry — One stored context with its bookkeeping. Obtain through find, emplace or create.

Synopsis

// In header: <boost/taar/core/context_store.hpp>



// One stored context with its bookkeeping. Obtain through find, emplace or create. 

class entry {
public:

  // public member functions
  entry(Key, std::shared_ptr< Context >, time_point);
  Key  const & key() const noexcept;
  std::shared_ptr< Context > const & context() const noexcept;
  time_point last_activity() const noexcept;
  bool in_flight() const noexcept;
};

Description

entry public member functions

  1. entry(Key key, std::shared_ptr< Context > context, time_point now);
  2. Key  const & key() const noexcept;
  3. std::shared_ptr< Context > const & context() const noexcept;
  4. time_point last_activity() const noexcept;
  5. bool in_flight() const noexcept;

PrevUpHomeNext