#include <ExpConfig.h>
◆ Setup()
| ant::ExpConfig::Setup::Setup |
( |
| ) |
|
|
delete |
◆ Cleanup()
| void ExpConfig::Setup::Cleanup |
( |
| ) |
|
|
static |
◆ Get()
Get returns the currently set setup.
- Returns
- the Setup_traits instance, see also GetByType if specific cast is needed
- Exceptions
-
◆ GetByType()
template<typename SetupType >
| const SetupType & ant::ExpConfig::Setup::GetByType |
( |
| ) |
|
|
static |
the templated version of Get() for specialized setups (typically used by unpackers)
◆ GetDetector() [1/2]
GetDetector ask for detector by type.
- Parameters
-
- Returns
- detector pointer, never nullptr
- Exceptions
-
- See also
- the templated version to get type-safe detector
◆ GetDetector() [2/2]
template<typename DetectorType >
| std::shared_ptr< DetectorType > ant::ExpConfig::Setup::GetDetector |
( |
| ) |
|
|
static |
◆ GetNames()
| std::list< string > ExpConfig::Setup::GetNames |
( |
| ) |
|
|
static |
◆ SetByName()
| void ExpConfig::Setup::SetByName |
( |
const std::string & |
setupname | ) |
|
|
static |
SetByName override current setup to this name, SetByTID won't have any effect then.
- Parameters
-
| setupname | the setup's name |
- Exceptions
-
◆ SetByTID()
| void ExpConfig::Setup::SetByTID |
( |
const TID & |
tid | ) |
|
|
static |
SetByTID automatically search setup by using their Matches() method.
- Parameters
-
| tid | TID for searching (usually provided/generated by unpacker) |
The documentation for this class was generated from the following files: