29 void AlgorithmWrapper ::
30 testInvariant ()
const
37 AlgorithmWrapper (std::unique_ptr<Algorithm>&& val_algorithm)
45 std::string_view AlgorithmWrapper ::
54 bool AlgorithmWrapper ::
55 hasName (
const std::string& name)
const
63 std::unique_ptr<IAlgorithmWrapper> AlgorithmWrapper ::
66 using namespace msgAlgorithmConfig;
69 std::unique_ptr<Algorithm> myalgorithm
71 if (myalgorithm ==
nullptr)
73 return std::make_unique<AlgorithmWrapper> (std::move (myalgorithm));
90 using namespace msgAlgorithmConfig;
98 return StatusCode::FAILURE;
100 return StatusCode::SUCCESS;
108 using namespace msgAlgorithmConfig;
114 return StatusCode::FAILURE;
116 return StatusCode::SUCCESS;
124 using namespace msgAlgorithmConfig;
130 return StatusCode::FAILURE;
132 return StatusCode::SUCCESS;
140 using namespace msgAlgorithmConfig;
148 return StatusCode::FAILURE;
154 return StatusCode::FAILURE;
156 return StatusCode::SUCCESS;
164 using namespace msgAlgorithmConfig;
170 return StatusCode::FAILURE;
172 return StatusCode::SUCCESS;
180 using namespace msgAlgorithmConfig;
186 return StatusCode::FAILURE;
196 return StatusCode::FAILURE;
200 return StatusCode::SUCCESS;
208 using namespace msgAlgorithmConfig;
214 return StatusCode::FAILURE;
216 return StatusCode::SUCCESS;
#define RCU_CHANGE_INVARIANT(x)
#define RCU_NEW_INVARIANT(x)
#define RCU_READ_INVARIANT(x)
#define RCU_THROW_MSG(message)
bool m_isInitialized
whether Algorithm::initialize has been called
std::unique_ptr< Algorithm > m_algorithm
the actual algorithm
bool m_firstFile
whether this is the first file we encounter
This module defines the arguments passed from the BATCH driver to the BATCH worker.
::StatusCode StatusCode
StatusCode definition for legacy code.
all the external components an algorithm needs before initialization (in EventLoop)
asg::SgTEvent * m_evtStore