Public Member Functions | List of all members
WireCell::Img::BlobReframer Class Reference

#include <BlobReframer.h>

Inheritance diagram for WireCell::Img::BlobReframer:
WireCell::IClusterFramer WireCell::IConfigurable WireCell::IFunctionNode< ICluster, IFrame > WireCell::IComponent< IConfigurable > WireCell::IFunctionNodeBase WireCell::Interface WireCell::INode WireCell::IComponent< INode > WireCell::Interface

Public Member Functions

 BlobReframer ()
 
virtual ~BlobReframer ()
 
virtual void configure (const WireCell::Configuration &cfg)
 Accept a configuration. More...
 
virtual WireCell::Configuration default_configuration () const
 Optional, override to return a hard-coded default configuration. More...
 
virtual bool operator() (const input_pointer &in, output_pointer &out)
 The calling signature: More...
 
- Public Member Functions inherited from WireCell::IClusterFramer
virtual ~IClusterFramer ()
 
virtual std::string signature ()
 Set the signature for all subclasses. More...
 
- Public Member Functions inherited from WireCell::IFunctionNode< ICluster, IFrame >
virtual ~IFunctionNode ()
 
virtual bool operator() (const boost::any &anyin, boost::any &anyout)
 The calling signature: More...
 
virtual std::vector< std::stringinput_types ()
 
virtual std::vector< std::stringoutput_types ()
 
- Public Member Functions inherited from WireCell::IFunctionNodeBase
virtual ~IFunctionNodeBase ()
 
virtual NodeCategory category ()
 Return the behavior category type. More...
 
virtual int concurrency ()
 By default assume all subclasses are stateless. More...
 
- Public Member Functions inherited from WireCell::INode
virtual ~INode ()
 
virtual void reset ()
 
- Public Member Functions inherited from WireCell::IComponent< INode >
virtual ~IComponent ()
 
- Public Member Functions inherited from WireCell::Interface
virtual ~Interface ()
 
- Public Member Functions inherited from WireCell::IConfigurable
virtual ~IConfigurable ()
 
- Public Member Functions inherited from WireCell::IComponent< IConfigurable >
virtual ~IComponent ()
 

Additional Inherited Members

- Public Types inherited from WireCell::IFunctionNode< ICluster, IFrame >
typedef ICluster input_type
 
typedef IFrame output_type
 
typedef std::shared_ptr< const IClusterinput_pointer
 
typedef std::shared_ptr< const IFrameoutput_pointer
 
typedef IFunctionNode< ICluster, IFramesignature_type
 
- Public Types inherited from WireCell::IFunctionNodeBase
typedef std::shared_ptr< IFunctionNodeBasepointer
 
- 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 Types inherited from WireCell::IComponent< IConfigurable >
typedef std::shared_ptr< IConfigurablepointer
 Access subclass facet by pointer. More...
 
typedef std::vector< pointervector
 Vector of shared pointers. More...
 

Detailed Description

Definition at line 20 of file BlobReframer.h.

Constructor & Destructor Documentation

Img::BlobReframer::BlobReframer ( )

Definition at line 19 of file BlobReframer.cxx.

20 {
21 }
Img::BlobReframer::~BlobReframer ( )
virtual

Definition at line 23 of file BlobReframer.cxx.

24 {
25 }

Member Function Documentation

void Img::BlobReframer::configure ( const WireCell::Configuration config)
virtual

Accept a configuration.

Implements WireCell::IConfigurable.

Definition at line 27 of file BlobReframer.cxx.

28 {
29 }
WireCell::Configuration Img::BlobReframer::default_configuration ( ) const
virtual

Optional, override to return a hard-coded default configuration.

Reimplemented from WireCell::IConfigurable.

Definition at line 31 of file BlobReframer.cxx.

32 {
34  return cfg;
35 }
cfg
Definition: dbjson.py:29
Json::Value Configuration
Definition: Configuration.h:50
bool Img::BlobReframer::operator() ( const input_pointer in,
output_pointer out 
)
virtual

The calling signature:

Implements WireCell::IFunctionNode< ICluster, IFrame >.

Definition at line 38 of file BlobReframer.cxx.

39 {
40  out = nullptr;
41  if (!in) {
42  return true; // EOS
43  }
44 
45  cluster_indexed_graph_t grind(in->graph());
46 
47  for (auto iblob : oftype<IBlob::pointer>(grind)) {
48  // to be continued.
49  }
50 
51 
52  return true;
53 }
IndexedGraph< cluster_node_t > cluster_indexed_graph_t
Definition: ICluster.h:105

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