virtual bool is_active(Time const &T) const =0
Returns true if the device is active at the given time stamp.
long_t t_max_
Time step of device deactivation.
Definition: device.h:193
long_t t_min_
Time step of device activation.
Definition: device.h:184
Definition: lockptrdatum.h:40
const Name d("d")
Specific to Izhikevich 2003.
Definition: nest_names.h:83
Declarations for base class Node.
virtual void get_status(DictionaryDatum &) const
Definition: device.h:206
Time const & get_origin() const
Definition: device.h:222
void set(const DictionaryDatum &)
Set values from dictionary.
Definition: device.cpp:70
Device()
Definition: device.cpp:94
Parameters_()
Sets default parameter values.
Definition: device.cpp:38
Internal variables of the model.
Definition: device.h:175
virtual void init_state(const Device &)
Reset dynamic state to that of model.
Definition: device.h:105
Time start_
Stop time, relative to origin. Defaults to "infinity".
Definition: device.h:155
virtual void calibrate()
Set internal variables, including opening files.
Definition: device.cpp:112
virtual void set_status(const DictionaryDatum &)
Definition: device.h:212
Class implementing common interface and properties common for all devices.
Definition: device.h:94
Definition: nest_time.h:130
virtual void finalize()
Housekeeping at end of simulation, eg close files.
Definition: device.h:114
Independent parameters of the model.
Definition: device.h:150
Time const & get_start() const
Definition: device.h:228
Time const & get_stop() const
Definition: device.h:234
virtual void init_parameters(const Device &)
Reset parameters to those of model; also resets state.
Definition: device.cpp:107
long_t get_t_max_() const
Return upper limit in steps.
Definition: device.h:246
virtual void init_buffers()
Reset buffers.
Definition: device.h:108
long_t get_t_min_() const
Return lower limit in steps.
Definition: device.h:240
virtual ~Device()
Definition: device.h:99
void get(DictionaryDatum &) const
Store current values in dictionary.
Definition: device.cpp:63
Time origin_
Origin of device time axis, relative to network time. Defaults to 0.
Definition: device.h:152
const Name n("n")
Number of synaptic release sites (int >=0) (Tsodyks2_connection)
Definition: nest_names.h:202
Default types used by the NEST kernel.
Parameters_ P_
Definition: device.h:198
Variables_ V_
Definition: device.h:199
long long_t
Integer number with at least 32 bit.
Definition: nest.h:96
Time stop_
Definition: device.h:158