NEST  2.6.0,not_revisioned_source_dir@0
common_synapse_properties.h
Go to the documentation of this file.
1 /*
2  * common_synapse_properties.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 COMMON_SYNAPSE_PROPERTIES_H
24 #define COMMON_SYNAPSE_PROPERTIES_H
25 
26 #include "nest.h"
27 #include "dictdatum.h"
28 #include "node.h"
29 #include "connector_model.h"
30 
31 namespace nest {
32 
33 // forward declarations
34 class ConnectorModel;
35 class TimeConverter;
36 
45 {
46  public:
47 
52 
57 
61  void get_status(DictionaryDatum & d) const;
62 
66  void set_status(const DictionaryDatum & d, ConnectorModel& cm);
67 
68 
69 
74  void calibrate(const TimeConverter &);
75 
79  Node * get_node();
80 
81  long_t get_vt_gid() const;
82 
83 };
84 
85 inline
87 {
88  return -1;
89 }
90 
91 } // of namespace nest
92 
93 #endif
void set_status(const DictionaryDatum &d, ConnectorModel &cm)
Set properties from the values given in dictionary.
Definition: common_synapse_properties.cpp:42
void calibrate(const TimeConverter &)
Calibrate all time objects, which might be contained in this object.
Definition: common_synapse_properties.cpp:46
const Name d("d")
Specific to Izhikevich 2003.
Definition: nest_names.h:83
Declarations for base class Node.
CommonSynapseProperties()
Standard constructor.
Definition: common_synapse_properties.cpp:36
Node * get_node()
get reference to registering node
Definition: common_synapse_properties.cpp:44
Class to convert times from one representation to another.
Definition: nest_timeconverter.h:45
~CommonSynapseProperties()
Destructor.
Definition: common_synapse_properties.cpp:38
Class containing the common properties for all connections of a certain type.
Definition: common_synapse_properties.h:44
void get_status(DictionaryDatum &d) const
Get all properties and put them into a dictionary.
Definition: common_synapse_properties.cpp:40
Default types used by the NEST kernel.
Base class for all NEST network objects.
Definition: node.h:96
long_t get_vt_gid() const
Definition: common_synapse_properties.h:86
Definition: connector_model.h:38
long long_t
Integer number with at least 32 bit.
Definition: nest.h:96