MIRA
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
FrameworkGraph< NodeMixin, AuthorityNodeMixin, ChannelNodeMixin, NamespaceNodeMixin, FrameworkNodeMixin >::NamespaceNode Class Reference

Represents a namespace in the framework computation graph within the overall namespace hierarchy. More...

#include <fw/FrameworkGraph.h>

Inheritance diagram for FrameworkGraph< NodeMixin, AuthorityNodeMixin, ChannelNodeMixin, NamespaceNodeMixin, FrameworkNodeMixin >::NamespaceNode:
Inheritance graph
[legend]

Public Member Functions

 NamespaceNode (const ResourceName &iNs)
 
bool operator== (const ResourceName &iNs)
 
virtual std::set< NodePtrgetAdjacentNodes ()
 Returns the adjacent (incoming and outgoing nodes) More...
 

Static Public Member Functions

static void setParent (NamespaceNodePtr child, NamespaceNodePtr parent)
 workaround to avoid shared_from_this More...
 

Public Attributes

ResourceName ns
 the name of the namespace More...
 
NamespaceNodePtr parent
 the namespace parent node (if we are not the root node) More...
 
std::set< NamespaceNodePtrchildren
 sub-namespaces that live in this namespace More...
 
std::set< NodePtrnodes
 channel and authority nodes within this namespace More...
 

Detailed Description

template<typename NodeMixin = void, typename AuthorityNodeMixin = void, typename ChannelNodeMixin = void, typename NamespaceNodeMixin = void, typename FrameworkNodeMixin = void>
class mira::FrameworkGraph< NodeMixin, AuthorityNodeMixin, ChannelNodeMixin, NamespaceNodeMixin, FrameworkNodeMixin >::NamespaceNode

Represents a namespace in the framework computation graph within the overall namespace hierarchy.

Constructor & Destructor Documentation

◆ NamespaceNode()

NamespaceNode ( const ResourceName iNs)
inline

Member Function Documentation

◆ operator==()

bool operator== ( const ResourceName iNs)
inline

◆ setParent()

static void setParent ( NamespaceNodePtr  child,
NamespaceNodePtr  parent 
)
inlinestatic

workaround to avoid shared_from_this

◆ getAdjacentNodes()

virtual std::set<NodePtr> getAdjacentNodes ( )
inlinevirtual

Member Data Documentation

◆ ns

the name of the namespace

◆ parent

the namespace parent node (if we are not the root node)

◆ children

std::set<NamespaceNodePtr> children

sub-namespaces that live in this namespace

◆ nodes

std::set<NodePtr> nodes

channel and authority nodes within this namespace


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