CGraph
Protected Member Functions | Private Attributes | Friends | List of all members
GTopoEngine Class Reference

拓扑排序,并按照拓扑排序的顺序串行执行 More...

#include <GTopoEngine.h>

Inheritance diagram for GTopoEngine:
Inheritance graph
[legend]
Collaboration diagram for GTopoEngine:
Collaboration graph
[legend]

Protected Member Functions

 GTopoEngine ()=default
 
CStatus setup (const GSortedGElementPtrSet &elements) override
 
CStatus run () override
 
- Protected Member Functions inherited from GEngine
 GEngine ()=default
 
CVoid link (const GSortedGElementPtrSet &elements)
 

Private Attributes

GElementPtrArr topo_elements_ {}
 

Friends

class CAllocator
 
class GElementManager
 

Additional Inherited Members

- Public Member Functions inherited from CObject
 CObject ()=default
 
virtual CStatus init ()
 
virtual CStatus destroy ()
 
virtual ~CObject ()=default
 
- Static Protected Member Functions inherited from GEngine
static GElementPtrArr getTopo (const GSortedGElementPtrSet &elements)
 
static CBool isDag (const GSortedGElementPtrSet &elements)
 
- Protected Attributes inherited from GEngine
UThreadPoolPtr thread_pool_ { nullptr }
 
CSize linked_size_ = 0
 

Detailed Description

拓扑排序,并按照拓扑排序的顺序串行执行

Constructor & Destructor Documentation

◆ GTopoEngine()

GTopoEngine::GTopoEngine ( )
explicitprotecteddefault

Member Function Documentation

◆ run()

CStatus GTopoEngine::run ( )
overrideprotectedvirtual

流程处理函数

Implements CObject.

◆ setup()

CGRAPH_NAMESPACE_BEGIN CStatus GTopoEngine::setup ( const GSortedGElementPtrSet elements)
overrideprotectedvirtual

将所有注册进入 pipeline的内容,进行分析和解构

Parameters
elements
Returns

Implements GEngine.

Here is the call graph for this function:

Friends And Related Function Documentation

◆ CAllocator

friend class CAllocator
friend

◆ GElementManager

friend class GElementManager
friend

Member Data Documentation

◆ topo_elements_

GElementPtrArr GTopoEngine::topo_elements_ {}
private

The documentation for this class was generated from the following files: