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 
10 
11 namespace mf::service {
12 
13  class ELostreamOutput : public ELdestination {
14  public:
15  struct Config {
17  };
19 
23  bool emitAtStart = false);
25  std::ostream&,
26  bool emitAtStart = false);
29  bool emitAtStart = false);
30  ELostreamOutput(ELostreamOutput const&) = delete;
31  ELostreamOutput(ELostreamOutput&&) = delete;
32  ELostreamOutput& operator=(ELostreamOutput const&) = delete;
34 
35  private:
36  void routePayload(std::ostringstream const& oss,
37  ErrorObj const& msg) override;
38 
41  };
42 
43 } // namespace mf::service
44 
45 #endif /* messagefacility_MessageService_ELostreamOutput_h */
46 
47 // Local variables:
48 // mode: c++
49 // End:
void msg(const char *fmt,...)
Definition: message.cpp:107
ELostreamOutput & operator=(ELostreamOutput const &)=delete
static Config * config
Definition: config.cpp:1054
void routePayload(std::ostringstream const &oss, ErrorObj const &msg) override
fhicl::TableFragment< ELdestination::Config > elDestConfig
ELostreamOutput(Parameters const &config, cet::ostream_handle &&, bool emitAtStart=false)