#include <GPipelineManager.h>
◆ ~GPipelineManager()
| GPipelineManager::~GPipelineManager |
( |
| ) |
|
|
override |
◆ add()
◆ clear()
| CStatus GPipelineManager::clear |
( |
| ) |
|
|
finalvirtual |
清空所有object,必须实现的内容
- Returns
这里只是清空list中的信息,并不真正销毁 pipeline对象 因为pipeline 对象统一在 Factory中管控
Implements GraphManager< GPipeline >.
◆ destroy()
| CStatus GPipelineManager::destroy |
( |
| ) |
|
|
finalvirtual |
◆ fetch()
获取一个可以运行的pipeline信息 没有可用的话,则返回 nullptr
- Returns
◆ find()
如果在其中一个位置,找到了,就返回 true了 非线程安全,建议 init 之前使用
◆ getSize()
| CSize GPipelineManager::getSize |
( |
| ) |
const |
|
finalvirtual |
◆ init()
◆ release()
释放一个pipeline信息,重新放回 free list 中去
- Parameters
-
- Returns
◆ remove()
◆ run()
流程处理函数
这里执行,是外部线程执行的。获取的status就是这个pipeline run的结果 无论如何,执行完成之后,都要将pipeline返回到 free_list 中去
Implements CObject.
◆ free_list_
◆ mutex_
| std::mutex GPipelineManager::mutex_ |
|
private |
◆ used_list_
The documentation for this class was generated from the following files: