#ifndef OPENMANUS_FLOW_FLOW_FACTORY_H #define OPENMANUS_FLOW_FLOW_FACTORY_H #include #include #include #include "base_flow.h" #include "planning_flow.h" namespace openmanus { /** * @class FlowFactory * @brief 流程工厂,用于创建不同类型的流程 */ class FlowFactory { public: /** * @brief 创建流程 * @param flow_type 流程类型 * @param agent 主要代理 * @return 流程 */ static std::shared_ptr createFlow( FlowType flow_type, std::shared_ptr agent ); /** * @brief 创建流程 * @param flow_type 流程类型 * @param agents 多个代理 * @return 流程 */ static std::shared_ptr createFlow( FlowType flow_type, const std::vector>& agents ); }; } // namespace openmanus #endif // OPENMANUS_FLOW_FLOW_FACTORY_H