MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ accepts()

bool MayaFlux::Nodes::Network::JunctionOperator::accepts ( const Kinesis::Acoustics::DuctGrid & grid,
const Kinesis::Acoustics::DuctSpec & spec,
DuctEnd end ) const
nodiscardoverridevirtual

Whether prepare would succeed for this grid and end.

Note
Safe from any thread, and does not change the operator.

Implements MayaFlux::Nodes::Network::TerminationOperator.

Definition at line 392 of file TerminationOperators.cpp.

393{
394 return grid_usable(grid) && m_law && positive_finite(end_gain_of(grid, end))
395 && positive_finite(m_maximum_flow.load(std::memory_order_relaxed));
396}

References m_law, and m_maximum_flow.