LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
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"
6
#include "
fhiclcpp/ParameterSet.h
"
7
#include "
fhiclcpp/types/AllowedConfigurationMacro.h
"
8
#include "
messagefacility/MessageService/ELdestination.h
"
9
#include "
messagefacility/MessageService/ELostreamOutput.h
"
10
11
#include <iostream>
12
#include <memory>
13
#include <string>
14
15
using namespace
std
;
16
using
mf::service::ELostreamOutput
;
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
)
27
FHICL_PROVIDE_ALLOWED_CONFIGURATION
(
ELostreamOutput
)
AllowedConfigurationMacro.h
ELdestination.h
std
STL namespace.
ParameterSet.h
FHICL_PROVIDE_ALLOWED_CONFIGURATION
#define FHICL_PROVIDE_ALLOWED_CONFIGURATION(klass)
Definition:
AllowedConfigurationMacro.h:45
MAKE_PLUGIN_START
MAKE_PLUGIN_START(auto, string const &, fhicl::ParameterSet const &pset)
Definition:
cout_mfPlugin.cc:18
ELostreamOutput.h
mf::service::ELdestination
Definition:
ELdestination.h:25
mf::service::ELostreamOutput
Definition:
ELostreamOutput.h:24
fhicl::ParameterSet
Definition:
ParameterSet.h:34
messagefacility
plugins
cout_mfPlugin.cc
Generated on Thu Jul 26 2018 13:10:21 for LArSoft by
1.8.11