23#ifndef RECORDING_BACKEND_H
24#define RECORDING_BACKEND_H
153 const std::vector< std::string >& double_value_names,
154 const std::vector< std::string >& long_value_names ) = 0;
234 const std::vector< double >& double_values,
235 const std::vector< long >& long_values ) = 0;
Dictionary class for interface to Python and C++ API.
Definition dictionary.h:213
Encapsulate information sent between nodes.
Definition event.h:103
Abstract base class for all NESTio recording backends.
Definition recording_backend.h:67
RecordingBackend()
Definition recording_backend.h:69
static const std::vector< std::string > NO_LONG_VALUE_NAMES
Definition recording_backend.h:305
virtual void post_run_hook()=0
Clean up the backend at the end of a Run.
static const std::vector< std::string > NO_DOUBLE_VALUE_NAMES
Definition recording_backend.h:304
virtual void pre_run_hook()=0
Initialize global backend-specific data structures.
virtual void get_device_status(const RecordingDevice &device, Dictionary ¶ms) const =0
Return the per-device status of the given recording device by writing it to the given params dictiona...
static const std::vector< double > NO_DOUBLE_VALUES
Definition recording_backend.h:306
virtual ~RecordingBackend()
Definition recording_backend.h:73
static const std::vector< long > NO_LONG_VALUES
Definition recording_backend.h:307
virtual void write(const RecordingDevice &device, const Event &event, const std::vector< double > &double_values, const std::vector< long > &long_values)=0
Write the data from the event to the backend specific channel together with the values given.
virtual void cleanup()=0
Clean up the backend at the end of a user level call to the NEST Simulate function.
virtual void get_status(Dictionary ¶ms) const =0
Return the status of the recording backend by writing it to the given params dictionary.
virtual void enroll(const RecordingDevice &device, const Dictionary ¶ms)=0
Enroll a RecordingDevice with the RecordingBackend.
virtual void post_step_hook()=0
Do work required at the end of each simulation step.
virtual void disenroll(const RecordingDevice &device)=0
Disenroll a RecordingDevice from the RecordingBackend.
virtual void prepare()=0
Prepare the backend at begin of the NEST Simulate function.
virtual void check_device_status(const Dictionary ¶ms) const =0
Check if the given per-device properties are valid and usable by the backend.
virtual void get_device_defaults(Dictionary ¶ms) const =0
Return the per-device defaults by writing it to the given params dictionary.
virtual void set_status(const Dictionary ¶ms)=0
Set the status of the recording backend using the key-value pairs contained in the params dictionary.
virtual void set_value_names(const RecordingDevice &device, const std::vector< std::string > &double_value_names, const std::vector< std::string > &long_value_names)=0
To make the names of recorded quantities known to the RecordingBackend, the vectors double_value_name...
virtual void finalize()=0
virtual void initialize()=0
Base class for all recording devices.
Definition recording_device.h:157
Namespace for the NEST simulation kernel.
Definition beta_normalization_factor.h:33