Public Types | Public Member Functions | List of all members
WireCell::IHydraNodeBase Class Referenceabstract

#include <IHydraNode.h>

Inheritance diagram for WireCell::IHydraNodeBase:
WireCell::INode WireCell::IComponent< INode > WireCell::Interface WireCell::IHydraNode< in_tuple_t, out_tuple_t > WireCell::IHydraNode< std::tuple< IDepo, IDepo >, std::tuple< IDepo > > WireCell::IHydraNode< InputTuple, OutputTuple > MyHydra WireCell::IDepoMerger WireCell::Gen::DepoMerger

Public Types

typedef std::shared_ptr< IHydraNodeBasepointer
 
typedef std::deque< boost::any > any_queue
 
typedef std::vector< any_queueany_queue_vector
 
- 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
 

Public Member Functions

virtual ~IHydraNodeBase ()
 
virtual bool operator() (any_queue_vector &anyinq, any_queue_vector &anyoutq)=0
 The calling signature: More...
 
virtual NodeCategory category ()
 Return the behavior category type. More...
 
virtual int concurrency ()
 By default assume hydra nodes can do their thing stateless. More...
 
- Public Member Functions inherited from WireCell::INode
virtual ~INode ()
 
virtual std::string signature ()=0
 
virtual std::vector< std::stringinput_types ()
 
virtual std::vector< std::stringoutput_types ()
 
virtual void reset ()
 
- Public Member Functions inherited from WireCell::IComponent< INode >
virtual ~IComponent ()
 
- Public Member Functions inherited from WireCell::Interface
virtual ~Interface ()
 

Detailed Description

Base hydra node class.

Definition at line 23 of file IHydraNode.h.

Member Typedef Documentation

typedef std::deque<boost::any> WireCell::IHydraNodeBase::any_queue

Definition at line 30 of file IHydraNode.h.

Definition at line 31 of file IHydraNode.h.

Definition at line 26 of file IHydraNode.h.

Constructor & Destructor Documentation

IHydraNodeBase::~IHydraNodeBase ( )
virtual

Definition at line 144 of file IfaceDesctructors.cxx.

144 {}

Member Function Documentation

virtual NodeCategory WireCell::IHydraNodeBase::category ( )
inlinevirtual

Return the behavior category type.

Implements WireCell::INode.

Definition at line 37 of file IHydraNode.h.

37  {
38  return hydraNode;
39  }
virtual int WireCell::IHydraNodeBase::concurrency ( )
inlinevirtual

By default assume hydra nodes can do their thing stateless.

Reimplemented from WireCell::INode.

Definition at line 42 of file IHydraNode.h.

42 { return 0; }
virtual bool WireCell::IHydraNodeBase::operator() ( any_queue_vector anyinq,
any_queue_vector anyoutq 
)
pure virtual

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