23#ifndef RECORDING_BACKEND_SCREEN_H
24#define RECORDING_BACKEND_SCREEN_H
103 const std::vector< std::string >& double_value_names,
104 const std::vector< std::string >& long_value_names )
override;
132 void write(
const Event&,
const std::vector< double >&,
const std::vector< long >& );
Dictionary class for interface to Python and C++ API.
Definition dictionary.h:213
Encapsulate information sent between nodes.
Definition event.h:103
A simple recording backend implementation that prints all recorded data to screen.
Definition recording_backend_screen.h:84
void post_run_hook() override
Clean up the backend at the end of a Run.
Definition recording_backend_screen.cpp:147
RecordingBackendScreen()
Definition recording_backend_screen.h:86
void get_status(Dictionary &) const override
Return the status of the recording backend by writing it to the given params dictionary.
Definition recording_backend_screen.cpp:165
void set_status(const Dictionary &) override
Set the status of the recording backend using the key-value pairs contained in the params dictionary.
Definition recording_backend_screen.cpp:159
void get_device_defaults(Dictionary &) const override
Return the per-device defaults by writing it to the given params dictionary.
Definition recording_backend_screen.cpp:120
void initialize() override
Definition recording_backend_screen.cpp:35
void finalize() override
Definition recording_backend_screen.cpp:42
void prepare() override
Prepare the backend at begin of the NEST Simulate function.
Definition recording_backend_screen.cpp:141
void check_device_status(const Dictionary &) const override
Check if the given per-device properties are valid and usable by the backend.
Definition recording_backend_screen.cpp:113
void set_value_names(const RecordingDevice &device, const std::vector< std::string > &double_value_names, const std::vector< std::string > &long_value_names) override
To make the names of recorded quantities known to the RecordingBackend, the vectors double_value_name...
Definition recording_backend_screen.cpp:76
void cleanup() override
Clean up the backend at the end of a user level call to the NEST Simulate function.
Definition recording_backend_screen.cpp:90
std::vector< std::map< size_t, DeviceData > > device_data_map
Definition recording_backend_screen.h:143
void get_device_status(const RecordingDevice &device, Dictionary &) const override
Return the per-device status of the given recording device by writing it to the given params dictiona...
Definition recording_backend_screen.cpp:127
device_data_map device_data_
Definition recording_backend_screen.h:144
void pre_run_hook() override
Initialize global backend-specific data structures.
Definition recording_backend_screen.cpp:84
void write(const RecordingDevice &, const Event &, const std::vector< double > &, const std::vector< long > &) override
Write the data from the event to the backend specific channel together with the values given.
Definition recording_backend_screen.cpp:96
void disenroll(const RecordingDevice &device) override
Disenroll a RecordingDevice from the RecordingBackend.
Definition recording_backend_screen.cpp:63
void enroll(const RecordingDevice &device, const Dictionary ¶ms) override
Enroll a RecordingDevice with the RecordingBackend.
Definition recording_backend_screen.cpp:47
void post_step_hook() override
Do work required at the end of each simulation step.
Definition recording_backend_screen.cpp:153
~RecordingBackendScreen() override
Definition recording_backend_screen.h:90
Abstract base class for all NESTio recording backends.
Definition recording_backend.h:67
Base class for all recording devices.
Definition recording_device.h:157
Namespace for the NEST simulation kernel.
Definition beta_normalization_factor.h:33
Definition recording_backend_screen.h:128
std::ios::fmtflags old_fmtflags_
Definition recording_backend_screen.h:137
long old_precision_
Definition recording_backend_screen.h:138
void get_status(Dictionary &) const
Definition recording_backend_screen.cpp:179
void write(const Event &, const std::vector< double > &, const std::vector< long > &)
Definition recording_backend_screen.cpp:193
void set_status(const Dictionary &)
Definition recording_backend_screen.cpp:186
bool time_in_steps_
Should time be recorded in steps (ms if false)
Definition recording_backend_screen.h:140
long precision_
Number of decimal places used when writing decimal values.
Definition recording_backend_screen.h:139
void prepare_cout_()
Definition recording_backend_screen.cpp:227
DeviceData()
Definition recording_backend_screen.cpp:172
void restore_cout_()
Definition recording_backend_screen.cpp:234