CORSIKA  @c8_version@
The framework to simulate particle cascades for astroparticle physics
corsika::DummyOutputManager Class Reference

#include <DummyOutputManager.hpp>

Public Member Functions

 DummyOutputManager ()
 Construct an OutputManager instance with a name in a given directory. More...
 
 ~DummyOutputManager ()
 Handle graceful closure of the outputs upon destruction.
 
template<typename TOutput >
void add (std::string const &name, TOutput &output)
 Register an existing output to this manager. More...
 
void startOfLibrary ()
 Called at the start of each library. More...
 
void startOfShower ()
 Called at the start of each event/shower. More...
 
void endOfShower ()
 Called at the end of each event/shower. More...
 
void endOfLibrary ()
 Called at the end of each library. More...
 

Detailed Description

An output manager that does nothing.

Definition at line 15 of file DummyOutputManager.hpp.

Constructor & Destructor Documentation

◆ DummyOutputManager()

corsika::DummyOutputManager::DummyOutputManager ( )

Construct an OutputManager instance with a name in a given directory.

Parameters
nameThe name of this output collection.
dirThe directory where the output directory will be stored.

Member Function Documentation

◆ add()

template<typename TOutput >
void corsika::DummyOutputManager::add ( std::string const &  name,
TOutput &  output 
)

Register an existing output to this manager.

Parameters
nameThe unique name of this output.
args...These are perfect forwarded to the constructor of the output.

◆ endOfLibrary()

void corsika::DummyOutputManager::endOfLibrary ( )

Called at the end of each library.

This iteratively calls endOfLibrary on each registered output.

◆ endOfShower()

void corsika::DummyOutputManager::endOfShower ( )

Called at the end of each event/shower.

This iteratively calls endOfEvent on each registered output.

◆ startOfLibrary()

void corsika::DummyOutputManager::startOfLibrary ( )

Called at the start of each library.

This iteratively calls startOfLibrary on each registered output.

◆ startOfShower()

void corsika::DummyOutputManager::startOfShower ( )

Called at the start of each event/shower.

This iteratively calls startOfEvent on each registered output.


The documentation for this class was generated from the following file: