Public Types | Public Member Functions | List of all members
WireCell::ISinkNode< InputType > Class Template Referenceabstract

#include <ISinkNode.h>

Inheritance diagram for WireCell::ISinkNode< InputType >:
WireCell::ISinkNodeBase WireCell::INode WireCell::IComponent< INode > WireCell::Interface

Public Types

typedef InputType input_type
 
typedef std::shared_ptr< const InputType > input_pointer
 
- Public Types inherited from WireCell::ISinkNodeBase
typedef std::shared_ptr< ISinkNodeBasepointer
 
- 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 ~ISinkNode ()
 
virtual bool operator() (const boost::any &anyin)
 
virtual bool operator() (const input_pointer &in)=0
 The calling signature: More...
 
virtual std::vector< std::stringinput_types ()
 
- Public Member Functions inherited from WireCell::ISinkNodeBase
virtual ~ISinkNodeBase ()
 
virtual NodeCategory category ()
 Return the behavior category type. More...
 
- Public Member Functions inherited from WireCell::INode
virtual ~INode ()
 
virtual std::string signature ()=0
 
virtual int concurrency ()
 
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

template<typename InputType>
class WireCell::ISinkNode< InputType >

Definition at line 28 of file ISinkNode.h.

Member Typedef Documentation

template<typename InputType>
typedef std::shared_ptr<const InputType> WireCell::ISinkNode< InputType >::input_pointer

Definition at line 32 of file ISinkNode.h.

template<typename InputType>
typedef InputType WireCell::ISinkNode< InputType >::input_type

Definition at line 31 of file ISinkNode.h.

Constructor & Destructor Documentation

template<typename InputType>
virtual WireCell::ISinkNode< InputType >::~ISinkNode ( )
inlinevirtual

Definition at line 34 of file ISinkNode.h.

34 {}

Member Function Documentation

template<typename InputType>
virtual std::vector<std::string> WireCell::ISinkNode< InputType >::input_types ( )
inlinevirtual

Reimplemented from WireCell::INode.

Definition at line 45 of file ISinkNode.h.

45  {
46  return std::vector<std::string>{typeid(input_type).name()};
47  }
static QCString name
Definition: declinfo.cpp:673
InputType input_type
Definition: ISinkNode.h:31
template<typename InputType>
virtual bool WireCell::ISinkNode< InputType >::operator() ( const boost::any &  anyin)
inlinevirtual

Implements WireCell::ISinkNodeBase.

Definition at line 36 of file ISinkNode.h.

36  {
37  const input_pointer& in = boost::any_cast<const input_pointer&>(anyin);
38  return (*this)(in);
39  }
std::shared_ptr< const InputType > input_pointer
Definition: ISinkNode.h:32
template<typename InputType>
virtual bool WireCell::ISinkNode< InputType >::operator() ( const input_pointer in)
pure virtual

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