NEST  2.6.0,not_revisioned_source_dir@0
modelsmodule.h
Go to the documentation of this file.
1 /*
2  * modelsmodule.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 #ifndef MODELSMODULE_H
24 #define MODELSMODULE_H
25 
26 #include "slimodule.h"
27 
28 namespace nest
29 {
30  class Network;
31 
36  class ModelsModule: public SLIModule
37  {
38  public:
39 
41  ~ModelsModule();
42 
48  void init(SLIInterpreter*);
49 
50  const std::string name(void) const;
51  const std::string commandstring(void) const;
52 
53  private:
54 
57  };
58 
59 
60 } // namespace
61 
62 #endif
ModelsModule(Network &)
Definition: modelsmodule.cpp:134
~ModelsModule()
Definition: modelsmodule.cpp:138
const std::string commandstring(void) const
Return sli command sequence to be executed for initialisation.
Definition: modelsmodule.cpp:145
Module supplying all models that are included in the NEST release.
Definition: modelsmodule.h:36
Definition: interpret.h:69
Main administrative interface to the network.
Definition: network.h:135
const std::string name(void) const
Return name of the module.
Definition: modelsmodule.cpp:140
Base class for all SLI Interpreter modules.
Definition: slimodule.h:34
void init(SLIInterpreter *)
Initialize module by registering models with the network.
Definition: modelsmodule.cpp:152
Network & net_
network where models are to be registered
Definition: modelsmodule.h:56