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

#include <GStageManager.h>

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

Protected Member Functions

 ~GStageManager () override
 
CStatus init () override
 
CStatus destroy () override
 
CStatus clear () final
 
CStatus create (const std::string &key, CInt threshold)
 
CStatus waitForReady (const std::string &key)
 
- Protected Member Functions inherited from GraphManager< GStage >
virtual CStatus add (GStage *object)
 
virtual CStatus remove (GStage *object)
 
virtual CBool find (GStage *object) const
 
virtual CStatus create (const std::string &key)
 
virtual GStageget (const std::string &key)
 
virtual CStatus reset ()
 
virtual CSize getSize () const
 
CStatus run () override
 

Private Attributes

std::unordered_map< std::string, GStagePtrstage_map_ {}
 

Friends

class GPipeline
 
class GElement
 

Additional Inherited Members

- Public Member Functions inherited from CObject
 CObject ()=default
 
virtual ~CObject ()=default
 

Constructor & Destructor Documentation

◆ ~GStageManager()

GStageManager::~GStageManager ( )
inlineoverrideprotected
Here is the call graph for this function:

Member Function Documentation

◆ clear()

CStatus GStageManager::clear ( )
inlinefinalprotectedvirtual

清空所有object,必须实现的内容

Returns

Implements GraphManager< GStage >.

◆ create()

CStatus GStageManager::create ( const std::string &  key,
CInt  threshold 
)
inlineprotected

创建 stage 信息

Parameters
key
threshold
Returns

◆ destroy()

CStatus GStageManager::destroy ( )
inlineoverrideprotectedvirtual

释放函数

Reimplemented from CObject.

◆ init()

CStatus GStageManager::init ( )
inlineoverrideprotectedvirtual

初始化函数

Reimplemented from CObject.

◆ waitForReady()

CStatus GStageManager::waitForReady ( const std::string &  key)
inlineprotected

进入等待区

Parameters
key
Returns

Friends And Related Function Documentation

◆ GElement

friend class GElement
friend

◆ GPipeline

friend class GPipeline
friend

Member Data Documentation

◆ stage_map_

std::unordered_map<std::string, GStagePtr> GStageManager::stage_map_ {}
private

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