IAP GITLAB

Skip to content
Snippets Groups Projects
Commit d96918a7 authored by Dominik Baack's avatar Dominik Baack Committed by Ralf Ulrich
Browse files

renamed base process templates

parent 668ee2cf
No related branches found
No related tags found
1 merge request!253Add benchmark processor and dummy processors
......@@ -24,11 +24,21 @@ namespace corsika::process {
*/
template <typename TDerived>
<<<<<<< HEAD
class ContinuousProcess : public BaseProcess<TDerived> {
=======
class ContinuousProcess {
>>>>>>> renamed base process templates
private:
protected:
public:
using _TDerived = TDerived;
<<<<<<< HEAD
=======
TDerived& GetRef() { return static_cast<TDerived&>(*this); }
const TDerived& GetRef() const { return static_cast<const TDerived&>(*this); }
>>>>>>> renamed base process templates
// here starts the interface part
// -> enforce TDerived to implement DoContinuous...
......
......@@ -25,11 +25,25 @@ namespace corsika::process {
*/
template <typename TDerived>
<<<<<<< HEAD
class InteractionProcess : public BaseProcess<TDerived> {
public:
using _TDerived = TDerived;
using BaseProcess<TDerived>::GetRef;
=======
class InteractionProcess {
private:
protected:
using _TDerived = TDerived;
public:
TDerived& GetRef() { return static_cast<TDerived&>(*this); }
const TDerived& GetRef() const { return static_cast<const TDerived&>(*this); }
>>>>>>> renamed base process templates
/// here starts the interface-definition part
// -> enforce TDerived to implement DoInteraction...
......
......@@ -25,10 +25,23 @@ namespace corsika::process {
*/
template <typename TDerived>
<<<<<<< HEAD
class SecondariesProcess : public BaseProcess<TDerived> {
public:
using _TDerived = TDerived;
=======
class SecondariesProcess {
private:
protected:
using _TDerived = TDerived;
public:
TDerived& GetRef() { return static_cast<TDerived&>(*this); }
const TDerived& GetRef() const { return static_cast<const TDerived&>(*this); }
>>>>>>> renamed base process templates
/// here starts the interface-definition part
// -> enforce TDerived to implement DoSecondaries...
template <typename TSecondaries>
......
......@@ -35,6 +35,12 @@ namespace corsika::process {
StackProcess(const unsigned int nStep)
: fNStep(nStep) {}
<<<<<<< HEAD
=======
TDerived& GetRef() { return static_cast<TDerived&>(*this); }
const TDerived& GetRef() const { return static_cast<const TDerived&>(*this); }
>>>>>>> renamed base process templates
/// here starts the interface-definition part
// -> enforce TDerived to implement DoStack...
template <typename TStack>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment