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

Singleton class for runtime loading of the GeNN Backend, which wraps all GeNN/GPU libraries. More...

#include <genn_lib.hpp>

Public Member Functions

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

Static Public Member Functions

static GENN_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 GeNN Backend, which wraps all GeNN/GPU libraries.

Constructor & Destructor Documentation

cypress::GENN_Lib::GENN_Lib ( GENN_Lib const &  )
delete

Member Function Documentation

Backend* cypress::GENN_Lib::create_genn_backend ( Json setup)
inline

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

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

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

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

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