Bitcoin Core 31.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
mp::test::FooImplementation Class Reference

#include <foo.h>

Public Member Functions

int add (int a, int b)
void addOut (int a, int b, int &out)
void addInOut (int x, int &sum)
int mapSize (const std::map< std::string, std::string > &map)
FooStruct pass (FooStruct foo)
void raise (FooStruct foo)
void initThreadMap ()
int callback (FooCallback &callback, int arg)
int callbackUnique (std::unique_ptr< FooCallback > callback, int arg)
int callbackShared (std::shared_ptr< FooCallback > callback, int arg)
void saveCallback (std::shared_ptr< FooCallback > callback)
int callbackSaved (int arg)
int callbackExtended (ExtendedCallback &callback, int arg)
FooCustom passCustom (FooCustom foo)
FooEmpty passEmpty (FooEmpty foo)
FooMessage passMessage (FooMessage foo)
void passMutable (FooMutable &foo)
FooEnum passEnum (FooEnum foo)
int passFn (std::function< int()> fn)
std::vector< FooDataRefpassDataPointers (std::vector< FooDataRef > values)
void callFn ()
void callFnAsync ()
int callIntFnAsync (int arg)

Public Attributes

std::shared_ptr< FooCallbackm_callback
std::function< void()> m_fn
std::function< int(int)> m_int_fn

Detailed Description

Definition at line 64 of file foo.h.

Member Function Documentation

◆ add()

int mp::test::FooImplementation::add ( int a,
int b )
inline

Definition at line 67 of file foo.h.

◆ addInOut()

void mp::test::FooImplementation::addInOut ( int x,
int & sum )
inline

Definition at line 69 of file foo.h.

◆ addOut()

void mp::test::FooImplementation::addOut ( int a,
int b,
int & out )
inline

Definition at line 68 of file foo.h.

◆ callback()

int mp::test::FooImplementation::callback ( FooCallback & callback,
int arg )
inline

Definition at line 74 of file foo.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ callbackExtended()

int mp::test::FooImplementation::callbackExtended ( ExtendedCallback & callback,
int arg )
inline

Definition at line 79 of file foo.h.

Here is the call graph for this function:

◆ callbackSaved()

int mp::test::FooImplementation::callbackSaved ( int arg)
inline

Definition at line 78 of file foo.h.

◆ callbackShared()

int mp::test::FooImplementation::callbackShared ( std::shared_ptr< FooCallback > callback,
int arg )
inline

Definition at line 76 of file foo.h.

Here is the call graph for this function:

◆ callbackUnique()

int mp::test::FooImplementation::callbackUnique ( std::unique_ptr< FooCallback > callback,
int arg )
inline

Definition at line 75 of file foo.h.

Here is the call graph for this function:

◆ callFn()

void mp::test::FooImplementation::callFn ( )
inline

Definition at line 88 of file foo.h.

Here is the call graph for this function:

◆ callFnAsync()

void mp::test::FooImplementation::callFnAsync ( )
inline

Definition at line 89 of file foo.h.

Here is the call graph for this function:

◆ callIntFnAsync()

int mp::test::FooImplementation::callIntFnAsync ( int arg)
inline

Definition at line 90 of file foo.h.

Here is the call graph for this function:

◆ initThreadMap()

void mp::test::FooImplementation::initThreadMap ( )
inline

Definition at line 73 of file foo.h.

◆ mapSize()

int mp::test::FooImplementation::mapSize ( const std::map< std::string, std::string > & map)
inline

Definition at line 70 of file foo.h.

◆ pass()

FooStruct mp::test::FooImplementation::pass ( FooStruct foo)
inline

Definition at line 71 of file foo.h.

◆ passCustom()

FooCustom mp::test::FooImplementation::passCustom ( FooCustom foo)
inline

Definition at line 80 of file foo.h.

◆ passDataPointers()

std::vector< FooDataRef > mp::test::FooImplementation::passDataPointers ( std::vector< FooDataRef > values)
inline

Definition at line 86 of file foo.h.

◆ passEmpty()

FooEmpty mp::test::FooImplementation::passEmpty ( FooEmpty foo)
inline

Definition at line 81 of file foo.h.

◆ passEnum()

FooEnum mp::test::FooImplementation::passEnum ( FooEnum foo)
inline

Definition at line 84 of file foo.h.

◆ passFn()

int mp::test::FooImplementation::passFn ( std::function< int()> fn)
inline

Definition at line 85 of file foo.h.

◆ passMessage()

FooMessage mp::test::FooImplementation::passMessage ( FooMessage foo)
inline

Definition at line 82 of file foo.h.

◆ passMutable()

void mp::test::FooImplementation::passMutable ( FooMutable & foo)
inline

Definition at line 83 of file foo.h.

◆ raise()

void mp::test::FooImplementation::raise ( FooStruct foo)
inline

Definition at line 72 of file foo.h.

◆ saveCallback()

void mp::test::FooImplementation::saveCallback ( std::shared_ptr< FooCallback > callback)
inline

Definition at line 77 of file foo.h.

Here is the call graph for this function:

Member Data Documentation

◆ m_callback

std::shared_ptr<FooCallback> mp::test::FooImplementation::m_callback

Definition at line 87 of file foo.h.

◆ m_fn

std::function<void()> mp::test::FooImplementation::m_fn

Definition at line 91 of file foo.h.

◆ m_int_fn

std::function<int(int)> mp::test::FooImplementation::m_int_fn

Definition at line 92 of file foo.h.


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