LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
cout_mfPlugin.cc
Go to the documentation of this file.
1 // vim: set sw=2 expandtab :
2 
3 #include "cetlib/PluginTypeDeducer.h"
4 #include "cetlib/ProvideFilePathMacro.h"
5 #include "cetlib/ProvideMakePluginMacros.h"
10 
11 #include <iostream>
12 #include <memory>
13 #include <string>
14 
15 using namespace std;
17 
18 MAKE_PLUGIN_START(auto, string const&, fhicl::ParameterSet const& pset)
19 {
20  return make_unique<mf::service::ELostreamOutput>(pset,
21  cet::ostream_handle{cout});
22 }
23 MAKE_PLUGIN_END
24 
25 CET_PROVIDE_FILE_PATH()
26 DEFINE_BASIC_PLUGINTYPE_FUNC(mf::service::ELdestination)
STL namespace.
#define FHICL_PROVIDE_ALLOWED_CONFIGURATION(klass)
MAKE_PLUGIN_START(auto, string const &, fhicl::ParameterSet const &pset)