ant
A2 ant: class-based analysis framework
ant::expconfig::SetupRegistry Class Reference

The SetupRegistry class semi-automatically registers Setups. More...

#include <SetupRegistry.h>

Static Public Member Functions

static std::shared_ptr< SetupGetSetup (const std::string &name)
 
static std::list< std::string > GetNames ()
 
static void AddSetup (const std::string &name, std::shared_ptr< Setup > setup)
 
static void SetSetupOptions (OptionsPtr opt)
 
static void Cleanup ()
 

Friends

class SetupRegistration
 

Detailed Description

The SetupRegistry class semi-automatically registers Setups.

Note
don't forget to use AUTO_REGISTER_SETUP
linking order is important to get this registry properly working, see CMakeLists.txt

Member Function Documentation

◆ AddSetup()

void SetupRegistry::AddSetup ( const std::string &  name,
std::shared_ptr< Setup setup 
)
static

◆ Cleanup()

void SetupRegistry::Cleanup ( )
static

◆ GetNames()

list< string > SetupRegistry::GetNames ( )
static

◆ GetSetup()

shared_ptr< Setup > SetupRegistry::GetSetup ( const std::string &  name)
static

◆ SetSetupOptions()

void SetupRegistry::SetSetupOptions ( OptionsPtr  opt)
static

Friends And Related Function Documentation

◆ SetupRegistration

friend class SetupRegistration
friend

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