LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
ELostreamOutput.h
Go to the documentation of this file.
1
#ifndef messagefacility_MessageService_ELostreamOutput_h
2
#define messagefacility_MessageService_ELostreamOutput_h
3
// vim: set sw=2 expandtab :
4
5
#include "cetlib/ostream_handle.h"
6
#include "
fhiclcpp/types/ConfigurationTable.h
"
7
#include "
fhiclcpp/types/TableFragment.h
"
8
#include "
messagefacility/MessageService/ELdestination.h
"
9
#include "
messagefacility/Utilities/ELextendedID.h
"
10
11
namespace
mf::service
{
12
13
class
ELostreamOutput
:
public
ELdestination
{
14
public
:
15
struct
Config
{
16
fhicl::TableFragment<ELdestination::Config>
elDestConfig
;
17
};
18
using
Parameters
=
fhicl::WrappedTable<Config>
;
19
20
~ELostreamOutput
();
21
ELostreamOutput
(
Parameters
const
& config,
22
cet::ostream_handle&&,
23
bool
emitAtStart =
false
);
24
ELostreamOutput
(
Parameters
const
& config,
25
std::ostream&,
26
bool
emitAtStart =
false
);
27
ELostreamOutput
(
Config
const
& config,
28
cet::ostream_handle&&,
29
bool
emitAtStart =
false
);
30
ELostreamOutput
(
ELostreamOutput
const
&) =
delete
;
31
ELostreamOutput
(
ELostreamOutput
&&) =
delete
;
32
ELostreamOutput
&
operator=
(
ELostreamOutput
const
&) =
delete
;
33
ELostreamOutput
&
operator=
(
ELostreamOutput
&&) =
delete
;
34
35
private
:
36
void
routePayload
(std::ostringstream
const
& oss,
37
ErrorObj
const
& msg)
override
;
38
39
cet::ostream_handle
osh
;
40
ELextendedID
xid
{};
41
};
42
43
}
// namespace mf::service
44
45
#endif
/* messagefacility_MessageService_ELostreamOutput_h */
46
47
// Local variables:
48
// mode: c++
49
// End:
mf::service::ELostreamOutput::Config
Definition:
ELostreamOutput.h:15
mf::service::ELostreamOutput::osh
cet::ostream_handle osh
Definition:
ELostreamOutput.h:39
ELdestination.h
mf::service::ELostreamOutput::xid
ELextendedID xid
Definition:
ELostreamOutput.h:40
mf::service::ELostreamOutput::operator=
ELostreamOutput & operator=(ELostreamOutput const &)=delete
mf::ELextendedID
Definition:
ELextendedID.h:11
mf::service::ELostreamOutput::~ELostreamOutput
~ELostreamOutput()
mf::service::ELostreamOutput::routePayload
void routePayload(std::ostringstream const &oss, ErrorObj const &msg) override
Definition:
ELostreamOutput.cc:41
fhicl::WrappedTable
Definition:
ConfigurationTable.h:30
TableFragment.h
ConfigurationTable.h
fhicl::TableFragment
Definition:
type_traits.h:35
mf::ErrorObj
Definition:
ErrorObj.h:17
mf::service::ELostreamOutput::Config::elDestConfig
fhicl::TableFragment< ELdestination::Config > elDestConfig
Definition:
ELostreamOutput.h:16
mf::service
Definition:
ELdestination.cc:35
ELextendedID.h
mf::service::ELostreamOutput::ELostreamOutput
ELostreamOutput(Parameters const &config, cet::ostream_handle &&, bool emitAtStart=false)
Definition:
ELostreamOutput.cc:15
mf::service::ELdestination
Definition:
ELdestination.h:24
mf::service::ELostreamOutput
Definition:
ELostreamOutput.h:13
messagefacility
MessageService
ELostreamOutput.h
Generated on Thu May 2 2024 20:59:52 for LArSoft by
1.8.11