NEST main@caf0ae8
 
Loading...
Searching...
No Matches
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// Includes from nestkernel:
27#include "connector_model.h"
28#include "nest_types.h"
29#include "node.h"
30
31
32namespace nest
33{
34
35// forward declarations
36class weight_recorder;
37class ConnectorModel;
38class TimeConverter;
39
50{
51public:
57
59
63 void get_status( Dictionary& d ) const;
64
68 void set_status( const Dictionary& d, ConnectorModel& cm );
69
70
74 void calibrate( const TimeConverter& );
75
79 long get_vt_node_id() const;
80
85
86
87private:
89};
90
91inline long
93{
94 return -1;
95}
96
97inline weight_recorder*
102
103} // of namespace nest
104
105#endif /* #ifndef COMMON_SYNAPSE_PROPERTIES_H */
Dictionary class for interface to Python and C++ API.
Definition dictionary.h:213
Class containing the common properties for all connections of a certain type.
Definition common_synapse_properties.h:50
void get_status(Dictionary &d) const
Get all properties and put them into a dictionary.
Definition common_synapse_properties.cpp:47
weight_recorder * weight_recorder_
Definition common_synapse_properties.h:88
~CommonSynapseProperties()
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:76
CommonSynapseProperties()
Standard constructor.
Definition common_synapse_properties.cpp:37
void set_status(const Dictionary &d, ConnectorModel &cm)
Set properties from the values given in dictionary.
Definition common_synapse_properties.cpp:53
long get_vt_node_id() const
Get node ID of volume transmitter.
Definition common_synapse_properties.h:92
weight_recorder * get_weight_recorder() const
Get weight_recorder.
Definition common_synapse_properties.h:98
Definition connector_model.h:69
Class to convert times from one representation to another.
Definition nest_timeconverter.h:42
Definition weight_recorder.h:93
const std::string weight_recorder("weight_recorder")
Namespace for the NEST simulation kernel.
Definition beta_normalization_factor.h:33
Declarations for base class Node.