logic: Added namespaces to overview and fixed namespace activation

This commit is contained in:
Eberhard Graether
2016-02-08 03:39:08 +01:00
parent d6c03ffb02
commit 29149f313a
24 changed files with 147 additions and 52 deletions
@@ -85,6 +85,23 @@ public:
return false;
}
size_t getActiveSubNodeCount() const
{
size_t count = 0;
if (active)
{
count += 1;
}
for (const DummyNode& node : subNodes)
{
count += node.getActiveSubNodeCount();
}
return count;
}
bool hasConnectedSubNode() const
{
if (connected)