Everett
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | Friends | List of all members
everett::session< Engine >::ticket Struct Reference

#include <session.h>

Public Member Functions

 ticket ()=default
 
bool valid () const noexcept
 
bool ready () const
 
void wait () const
 
snapshot_type get () const
 

Private Attributes

std::shared_ptr< identity const > owner_
 
std::weak_ptr< request > request_
 
std::shared_future< snapshot_type > result_
 

Friends

struct session
 

Constructor & Destructor Documentation

◆ ticket()

template<class Engine >
everett::session< Engine >::ticket::ticket ( )
default

Member Function Documentation

◆ get()

template<class Engine >
snapshot_type everett::session< Engine >::ticket::get ( ) const
inline

◆ ready()

template<class Engine >
bool everett::session< Engine >::ticket::ready ( ) const
inline

◆ valid()

template<class Engine >
bool everett::session< Engine >::ticket::valid ( ) const
inlinenoexcept

◆ wait()

template<class Engine >
void everett::session< Engine >::ticket::wait ( ) const
inline

Friends And Related Symbol Documentation

◆ session

template<class Engine >
friend struct session
friend

Member Data Documentation

◆ owner_

template<class Engine >
std::shared_ptr<identity const> everett::session< Engine >::ticket::owner_
private

◆ request_

template<class Engine >
std::weak_ptr<request> everett::session< Engine >::ticket::request_
private

◆ result_

template<class Engine >
std::shared_future<snapshot_type> everett::session< Engine >::ticket::result_
private

The documentation for this struct was generated from the following file: