NEST  2.6.0,not_revisioned_source_dir@0
neststartup.h
Go to the documentation of this file.
1 /*
2  * neststartup.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 NEST_STARTUP_H
24 #define NEST_STARTUP_H
25 
26 #if defined(HAVE_LIBNEUROSIM) && defined(_IS_PYNEST)
27 
28 #include <neurosim/pyneurosim.h>
29 
30 #include "datum.h"
31 #include "conngenmodule.h"
32 
33 #define CYTHON_isConnectionGenerator(x) PNS::isConnectionGenerator(x)
35 
36 #else
37 #define CYTHON_isConnectionGenerator(x) 0
38 #define CYTHON_unpackConnectionGeneratorDatum(x) NULL
39 #endif
40 
41 namespace nest {
42 class Network;
43 }
44 
45 class SLIInterpreter;
46 
47 #ifdef _IS_PYNEST
48 
49 #define CYTHON_DEREF(x) (*x)
50 #define CYTHON_ADDR(x) (&x)
51 
52 #include <string>
53 int neststartup(int argc, char** argv, SLIInterpreter &engine, nest::Network* &pNet, std::string modulepath = "");
54 
55 #else
57 #endif
58 
59 void nestshutdown(void);
60 
61 #endif
void nestshutdown(void)
Definition: neststartup.cpp:144
int char SLIInterpreter nest::Network *& pNet
Definition: neststartup.cpp:61
Definition: interpret.h:69
Datum * CYTHON_unpackConnectionGeneratorDatum(PyObject *)
Definition: neststartup.cpp:152
Main administrative interface to the network.
Definition: network.h:135
int char SLIInterpreter & engine
Definition: neststartup.cpp:61
int char ** argv
Definition: neststartup.cpp:61
int char SLIInterpreter nest::Network std::string modulepath nest::Communicator::init & argc
Definition: neststartup.cpp:66
Definition: datum.h:33
int neststartup(int argc, char **argv, SLIInterpreter &engine, nest::Network *&pNet, std::string modulepath="")