Bitcoin Core 29.99.0
P2P Digital Currency
Public Types | Public Member Functions | Static Public Member Functions | List of all members
mp::ProxyTypeRegister Struct Reference

Map to convert client interface pointers to ProxyContext struct references at runtime using typeids. More...

#include <proxy-types.h>

Public Types

using Types = std::map< std::type_index, ProxyContext &(*)(void *)>
 

Public Member Functions

template<typename Interface >
 ProxyTypeRegister (TypeList< Interface >)
 

Static Public Member Functions

static Typestypes ()
 

Detailed Description

Map to convert client interface pointers to ProxyContext struct references at runtime using typeids.

Definition at line 716 of file proxy-types.h.

Member Typedef Documentation

◆ Types

using mp::ProxyTypeRegister::Types = std::map<std::type_index, ProxyContext&(*)(void*)>

Definition at line 721 of file proxy-types.h.

Constructor & Destructor Documentation

◆ ProxyTypeRegister()

template<typename Interface >
mp::ProxyTypeRegister::ProxyTypeRegister ( TypeList< Interface >  )
inline

Definition at line 718 of file proxy-types.h.

Member Function Documentation

◆ types()

static Types & mp::ProxyTypeRegister::types ( )
inlinestatic

Definition at line 722 of file proxy-types.h.

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

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