|
| Topology () |
|
| Component (int _id=0, string _name="unknown", int _componentType=SYS_SAGE_COMPONENT_NONE) |
|
| Component (Component *parent, int _id=0, string _name="unknown", int _componentType=SYS_SAGE_COMPONENT_NONE) |
|
void | InsertChild (Component *child) |
|
int | InsertBetweenParentAndChild (Component *parent, Component *child, bool alreadyParentsChild) |
|
int | InsertBetweenParentAndChildren (Component *parent, vector< Component * > children, bool alreadyParentsChild) |
|
int | RemoveChild (Component *child) |
|
void | SetParent (Component *parent) |
|
void | PrintSubtree () |
|
void | PrintAllDataPathsInSubtree () |
|
string | GetName () |
|
void | SetName (string _name) |
|
int | GetId () |
|
int | GetComponentType () |
|
string | GetComponentTypeStr () |
|
vector< Component * > * | GetChildren () |
|
Component * | GetParent () |
|
Component * | GetChild (int _id) |
|
Component * | GetChildById (int _id) |
|
Component * | GetChildByType (int _componentType) |
|
vector< Component * > | GetAllChildrenByType (int _componentType) |
|
void | GetAllChildrenByType (vector< Component * > *_outArray, int _componentType) |
|
Component * | FindSubcomponentById (int _id, int _componentType) |
|
Component * | GetSubcomponentById (int _id, int _componentType) |
|
void | GetAllSubcomponentsByType (vector< Component * > *outArray, int _componentType) |
|
vector< Component * > | GetAllSubcomponentsByType (int _componentType) |
|
int | CountAllSubcomponents () |
|
int | CountAllSubcomponentsByType (int _componentType) |
|
int | CountAllChildrenByType (int _componentType) |
|
Component * | GetAncestorByType (int _componentType) |
|
int | GetNumThreads () |
|
int | GetSubtreeDepth () |
|
Component * | GetNthAncestor (int n) |
|
void | GetNthDescendents (vector< Component * > *outArray, int depth) |
|
vector< Component * > | GetNthDescendents (int depth) |
|
void | GetSubcomponentsByType (vector< Component * > *outArray, int componentType) |
|
vector< Component * > | GetSubcomponentsByType (int _componentType) |
|
void | GetComponentsInSubtree (vector< Component * > *outArray) |
|
vector< Component * > | GetComponentsInSubtree () |
|
vector< DataPath * > * | GetDataPaths (int orientation) |
|
DataPath * | GetDataPathByType (int dp_type, int orientation) |
|
void | GetAllDataPathsByType (vector< DataPath * > *outDpArr, int dp_type, int orientation) |
|
vector< DataPath * > | GetAllDataPathsByType (int dp_type, int orientation) |
|
int | CheckComponentTreeConsistency () |
| Checks the consistency of the component tree starting from this component.
|
|
int | GetTopologySize (unsigned *out_component_size, unsigned *out_dataPathSize) |
|
int | GetDepth (bool refresh) |
|
void | DeleteDataPath (DataPath *dp) |
|
void | DeleteAllDataPaths () |
|
void | DeleteSubtree () |
|
void | Delete (bool withSubtree=true) |
|
Class Topology - the root of the topology.
It is not required to have an instance of this class at the root of the topology. Any component can be the root. This class is a child of Component class, therefore inherits its attributes and methods.