![]() |
ATLAS Offline Software
|
#include <AsgTools/AsgComponentFactories.h>
#include <AsgTools/MessageCheckAsgTools.h>
#include <fstream>
Go to the source code of this file.
Functions | |
int | main (int argc, char **argv) |
IMPORTANT: this file is only used in AnalysisBase, in any Athena-based project the corresponding Gaudi mechanism is used instead.
This program scans a component library and provides a map of all the contained components. The files can then be merged in CMake by simply concatenating the files. The component factory system knows how to find and read those files, and can then use them to load the corresponding component library on demand and create components from them. By and large all of this is handled by AtlasCMake and users shouldn't have to call it manually.
The way this works internally is that the program loads the component library and then reports all known component factories as belonging to that component library. Should the library internally link another component library this would report components from both libraries. However, that is generally not allowed in Athena either, so not having a special handler in AnalysisBase ought not to create a problem there either.
Definition in file asg_component_factory_scanner.cxx.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 45 of file asg_component_factory_scanner.cxx.