CoreNEURON
sonata_report_handler.hpp
Go to the documentation of this file.
1
/*
2
# =============================================================================
3
# Copyright (c) 2016 - 2021 Blue Brain Project/EPFL
4
#
5
# See top-level LICENSE file for details.
6
# =============================================================================
7
*/
8
9
#pragma once
10
11
#include <memory>
12
#include <vector>
13
14
#include "
report_handler.hpp
"
15
16
namespace
coreneuron
{
17
18
class
SonataReportHandler
:
public
ReportHandler
{
19
public
:
20
SonataReportHandler
(
const
SpikesInfo
& spikes_info)
21
:
m_spikes_info
(spikes_info) {}
22
23
void
create_report
(
ReportConfiguration
& config,
double
dt
,
double
tstop,
double
delay)
override
;
24
#ifdef ENABLE_SONATA_REPORTS
25
void
register_section_report(
const
NrnThread
& nt,
26
const
ReportConfiguration
& config,
27
const
VarsToReport& vars_to_report,
28
bool
is_soma_target)
override
;
29
void
register_custom_report(
const
NrnThread
& nt,
30
const
ReportConfiguration
& config,
31
const
VarsToReport& vars_to_report)
override
;
32
33
private
:
34
void
register_report(
const
NrnThread
& nt,
35
const
ReportConfiguration
& config,
36
const
VarsToReport& vars_to_report);
37
std::pair<std::string, int> get_population_info(
int
gid);
38
#endif // ENABLE_SONATA_REPORTS
39
40
private
:
41
SpikesInfo
m_spikes_info
;
42
};
43
44
}
// Namespace coreneuron
coreneuron::ReportHandler
Definition:
report_handler.hpp:20
report_handler.hpp
coreneuron::SonataReportHandler::m_spikes_info
SpikesInfo m_spikes_info
Definition:
sonata_report_handler.hpp:41
coreneuron::SonataReportHandler::SonataReportHandler
SonataReportHandler(const SpikesInfo &spikes_info)
Definition:
sonata_report_handler.hpp:20
coreneuron
THIS FILE IS AUTO GENERATED DONT MODIFY IT.
Definition:
corenrn_parameters.cpp:12
coreneuron::SonataReportHandler
Definition:
sonata_report_handler.hpp:18
coreneuron::SonataReportHandler::create_report
void create_report(ReportConfiguration &config, double dt, double tstop, double delay) override
Definition:
sonata_report_handler.cpp:20
coreneuron::ReportConfiguration
Definition:
nrnreport.hpp:85
coreneuron::dt
double dt
Definition:
register_mech.cpp:22
coreneuron::NrnThread
Definition:
multicore.hpp:75
coreneuron::SpikesInfo
Definition:
nrnreport.hpp:42
coreneuron
io
reports
sonata_report_handler.hpp