Public Member Functions | List of all members
MyDepoSrc Class Reference
Inheritance diagram for MyDepoSrc:
WireCell::IDepoSource WireCell::ISourceNode< IDepo > WireCell::ISourceNodeBase WireCell::INode WireCell::IComponent< INode > WireCell::Interface

Public Member Functions

virtual ~MyDepoSrc ()
 
virtual bool operator() (WireCell::IDepo::pointer &depo)
 The calling signature: More...
 
- Public Member Functions inherited from WireCell::IDepoSource
virtual ~IDepoSource ()
 
virtual std::string signature ()
 Set the signature for all subclasses. More...
 
- Public Member Functions inherited from WireCell::ISourceNode< IDepo >
virtual ~ISourceNode ()
 
virtual NodeCategory category ()
 Return the behavior category type. More...
 
virtual bool operator() (boost::any &anyout)
 
virtual std::vector< std::stringoutput_types ()
 
- Public Member Functions inherited from WireCell::ISourceNodeBase
virtual ~ISourceNodeBase ()
 
- Public Member Functions inherited from WireCell::INode
virtual ~INode ()
 
virtual int concurrency ()
 
virtual std::vector< std::stringinput_types ()
 
virtual void reset ()
 
- Public Member Functions inherited from WireCell::IComponent< INode >
virtual ~IComponent ()
 
- Public Member Functions inherited from WireCell::Interface
virtual ~Interface ()
 

Additional Inherited Members

- Public Types inherited from WireCell::IDepoSource
typedef std::shared_ptr< IDepoSourcepointer
 
- Public Types inherited from WireCell::ISourceNode< IDepo >
typedef IDepo output_type
 
typedef ISourceNode< IDeposignature_type
 
typedef std::shared_ptr< signature_typepointer
 
typedef std::shared_ptr< const IDepooutput_pointer
 
- Public Types inherited from WireCell::ISourceNodeBase
typedef std::shared_ptr< ISourceNodeBasepointer
 
- Public Types inherited from WireCell::INode
enum  NodeCategory {
  unknown, sourceNode, sinkNode, functionNode,
  queuedoutNode, joinNode, splitNode, faninNode,
  fanoutNode, multioutNode, hydraNode
}
 
- Public Types inherited from WireCell::IComponent< INode >
typedef std::shared_ptr< INodepointer
 Access subclass facet by pointer. More...
 
typedef std::vector< pointervector
 Vector of shared pointers. More...
 
- Public Types inherited from WireCell::Interface
typedef std::shared_ptr< Interfacepointer
 

Detailed Description

Definition at line 12 of file test_ihydra.cxx.

Constructor & Destructor Documentation

virtual MyDepoSrc::~MyDepoSrc ( )
inlinevirtual

Definition at line 14 of file test_ihydra.cxx.

14 {}

Member Function Documentation

virtual bool MyDepoSrc::operator() ( WireCell::IDepo::pointer out)
inlinevirtual

The calling signature:

Implements WireCell::ISourceNode< IDepo >.

Definition at line 15 of file test_ihydra.cxx.

15  {
16 
17  using namespace WireCell;
18 
19  std::cerr << "Running instance of " << demangle(signature()) << "\n";
20 
21  std::cerr << "input types:\n";
22  for (auto tn : input_types()) {
23  std::cerr << "\t" << demangle(tn) << "\n";
24  }
25 
26  std::cerr << "output types:\n";
27  for (auto tn : output_types()) {
28  std::cerr << "\t" << demangle(tn) << "\n";
29  }
30  return true;
31  }
std::string demangle(T const *=nullptr)
Outputs a demangled name for type T.
Definition: DebugUtils.h:348
virtual std::string signature()
Set the signature for all subclasses.
Definition: IDepoSource.h:18
virtual std::vector< std::string > output_types()
Definition: ISourceNode.h:64
Definition: Main.h:22
virtual std::vector< std::string > input_types()
Definition: INode.h:53

The documentation for this class was generated from the following file: