23 #ifndef RECORDABLES_MAP_H
24 #define RECORDABLES_MAP_H
57 template <
typename HostNode>
59 :
public std::map<Name, double_t (HostNode::*)() const>
61 typedef std::map<Name, double_t (HostNode::*)() const>
Base_;
86 for (
typename Base_::const_iterator it = this->begin() ;
87 it != this->end() ; ++it )
100 Base_::insert(std::make_pair(n, f));
117 template <
typename HostNode>
const Name recordables("recordables")
List of recordable state data (Device parameters)
Definition: nest_names.h:244
void push_back(const Token &t)
Definition: tokenarray.h:236
Represent strings by ints to facilitate fast comparison.
Definition: name.h:53
double_t(HostNode::* DataAccessFct)() const
Datatype for access functions.
Definition: recordables_map.h:67
Map names of recordables to data access functions.
Definition: recordables_map.h:58
virtual ~RecordablesMap()
Definition: recordables_map.h:64
double double_t
Double precision floating point numbers.
Definition: nest.h:93
Definition: namedatum.h:90
const Name n("n")
Number of synaptic release sites (int >=0) (Tsodyks2_connection)
Definition: nest_names.h:202
std::map< Name, double_t(HostNode::*)() const > Base_
Definition: recordables_map.h:61
Default types used by the NEST kernel.
void insert_(const Name &n, const DataAccessFct f)
Insertion functions to be used in create(), adds entry to map and list.
Definition: recordables_map.h:98
ArrayDatum get_list() const
Obtain SLI list of all recordables, for use by get_status().
Definition: recordables_map.h:84
void create()
Create the map.
Definition: recordables_map.h:118