Omnibus.h
Go to the documentation of this file.
1 /** This is Omnibus, a WCT app object that ties together signal
2  * processing components. It takes any number of frame filters and
3  * pushes one frame from source, through the pipeline to sink. */
4 
5 #ifndef WIRECELLSIGPROC_OMNIBUS
6 #define WIRECELLSIGPROC_OMNIBUS
7 
13 
14 #include <vector>
15 #include <string>
16 
17 namespace WireCell {
18  namespace SigProc {
19 
21  public:
22 
23  Omnibus();
24  virtual ~Omnibus();
25 
26  virtual void execute();
27 
28  virtual void configure(const WireCell::Configuration& config);
30 
31 
32  private:
33 
35  std::vector<std::string> m_filters_tn;
37  std::vector<IFrameFilter::pointer> m_filters;
39  };
40  }
41 }
42 
43 #endif
std::string string
Definition: nybbler.cc:12
std::shared_ptr< IFrameSink > pointer
Definition: IFrameSink.h:14
virtual void execute()
Implement to run something.
Definition: Omnibus.cxx:61
std::vector< std::string > m_filters_tn
Definition: Omnibus.h:35
virtual WireCell::Configuration default_configuration() const
Optional, override to return a hard-coded default configuration.
Definition: Omnibus.cxx:26
IFrameSource::pointer m_input
Definition: Omnibus.h:36
std::string m_input_tn
Definition: Omnibus.h:34
static Config * config
Definition: config.cpp:1054
IFrameSink::pointer m_output
Definition: Omnibus.h:38
std::shared_ptr< IFrameSource > pointer
Definition: IFrameSource.h:15
virtual void configure(const WireCell::Configuration &config)
Accept a configuration.
Definition: Omnibus.cxx:35
Definition: Main.h:22
std::string m_output_tn
Definition: Omnibus.h:34
Json::Value Configuration
Definition: Configuration.h:50
std::vector< IFrameFilter::pointer > m_filters
Definition: Omnibus.h:37