|
CGraph
|
所有节点组合的基类,所有节点组合功能,均继承自此类 More...
#include <GGroup.h>


Protected Member Functions | |
| virtual CStatus | addElement (GElementPtr element) |
| CBool | isSerializable () const override |
Protected Member Functions inherited from GElement | |
| GElement ()=default | |
| ~GElement () override | |
| virtual CStatus | prepareRun () |
| virtual CStatus | checkRunResult () |
| virtual CBool | isHold () |
| virtual CBool | isMatch () |
| CStatus | crashed (const CException &ex) |
| template<typename T , c_enable_if_t< std::is_base_of< GElementParam, T >::value, int > = 0> | |
| T * | getEParam (const std::string &key) |
| CIndex | getThreadIndex () |
| CBool | isTimeout () const |
| CIndex | getBindingIndex () const |
| GElementRelation | getRelation () const |
| CGRAPH_NO_ALLOWED_COPY (GElement) | |
Private Member Functions | |
| GGroup () | |
| CStatus | addManagers (GParamManagerPtr paramManager, GEventManagerPtr eventManager, GStageManagerPtr stageManager) override |
| CStatus | init () override |
| CStatus | destroy () override |
| CVoid | dumpGroupLabelBegin (std::ostream &oss) |
| CVoid | dumpGroupLabelEnd (std::ostream &oss) |
| virtual CBool | isSeparate (GElementCPtr a, GElementCPtr b) const |
Private Attributes | |
| GElementPtrArr | group_elements_arr_ |
Friends | |
| class | GPipeline |
| class | GCluster |
| class | GRegion |
| class | GCondition |
| class | GMutable |
| template<GMultiConditionType > | |
| class | GMultiCondition |
| template<CInt > | |
| class | GSome |
Additional Inherited Members | |
Public Member Functions inherited from GElement | |
| template<typename TAspect , typename TParam = GAspectDefaultParam, c_enable_if_t< std::is_base_of< GAspect, TAspect >::value, int > = 0, c_enable_if_t< std::is_base_of< GAspectParam, TParam >::value, int > = 0> | |
| GElement * | addGAspect (TParam *param=nullptr) |
| template<typename TAspect , typename ... Args, c_enable_if_t< std::is_base_of< GTemplateAspect< Args... >, TAspect >::value, int > = 0> | |
| GElement * | addGAspect (Args... args) |
| template<typename T , c_enable_if_t< std::is_base_of< GElementParam, T >::value, int > = 0> | |
| GElement * | addEParam (const std::string &key, T *param) |
| CStatus | addDependGElements (const std::set< GElement * > &elements) |
| GElement * | setName (const std::string &name) override |
| GElement * | setLoop (CSize loop) |
| GElement * | setLevel (CLevel level) |
| GElement * | setVisible (CBool visible) |
| GElement * | setBindingIndex (CIndex index) |
| GElement * | setTimeout (CMSec timeout, GElementTimeoutStrategy strategy=GElementTimeoutStrategy::AS_ERROR) |
| GElement * | setMacro (CBool macro) |
| CBool | isGGroup () const |
| CBool | isGAdaptor () const |
| CBool | isGNode () const |
| GElementState | getCurState () const |
| CStatus | removeDepend (GElement *element) |
| GElement & | operator-- (int) noexcept |
| GElement & | operator> (GElement *element) |
| GElement & | operator& (GElement *element) |
| GElement & | operator* (CSize loop) noexcept |
| template<typename TAspect , typename TParam , c_enable_if_t< std::is_base_of< GAspect, TAspect >::value, int > , c_enable_if_t< std::is_base_of< GAspectParam, TParam >::value, int > > | |
| CGRAPH_NAMESPACE_BEGIN GElementPtr | addGAspect (TParam *param) |
| template<typename TAspect , typename ... Args, c_enable_if_t< std::is_base_of< GTemplateAspect< Args... >, TAspect >::value, int > > | |
| GElementPtr | addGAspect (Args... args) |
| template<typename T , c_enable_if_t< std::is_base_of< GElementParam, T >::value, int > > | |
| GElementPtr | addEParam (const std::string &key, T *param) |
Public Member Functions inherited from CObject | |
| CObject ()=default | |
| virtual CStatus | run ()=0 |
| virtual | ~CObject ()=default |
Public Member Functions inherited from CDescInfo | |
| virtual const std::string & | getName () const |
| const std::string & | getSession () const |
| const std::string & | getDescription () const |
| virtual auto | setDescription (const std::string &description) -> decltype(this) |
| virtual | ~CDescInfo ()=default |
Protected Attributes inherited from CDescInfo | |
| std::string | name_ |
| std::string | session_ |
| std::string | description_ |
所有节点组合的基类,所有节点组合功能,均继承自此类
|
explicitprivate |
|
protectedvirtual |
向group中,添加element信息
| element |
Reimplemented in GSome< TriggerNum >, and GRegion.

|
overrideprivatevirtual |
|
overrideprivatevirtual |
|
private |
生成graphviz中 group对应的label 的开头信息
| oss |

|
private |
生成graphviz中的 group对应的label 的结尾信息
| oss |
|
overrideprivatevirtual |
|
privatevirtual |
判断两个element,是否相互独立
| a | |
| b |
Reimplemented in GCondition, GRegion, GMultiCondition< type >, and GCluster.
|
overrideprotectedvirtual |
判断当前元素,是否可以线性执行。默认返回true
针对group的情况,应该是所有在其中的element 都是可以串行的,才认定为可串行 但是在 region和 multiCondition中,有针对性的判断
Reimplemented from GElement.
Reimplemented in GMutable, GSome< TriggerNum >, and GRegion.
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
private |