CIRCT  19.0.0git
Classes | Typedefs | Functions | Variables
esi::registry::internal Namespace Reference

Classes

struct  RegisterAccelerator
 

Typedefs

using BackendCreate = std::function< std::unique_ptr< AcceleratorConnection >(Context &, std::string)>
 Backends can register themselves to be connected via a connection string. More...
 

Functions

void registerBackend (std::string name, BackendCreate create)
 

Variables

static std::map< std::string, BackendCreatebackendRegistry
 

Typedef Documentation

◆ BackendCreate

using esi::registry::internal::BackendCreate = typedef std::function<std::unique_ptr<AcceleratorConnection>( Context &, std::string)>

Backends can register themselves to be connected via a connection string.

Definition at line 143 of file Accelerator.h.

Function Documentation

◆ registerBackend()

void esi::registry::internal::registerBackend ( std::string  name,
BackendCreate  create 
)

Variable Documentation

◆ backendRegistry

std::map<std::string, BackendCreate> esi::registry::internal::backendRegistry
static

Definition at line 160 of file Accelerator.cpp.

Referenced by esi::registry::connect(), and registerBackend().