Cypress  1.0
C++ Spiking Neural Network Simulation Framework
Public Member Functions | Static Public Member Functions | List of all members
cypress::BS_Lib Class Reference

Singleton class for runtime loading of the BrainScaleS Backend, which wraps all BrainScaleS libraries and will be provided pre-compiled. More...

#include <brainscales_lib.hpp>

Public Member Functions

 BS_Lib (BS_Lib const &)=delete
 
void operator= (BS_Lib const &)=delete
 
Backendcreate_bs_backend (Json &setup)
 Creates a pointer to a BrainScaleS Backend. This can be executed several times, as it only creates a Backend pointer to a new created BrainScaleS Backend object. More...
 

Static Public Member Functions

static BS_Libinstance ()
 Creates a Singleton instance. Only at first time calling this method the library will be loaded. More...
 

Detailed Description

Singleton class for runtime loading of the BrainScaleS Backend, which wraps all BrainScaleS libraries and will be provided pre-compiled.

Constructor & Destructor Documentation

cypress::BS_Lib::BS_Lib ( BS_Lib const &  )
delete

Member Function Documentation

Backend* cypress::BS_Lib::create_bs_backend ( Json setup)
inline

Creates a pointer to a BrainScaleS Backend. This can be executed several times, as it only creates a Backend pointer to a new created BrainScaleS Backend object.

Parameters
setupSetup config as defined by Backend constructor/ BrainScaleS constructor.
Returns
pointer to the Backend object itself
static BS_Lib& cypress::BS_Lib::instance ( )
inlinestatic

Creates a Singleton instance. Only at first time calling this method the library will be loaded.

Returns
cypress::BS_Lib& reference to the library instance
void cypress::BS_Lib::operator= ( BS_Lib const &  )
delete

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