ra4_draw
4bd0201e3d922d42bd545d4b045ed44db33454a4
|
#include <event_scan.hpp>
Public Member Functions | |
SingleScan (const EventScan &event_scan, const std::shared_ptr< Process > &process) | |
~SingleScan ()=default | |
void | RecordEvent (const Baby &baby) final |
void | Precision (unsigned precision) |
Public Member Functions inherited from Figure::FigureComponent | |
FigureComponent (const Figure &figure, const std::shared_ptr< Process > &process) | |
virtual | ~FigureComponent ()=default |
Private Member Functions | |
SingleScan ()=delete | |
SingleScan (const SingleScan &)=delete | |
SingleScan & | operator= (const SingleScan &)=delete |
SingleScan (SingleScan &&)=delete | |
SingleScan & | operator= (SingleScan &&)=delete |
Private Attributes | |
std::ofstream | out_ |
File to which results are printed. More... | |
NamedFunc | full_cut_ |
Cached scan&&process cut. More... | |
NamedFunc::VectorType | cut_vector_ |
Cut results (to avoid creating new vector each event) More... | |
std::vector< NamedFunc::VectorType > | val_vectors_ |
Values for each column (to avoid creating new vectors each event) More... | |
std::size_t | row_ |
Additional Inherited Members | |
Public Attributes inherited from Figure::FigureComponent | |
const Figure & | figure_ |
Reference to figure containing this component. More... | |
std::shared_ptr< Process > | process_ |
Process associated to this part of the figure. More... | |
std::mutex | mutex_ |
Definition at line 14 of file event_scan.hpp.
EventScan::SingleScan::SingleScan | ( | const EventScan & | event_scan, |
const std::shared_ptr< Process > & | process | ||
) |
|
default |
|
privatedelete |
Referenced by Precision().
|
privatedelete |
|
privatedelete |
|
privatedelete |
|
privatedelete |
void EventScan::SingleScan::Precision | ( | unsigned | precision | ) |
Definition at line 77 of file event_scan.cpp.
References EventScan::columns_, EventScan::cut_, EventScan::EventScan(), EventScan::name_, out_, EventScan::precision_, EventScan::scans_, SingleScan(), and EventScan::width_.
|
finalvirtual |
Implements Figure::FigureComponent.
Definition at line 23 of file event_scan.cpp.
References EventScan::columns_, cut_vector_, Figure::FigureComponent::figure_, full_cut_, NamedFunc::GetScalar(), NamedFunc::GetVector(), NamedFunc::IsScalar(), NamedFunc::IsVector(), out_, row_, val_vectors_, and EventScan::width_.
|
private |
Cut results (to avoid creating new vector each event)
Definition at line 33 of file event_scan.hpp.
Referenced by RecordEvent().
|
private |
Cached scan&&process cut.
Definition at line 32 of file event_scan.hpp.
Referenced by RecordEvent().
|
private |
File to which results are printed.
Definition at line 31 of file event_scan.hpp.
Referenced by Precision(), and RecordEvent().
|
private |
Definition at line 35 of file event_scan.hpp.
Referenced by RecordEvent().
|
private |
Values for each column (to avoid creating new vectors each event)
Definition at line 34 of file event_scan.hpp.
Referenced by RecordEvent().