IDepoCollector.h
Go to the documentation of this file.
1 #ifndef WIRECELL_IDEPOCOLLECTOR
2 #define WIRECELL_IDEPOCOLLECTOR
3 
5 #include "WireCellIface/IDepo.h"
7 
8 namespace WireCell {
9 
10  /** A depo collector if fed depos one at a time, possibly applying
11  * some filtering, until some condition is met at which time it
12  * produces a DepoSet.
13  *
14  * No depos will be retained after an EOS is received and it will
15  * lead to an EOS being emitted.
16  */
17  class IDepoCollector : public IQueuedoutNode<IDepo, IDepoSet>
18  {
19  public:
20  typedef std::shared_ptr<IDepoCollector> pointer;
21 
22  virtual ~IDepoCollector() ;
23 
24  virtual std::string signature() {
25  return typeid(IDepoCollector).name();
26  }
27 
28  // implement:
29  // virtual bool operator()(const input_pointer& depo, output_queue& deposetqueue);
30  };
31 }
32 
33 
34 #endif
static QCString name
Definition: declinfo.cpp:673
std::string string
Definition: nybbler.cc:12
Definition: Main.h:22
virtual std::string signature()
std::shared_ptr< IDepoCollector > pointer