devicesbus stage
This commit is contained in:
@@ -67,6 +67,7 @@ void PipelineEngine::setPluginManager(std::shared_ptr<softbus::core::plugin_syst
|
||||
m_pluginManager = std::move(pluginManager);
|
||||
}
|
||||
|
||||
// 管道引擎运行线程 从 ingress 队列中取出数据 进行处理 然后推送到 egress 队列中
|
||||
void PipelineEngine::run()
|
||||
{
|
||||
while (m_running.load()) {
|
||||
@@ -77,9 +78,13 @@ void PipelineEngine::run()
|
||||
}
|
||||
|
||||
const bool framed = stage1Framer(ctx);
|
||||
// 帧解析
|
||||
const bool parsed = framed && stage2Parser(ctx);
|
||||
// 过滤
|
||||
const bool filtered = parsed && stage3Filter(ctx);
|
||||
// 验证
|
||||
const bool valid = filtered && stage4Validator(ctx);
|
||||
// 如果验证失败 则记录错误
|
||||
if (!valid) {
|
||||
++m_counters.error;
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user