11#include <framework/core/Module.h>
29 void init(
const std::string& to,
bool doCopy,
const std::vector<std::string>& mergeBack);
35 virtual void endRun()
override;
36 virtual void event()
override;
43 std::vector<std::string>
Internal module used by Path.add_independent_path().
std::string m_from
active DataStore ID before this module.
virtual void initialize() override
Initialize the Module.
virtual void event() override
This method is the core of the module.
bool m_doCopy
should data be copied to m_to?
virtual void endRun() override
This method is called if the current run ends.
virtual void terminate() override
This method is called at the end of the event processing.
SwitchDataStoreModule()
Constructor.
virtual void beginRun() override
Called when entering a new run.
std::vector< std::string > m_mergeBack
list of obj/arrays (of event durability) that should be copied to m_to regardless of m_doCopy.
std::string m_to
active DataStore ID after this module.
void init(const std::string &to, bool doCopy, const std::vector< std::string > &mergeBack)
setter for Path.
Abstract base class for different kinds of events.