MOTION  0.01
Framework for mixed-protocol multi-party computation
Public Member Functions | List of all members
encrypto::motion::ReusableFuture< R, MutexType, ConditionVariableType > Class Template Reference

#include <reusable_future.h>

Public Member Functions

 ReusableFuture () noexcept
 
 ReusableFuture (const ReusableFuture &)=delete
 
 ReusableFuture (ReusableFuture &&other) noexcept
 
 ~ReusableFuture ()=default
 
ReusableFutureoperator= (const ReusableFuture &)=delete
 
ReusableFutureoperator= (ReusableFuture &&other) noexcept
 
get ()
 
void swap (ReusableFuture &other) noexcept
 
bool valid () const noexcept
 
void wait () const
 

Constructor & Destructor Documentation

◆ ReusableFuture() [1/3]

template<typename R , typename MutexType = std::mutex, typename ConditionVariableType = std::condition_variable>
encrypto::motion::ReusableFuture< R, MutexType, ConditionVariableType >::ReusableFuture ( )
inlinenoexcept

◆ ReusableFuture() [2/3]

template<typename R , typename MutexType = std::mutex, typename ConditionVariableType = std::condition_variable>
encrypto::motion::ReusableFuture< R, MutexType, ConditionVariableType >::ReusableFuture ( const ReusableFuture< R, MutexType, ConditionVariableType > &  )
delete

◆ ReusableFuture() [3/3]

template<typename R , typename MutexType = std::mutex, typename ConditionVariableType = std::condition_variable>
encrypto::motion::ReusableFuture< R, MutexType, ConditionVariableType >::ReusableFuture ( ReusableFuture< R, MutexType, ConditionVariableType > &&  other)
inlinenoexcept

◆ ~ReusableFuture()

template<typename R , typename MutexType = std::mutex, typename ConditionVariableType = std::condition_variable>
encrypto::motion::ReusableFuture< R, MutexType, ConditionVariableType >::~ReusableFuture ( )
default

Member Function Documentation

◆ get()

template<typename R , typename MutexType = std::mutex, typename ConditionVariableType = std::condition_variable>
R encrypto::motion::ReusableFuture< R, MutexType, ConditionVariableType >::get ( )
inline
Here is the caller graph for this function:

◆ operator=() [1/2]

template<typename R , typename MutexType = std::mutex, typename ConditionVariableType = std::condition_variable>
ReusableFuture& encrypto::motion::ReusableFuture< R, MutexType, ConditionVariableType >::operator= ( const ReusableFuture< R, MutexType, ConditionVariableType > &  )
delete

◆ operator=() [2/2]

template<typename R , typename MutexType = std::mutex, typename ConditionVariableType = std::condition_variable>
ReusableFuture& encrypto::motion::ReusableFuture< R, MutexType, ConditionVariableType >::operator= ( ReusableFuture< R, MutexType, ConditionVariableType > &&  other)
inlinenoexcept

◆ swap()

template<typename R , typename MutexType = std::mutex, typename ConditionVariableType = std::condition_variable>
void encrypto::motion::ReusableFuture< R, MutexType, ConditionVariableType >::swap ( ReusableFuture< R, MutexType, ConditionVariableType > &  other)
inlinenoexcept

◆ valid()

template<typename R , typename MutexType = std::mutex, typename ConditionVariableType = std::condition_variable>
bool encrypto::motion::ReusableFuture< R, MutexType, ConditionVariableType >::valid ( ) const
inlinenoexcept
Here is the caller graph for this function:

◆ wait()

template<typename R , typename MutexType = std::mutex, typename ConditionVariableType = std::condition_variable>
void encrypto::motion::ReusableFuture< R, MutexType, ConditionVariableType >::wait ( ) const
inline

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