Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
testing::internal::InvokeCallbackWithoutArgsAction< CallbackType > Class Template Reference

#include <gmock-actions.h>

Public Member Functions

 InvokeCallbackWithoutArgsAction (CallbackType *callback)
 
template<typename Result , typename ArgumentTuple >
Result Perform (const ArgumentTuple &) const
 

Detailed Description

template<typename CallbackType>
class testing::internal::InvokeCallbackWithoutArgsAction< CallbackType >

Definition at line 919 of file gmock-actions.h.

Constructor & Destructor Documentation

◆ InvokeCallbackWithoutArgsAction()

template<typename CallbackType >
testing::internal::InvokeCallbackWithoutArgsAction< CallbackType >::InvokeCallbackWithoutArgsAction ( CallbackType * callback)
inlineexplicit

Definition at line 922 of file gmock-actions.h.

923 : callback_(callback) {
924 callback->CheckIsRepeatable(); // Makes sure the callback is permanent.
925 }

Member Function Documentation

◆ Perform()

template<typename CallbackType >
template<typename Result , typename ArgumentTuple >
Result testing::internal::InvokeCallbackWithoutArgsAction< CallbackType >::Perform ( const ArgumentTuple & ) const
inline

Definition at line 931 of file gmock-actions.h.

931{ return callback_->Run(); }

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