NEST
2.6.0,not_revisioned_source_dir@0
|
Base class for all pseudo recording devices. More...
#include <pseudo_recording_device.h>
Public Member Functions | |
PseudoRecordingDevice () | |
PseudoRecordingDevice (const PseudoRecordingDevice &) | |
virtual | ~PseudoRecordingDevice () |
bool | is_active (Time const &T) const |
Indicate if recording device is active. More... | |
Public Member Functions inherited from nest::Device | |
Device () | |
Device (const Device &n) | |
virtual | ~Device () |
virtual void | init_parameters (const Device &) |
Reset parameters to those of model; also resets state. More... | |
virtual void | init_state (const Device &) |
Reset dynamic state to that of model. More... | |
virtual void | init_buffers () |
Reset buffers. More... | |
virtual void | calibrate () |
Set internal variables, including opening files. More... | |
virtual void | finalize () |
Housekeeping at end of simulation, eg close files. More... | |
virtual void | get_status (DictionaryDatum &) const |
virtual void | set_status (const DictionaryDatum &) |
long_t | get_t_min_ () const |
Return lower limit in steps. More... | |
long_t | get_t_max_ () const |
Return upper limit in steps. More... | |
Time const & | get_origin () const |
Time const & | get_start () const |
Time const & | get_stop () const |
Base class for all pseudo recording devices.
Pseudo-recording devices collect data. The data is only collected in memory an only available through GetStatus.
If the device is configured to record from start to stop, this is interpreted as (start, stop], i.e., the earliest recorded event will have time stamp start+1, as it was generated during the update step (start, start+1].
|
inline |
|
inline |
|
inlinevirtual |
|
inlinevirtual |
Indicate if recording device is active.
The argument is the time stamp of the event, and the device is active if start_ < T <= stop_.
Implements nest::Device.
References nest::Time::get_steps(), nest::Device::get_t_max_(), and nest::Device::get_t_min_().