#include <Wrappers.h>
Definition at line 279 of file Wrappers.h.
Definition at line 282 of file Wrappers.h.
283 m_wcnode = std::dynamic_pointer_cast<IHydraNodeBase>(wcnode);
IHydraNodeBase::pointer m_wcnode
PortedNode(INode::pointer wcnode)
virtual WireCell::Pgraph::Hydra::~Hydra |
( |
| ) |
|
|
inlinevirtual |
virtual bool WireCell::Pgraph::Hydra::operator() |
( |
void |
| ) |
|
|
inlinevirtual |
Implements WireCell::Pgraph::Node.
Definition at line 287 of file Wrappers.h.
289 size_t nin = iports.size();
294 for (
size_t ind=0; ind < nin; ++ind) {
295 if (iports[ind].
empty()) {
302 for (
size_t ind=0; ind < nin; ++ind) {
305 std::cerr <<
"Hydra: got broken edge\n";
311 inqv[ind].insert(inqv[ind].
begin(), edge->begin(), edge->end());
315 size_t nout = oports.size();
321 bool ok = (*m_wcnode)(inqv, outqv);
322 if (!ok) {
return false; }
330 for (
size_t ind=0; ind < nin; ++ind) {
331 size_t want = inqv[ind].size();
332 while (iports[ind].
size() > want) {
338 for (
size_t ind=0; ind < nout; ++ind) {
339 Edge edge = oports[ind].edge();
340 edge->insert(edge->end(), outqv[ind].begin(), outqv[ind].end());
std::shared_ptr< Queue > Edge
decltype(auto) constexpr size(T &&obj)
ADL-aware version of std::size.
std::vector< any_queue > any_queue_vector
decltype(auto) constexpr begin(T &&obj)
ADL-aware version of std::begin.
decltype(auto) constexpr empty(T &&obj)
ADL-aware version of std::empty.
PortList & output_ports()
The documentation for this class was generated from the following file:
- wire-cell-build/pgraph/inc/WireCellPgraph/Wrappers.h