CIRCT 21.0.0git
Loading...
Searching...
No Matches
Classes | Typedefs | Functions
esi::registry::internal Namespace Reference

Classes

class  BackendRegistry
 
struct  RegisterAccelerator
 
struct  RegisterEngine
 Helper struct to register engines. More...
 

Typedefs

using BackendCreate = std::function< std::unique_ptr< AcceleratorConnection >(Context &, std::string)>
 Backends can register themselves to be connected via a connection string.
 
using EngineCreate = std::function< std::unique_ptr< Engine >(AcceleratorConnection &conn, AppIDPath idPath, const ServiceImplDetails &details, const HWClientDetails &clients)>
 Engines can register themselves for pluggable functionality.
 

Functions

void registerBackend (const std::string &name, BackendCreate create)
 
void registerEngine (const std::string &name, EngineCreate create)
 

Typedef Documentation

◆ BackendCreate

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

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

Definition at line 182 of file Accelerator.h.

◆ EngineCreate

using esi::registry::internal::EngineCreate = typedef std::function<std::unique_ptr<Engine>( AcceleratorConnection &conn, AppIDPath idPath, const ServiceImplDetails &details, const HWClientDetails &clients)>
private

Engines can register themselves for pluggable functionality.

Definition at line 97 of file Engines.h.

Function Documentation

◆ registerBackend()

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

◆ registerEngine()

void esi::registry::internal::registerEngine ( const std::string &  name,
EngineCreate  create 
)
private