225 {
226 std::string rejection_reason;
228 throw std::runtime_error("Cannot add child buffer: " + rejection_reason);
229 }
230
232
233 if (!buffer->get_processing_chain() && this->get_processing_chain()) {
234 buffer->set_processing_chain(this->get_processing_chain());
235 }
236 }
bool is_buffer_acceptable(std::shared_ptr< BufferType > buffer, std::string *rejection_reason=nullptr) const
Validates if a buffer is acceptable based on current token enforcement strategy.
std::vector< std::shared_ptr< BufferType > > m_child_buffers
Vector of tributary buffers that contribute to this root buffer.