Public Member Functions | List of all members
WireCellTbb::MockDepoSink Class Reference

#include <tbb_mock.h>

Inheritance diagram for WireCellTbb::MockDepoSink:
WireCell::IDepoSink WireCell::ISinkNode< IDepo > WireCell::ISinkNodeBase WireCell::INode WireCell::IComponent< INode > WireCell::Interface

Public Member Functions

virtual ~MockDepoSink ()
 
virtual bool operator() (const input_pointer &depo)
 The calling signature: More...
 
- Public Member Functions inherited from WireCell::IDepoSink
virtual ~IDepoSink ()
 
virtual std::string signature ()
 
- Public Member Functions inherited from WireCell::ISinkNode< IDepo >
virtual ~ISinkNode ()
 
virtual bool operator() (const boost::any &anyin)
 
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 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 ()
 

Additional Inherited Members

- Public Types inherited from WireCell::ISinkNode< IDepo >
typedef IDepo input_type
 
typedef std::shared_ptr< const IDepoinput_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
 

Detailed Description

Definition at line 59 of file tbb_mock.h.

Constructor & Destructor Documentation

virtual WireCellTbb::MockDepoSink::~MockDepoSink ( )
inlinevirtual

Definition at line 61 of file tbb_mock.h.

61 {}

Member Function Documentation

virtual bool WireCellTbb::MockDepoSink::operator() ( const input_pointer in)
inlinevirtual

The calling signature:

Implements WireCell::ISinkNode< IDepo >.

Definition at line 62 of file tbb_mock.h.

62  {
63  std::cerr << "Sink: " << depo->time()/WireCell::units::millimeter << std::endl;
64  return true;
65  }
static const double millimeter
Definition: Units.h:22
QTextStream & endl(QTextStream &s)

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