ATLAS Offline Software
Classes | Namespaces | Macros
AlgFactory.h File Reference
#include "CxxUtils/checker_macros.h"
#include <string>
#include <vector>
#include <map>
#include <memory>
Include dependency graph for AlgFactory.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  TCS::AlgFactory
 

Namespaces

 TCS
 

Macros

#define REGISTER_ALG_NS(NS, CLASS)
 
#define REGISTER_ALG_TCS(CLASS)
 

Macro Definition Documentation

◆ REGISTER_ALG_NS

#define REGISTER_ALG_NS (   NS,
  CLASS 
)
Value:
namespace { \
std::unique_ptr<TCS::ConfigurableAlg> Create##NS__##CLASS(const std::string & methodName) { \
auto alg = std::make_unique<NS::CLASS>(methodName); \
alg->setClassName( std::string(#NS) + "__" + #CLASS ); \
alg->msg().setName( alg->fullname() ); \
return alg; \
} \
\
const bool success = TCS::AlgFactory::mutable_instance().Register( std::string(#NS) + "__" + #CLASS, Create##NS__##CLASS); \
}

Definition at line 49 of file AlgFactory.h.

◆ REGISTER_ALG_TCS

#define REGISTER_ALG_TCS (   CLASS)
Value:
namespace { \
std::unique_ptr<TCS::ConfigurableAlg> Create##CLASS(const std::string & methodName) { \
auto alg = std::make_unique<TCS::CLASS>(methodName); \
alg->setClassName( #CLASS ); \
alg->msg().setName( alg->fullname() ); \
return alg; \
} \
\
const bool success = TCS::AlgFactory::mutable_instance().Register( #CLASS, Create##CLASS); \
}

Definition at line 63 of file AlgFactory.h.

SGout2dot.alg
alg
Definition: SGout2dot.py:243