32 auto p = std::make_unique<CustomFactoryAlgorithm>( name, svcLoc );
36 if ( cmd.find(
"genconf" ) == std::string::npos ) {
37 std::cout <<
"created CustomFactoryAlgorithm at " << p.get() << std::endl;
42 Gaudi::PluginService::DeclareFactory<CustomFactoryAlgorithm> _{
creator };
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
MsgStream & info() const
shortcut for the method msgStream(MSG::INFO)
Algorithm(std::string name, ISvcLocator *svcloc, std::string version=PACKAGE_VERSION)
Constructor.
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
StatusCode execute() override
This class is used for returning status codes from appropriate routines.
constexpr static const auto SUCCESS
Test file used to check if the new Plugin Service is able to handle the strings used in the old one.
GAUDI_API const std::vector< std::string > cmdLineArgs()
Command line arguments including executable name as arg[0] as vector of strings.