CGraph
Public Member Functions | Public Attributes | List of all members
GNodeInfo Struct Reference

功能节点信息 创建GCluster和GRegion的中的GNode的时候,使用到的信息 创建GCluster的时候,dependence为空 创建GRegion的时候,dependence不为空。若为空,则表示可直接执行 More...

#include <GNodeDefine.h>

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

Public Member Functions

 GNodeInfo (const std::string &name=CGRAPH_EMPTY, CSize loop=CGRAPH_DEFAULT_LOOP_TIMES)
 
 GNodeInfo (const GElementPtrSet &dependence=std::initializer_list< GElementPtr >(), const std::string &name=CGRAPH_EMPTY, CSize loop=CGRAPH_DEFAULT_LOOP_TIMES)
 
- Public Member Functions inherited from CStruct
virtual ~CStruct ()=default
 

Public Attributes

std::string name_
 
CSize loop_ { CGRAPH_DEFAULT_LOOP_TIMES }
 
GElementPtrSet dependence_
 

Detailed Description

功能节点信息 创建GCluster和GRegion的中的GNode的时候,使用到的信息 创建GCluster的时候,dependence为空 创建GRegion的时候,dependence不为空。若为空,则表示可直接执行

Constructor & Destructor Documentation

◆ GNodeInfo() [1/2]

GNodeInfo::GNodeInfo ( const std::string &  name = CGRAPH_EMPTY,
CSize  loop = CGRAPH_DEFAULT_LOOP_TIMES 
)
inlineexplicit

◆ GNodeInfo() [2/2]

GNodeInfo::GNodeInfo ( const GElementPtrSet dependence = std::initializer_list<GElementPtr>(),
const std::string &  name = CGRAPH_EMPTY,
CSize  loop = CGRAPH_DEFAULT_LOOP_TIMES 
)
inlineexplicit

Member Data Documentation

◆ dependence_

GElementPtrSet GNodeInfo::dependence_

◆ loop_

CSize GNodeInfo::loop_ { CGRAPH_DEFAULT_LOOP_TIMES }

◆ name_

std::string GNodeInfo::name_

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