Public Types | Public Member Functions | Private Attributes | List of all members
WireCell::SourceNodeProc Class Reference

#include <GenPipeline.h>

Inheritance diagram for WireCell::SourceNodeProc:
WireCell::SourceProc WireCell::Proc

Public Types

typedef WireCell::ISourceNodeBase node_t
 
typedef std::shared_ptr< node_tnode_pointer_t
 

Public Member Functions

 SourceNodeProc (node_pointer_t node)
 
virtual ~SourceNodeProc ()
 
virtual Pipeoutput_pipe ()
 
virtual bool operator() ()
 
- Public Member Functions inherited from WireCell::SourceProc
virtual ~SourceProc ()
 
- Public Member Functions inherited from WireCell::Proc
virtual ~Proc ()
 

Private Attributes

Pipe oq
 
node_pointer_t node
 

Detailed Description

Definition at line 130 of file GenPipeline.h.

Member Typedef Documentation

Definition at line 133 of file GenPipeline.h.

Definition at line 132 of file GenPipeline.h.

Constructor & Destructor Documentation

WireCell::SourceNodeProc::SourceNodeProc ( node_pointer_t  node)
inline

Definition at line 135 of file GenPipeline.h.

135 : node(node) {}
virtual WireCell::SourceNodeProc::~SourceNodeProc ( )
inlinevirtual

Definition at line 136 of file GenPipeline.h.

136 {}

Member Function Documentation

virtual bool WireCell::SourceNodeProc::operator() ( void  )
inlinevirtual

Implements WireCell::Proc.

Definition at line 142 of file GenPipeline.h.

142  {
143  boost::any anyout;
144  bool ok = (*node)(anyout);
145  if (!ok) return false;
146  oq.push(anyout);
147  return true;
148  }
virtual Pipe& WireCell::SourceNodeProc::output_pipe ( )
inlinevirtual

Implements WireCell::SourceProc.

Definition at line 138 of file GenPipeline.h.

138  {
139  return oq;
140  }

Member Data Documentation

node_pointer_t WireCell::SourceNodeProc::node
private

Definition at line 152 of file GenPipeline.h.

Pipe WireCell::SourceNodeProc::oq
private

Definition at line 151 of file GenPipeline.h.


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