NEST main@caf0ae8
 
Loading...
Searching...
No Matches
nest_impl.h
Go to the documentation of this file.
1/*
2 * nest_impl.h
3 *
4 * This file is part of NEST.
5 *
6 * Copyright (C) 2004 The NEST Initiative
7 *
8 * NEST is free software: you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation, either version 2 of the License, or
11 * (at your option) any later version.
12 *
13 * NEST is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with NEST. If not, see <http://www.gnu.org/licenses/>.
20 *
21 */
22
23
24// Includes from nestkernel:
26#include "genericmodel_impl.h"
27#include "kernel_manager.h"
28#include "model_manager_impl.h"
29
30namespace nest
31{
32
33template < template < typename > class ConnectorModelT >
34void
35register_connection_model( const std::string& name )
36{
37 kernel().model_manager.register_connection_model< ConnectorModelT >( name );
38}
39
40template < typename NodeModelT >
41void
42register_node_model( const std::string& name, std::string deprecation_info )
43{
44 kernel().model_manager.register_node_model< NodeModelT >( name, deprecation_info );
45}
46}
void register_connection_model(const std::string &name)
Register a synape model with a custom Connector model and without any common properties.
Definition model_manager_impl.h:59
size_t register_node_model(const std::string &name, std::string deprecation_info=std::string())
Register a node-model prototype.
Definition model_manager_impl.h:44
ModelManager model_manager
Definition kernel_manager.h:243
Namespace for the NEST simulation kernel.
Definition beta_normalization_factor.h:33
void register_connection_model(const std::string &name)
Register connection model (i.e.
Definition nest_impl.h:35
KernelManager & kernel()
Definition kernel_manager.h:311
void register_node_model(const std::string &name, std::string deprecation_info=std::string())
Register node model (i.e.
Definition nest_impl.h:42