knowrob  2.1.0
A Knowledge Base System for Cognition-enabled Robots
knowrob::DependencyGroup Struct Reference

#include <DependencyGraph.h>

Public Member Functions

void operator+= (const DependencyGroup &other)
 
void operator+= (const DependencyGroup &other)
 

Public Attributes

std::set< std::string_view > variables_
 
std::list< DependencyNodePtrmember_
 

Detailed Description

A group of nodes with dependencies.

Template Parameters
NodeTypethe node type.

Definition at line 60 of file DependencyGraph.h.

Member Function Documentation

◆ operator+=() [1/2]

void knowrob::DependencyGroup::operator+= ( const DependencyGroup other)
inline

Definition at line 64 of file DependencyGraph.h.

64  {
65  member_.insert(other.member_.end(), other.member_.begin(), other.member_.end());
66  variables_.insert(other.variables_.begin(), other.variables_.end());
67  }
std::list< DependencyNodePtr > member_
std::set< std::string_view > variables_

◆ operator+=() [2/2]

void knowrob::DependencyGroup::operator+= ( const DependencyGroup other)
inline

Definition at line 64 of file DependencyGraph.h.

64  {
65  member_.insert(other.member_.end(), other.member_.begin(), other.member_.end());
66  variables_.insert(other.variables_.begin(), other.variables_.end());
67  }

Member Data Documentation

◆ member_

std::list< DependencyNodePtr > knowrob::DependencyGroup::member_

Definition at line 62 of file DependencyGraph.h.

◆ variables_

std::set< std::string_view > knowrob::DependencyGroup::variables_

Definition at line 61 of file DependencyGraph.h.


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