Train_Identify_arm/nvidia_ascend_engine/common_engine/ControlEngine/SubControlEngine.h

49 lines
1.0 KiB
C
Raw Normal View History

2024-06-19 06:35:05 +00:00
/**
* Engine()
* */
#ifndef SUBCONTROLENGINE_H
#define SUBCONTROLENGINE_H
#include "AppCommon.h"
#include "MyYaml.h"
#include "myutils.h"
#include "EngineBase.h"
#include "EngineFactory.h"
class SubControlEngine : public ai_matrix::EngineBase
{
public:
SubControlEngine();
~SubControlEngine();
APP_ERROR Init() override;
APP_ERROR DeInit() override;
APP_ERROR Process() override;
private:
//参数初始化
void InitParam();
bool bUseEngine_;
bool bHwDecode_;
ai_matrix::DataSourceConfig dataSourceConfig_;
std::string save_path_;
std::string strPort0_;
std::string strPort1_;
std::string strPort2_;
bool bCollectDataFlag_;
bool bPushActualFlag_; //是否实时推流-用于直播
std::string strCollectDataSavePath_;
std::string strResultPath_;
uint32_t iPushDataNO_ = 1; //发送数据编号
MoveData moveData_;
std::queue<std::shared_ptr<ProcessData>> queueProcessData_;
};
ENGINE_REGIST(SubControlEngine)
#endif