GrPPI  1.0
Generic and Reusable Parallel Pattern Interface
Classes | Public Types | Public Member Functions | Friends | List of all members
testing::Action< F > Class Template Reference

#include <gmock-actions.h>

Public Types

typedef internal::Function< F >::Result Result
 
typedef internal::Function< F >::ArgumentTuple ArgumentTuple
 
typedef internal::Function< F >::Result Result
 
typedef internal::Function< F >::ArgumentTuple ArgumentTuple
 

Public Member Functions

 Action ()
 
template<typename G , typename = typename std::enable_if<internal::disjunction< IsCompatibleFunctor<G>, std::is_constructible<std::function<Result()>, G>>::value>::type>
 Action (G &&fun)
 
 Action (ActionInterface< F > *impl)
 
template<typename Func >
 Action (const Action< Func > &action)
 
bool IsDoDefault () const
 
Result Perform (ArgumentTuple args) const
 
 Action ()
 
template<typename G , typename = typename std::enable_if<internal::disjunction< IsCompatibleFunctor<G>, std::is_constructible<std::function<Result()>, G>>::value>::type>
 Action (G &&fun)
 
 Action (ActionInterface< F > *impl)
 
template<typename Func >
 Action (const Action< Func > &action)
 
bool IsDoDefault () const
 
Result Perform (ArgumentTuple args) const
 

Friends

template<typename G >
class Action
 

Member Typedef Documentation

◆ ArgumentTuple [1/2]

template<typename F >
typedef internal::Function<F>::ArgumentTuple testing::Action< F >::ArgumentTuple

◆ ArgumentTuple [2/2]

template<typename F >
typedef internal::Function<F>::ArgumentTuple testing::Action< F >::ArgumentTuple

◆ Result [1/2]

template<typename F >
typedef internal::Function<F>::Result testing::Action< F >::Result

◆ Result [2/2]

template<typename F >
typedef internal::Function<F>::Result testing::Action< F >::Result

Constructor & Destructor Documentation

◆ Action() [1/8]

template<typename G >
Action
inline

◆ Action() [2/8]

template<typename F >
template<typename G , typename = typename std::enable_if<internal::disjunction< IsCompatibleFunctor<G>, std::is_constructible<std::function<Result()>, G>>::value>::type>
testing::Action< F >::Action ( G &&  fun)
inline

◆ Action() [3/8]

template<typename F >
testing::Action< F >::Action ( ActionInterface< F > *  impl)
inlineexplicit

◆ Action() [4/8]

template<typename F >
template<typename Func >
testing::Action< F >::Action ( const Action< Func > &  action)
inlineexplicit

◆ Action() [5/8]

template<typename F >
testing::Action< F >::Action ( )
inline

◆ Action() [6/8]

template<typename F >
template<typename G , typename = typename std::enable_if<internal::disjunction< IsCompatibleFunctor<G>, std::is_constructible<std::function<Result()>, G>>::value>::type>
testing::Action< F >::Action ( G &&  fun)
inline

◆ Action() [7/8]

template<typename F >
testing::Action< F >::Action ( ActionInterface< F > *  impl)
inlineexplicit

◆ Action() [8/8]

template<typename F >
template<typename Func >
testing::Action< F >::Action ( const Action< Func > &  action)
inlineexplicit

Member Function Documentation

◆ IsDoDefault() [1/2]

template<typename F >
bool testing::Action< F >::IsDoDefault ( ) const
inline

◆ IsDoDefault() [2/2]

template<typename F >
bool testing::Action< F >::IsDoDefault ( ) const
inline

◆ Perform() [1/2]

template<typename F >
Result testing::Action< F >::Perform ( ArgumentTuple  args) const
inline

◆ Perform() [2/2]

template<typename F >
Result testing::Action< F >::Perform ( ArgumentTuple  args) const
inline

Friends And Related Function Documentation

◆ Action

template<typename F >
template<typename G >
friend class Action
friend

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