sporemodule.h
1 /*
2  * This file is part of SPORE.
3  *
4  * Copyright (C) 2016, the SPORE team (see AUTHORS).
5  *
6  * SPORE is free software: you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation, either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * SPORE is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with SPORE. If not, see <http://www.gnu.org/licenses/>.
18  *
19  * For more information see: https://github.com/IGITUGraz/spore-nest-module
20  *
21  * File: sporemodule.h
22  * Author: Kappel, Hsieh
23  *
24  * Created on March 30, 2015, 3:19 AM
25  */
26 
27 
28 #ifndef SPOREMODULE_H
29 #define SPOREMODULE_H
30 
31 #include "slimodule.h"
32 #include "slifunction.h"
33 
34 
35 namespace spore
36 {
37 
41 class SporeModule : public SLIModule
42 {
43 public:
44 
45  SporeModule();
46  ~SporeModule();
47 
48  void init(SLIInterpreter*);
49 
50  const std::string name(void) const;
51  const std::string commandstring(void) const;
52 
53 protected:
54 
66  class InitSynapseUpdater_i_i_Function : public SLIFunction
67  {
68  public:
70  void execute(SLIInterpreter*) const;
71  }
72  init_synapse_updater_i_i_function_;
73 
74 };
75 
76 }
77 
78 #endif
void init(SLIInterpreter *)
Definition: sporemodule.cpp:152
const std::string name(void) const
Definition: sporemodule.cpp:90
InitSynapseUpdater_i_i_Function()
Definition: sporemodule.cpp:112
~SporeModule()
Definition: sporemodule.cpp:83
void execute(SLIInterpreter *) const
Definition: sporemodule.cpp:122
The class defining the SPORE module.
Definition: sporemodule.h:41
SporeModule()
Definition: sporemodule.cpp:70
InitSynapseUpdater SLI function.
Definition: sporemodule.h:66
const std::string commandstring(void) const
Definition: sporemodule.cpp:102
Global namespace holding all classes of the SPORE NEST module.
Definition: circular_buffer.h:31