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

Represents a single channel in the framwork computation graph. More...

#include <fw/FrameworkGraph.h>

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

Public Member Functions

 ChannelNode (const std::string &iID)
 
bool operator== (const std::string &id)
 
virtual std::set< NodePtrgetAdjacentNodes ()
 Returns the adjacent (incoming and outgoing nodes) More...
 
std::set< AuthorityNodePtrgetSubscribedAuthorities ()
 
std::set< AuthorityNodePtrgetPublishingAuthorities ()
 
NamespaceNodePtr getNamespace ()
 Returns the namespace node where this channel lives in. More...
 

Public Attributes

std::string id
 the fully qualified name of the node (the id) More...
 

Protected Attributes

std::set< AuthorityNodePtrmSubscribedAuthorities
 
std::set< AuthorityNodePtrmPublishingAuthorities
 
NamespaceNodePtr mNamespace
 

Friends

class FrameworkGraph
 

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 >::ChannelNode

Represents a single channel in the framwork computation graph.

Constructor & Destructor Documentation

◆ ChannelNode()

ChannelNode ( const std::string &  iID)
inline

Member Function Documentation

◆ operator==()

bool operator== ( const std::string &  id)
inline

◆ getAdjacentNodes()

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

◆ getSubscribedAuthorities()

std::set<AuthorityNodePtr> getSubscribedAuthorities ( )
inline

◆ getPublishingAuthorities()

std::set<AuthorityNodePtr> getPublishingAuthorities ( )
inline

◆ getNamespace()

NamespaceNodePtr getNamespace ( )
inline

Returns the namespace node where this channel lives in.

Friends And Related Function Documentation

◆ FrameworkGraph

friend class FrameworkGraph
friend

Member Data Documentation

◆ id

std::string id

the fully qualified name of the node (the id)

◆ mSubscribedAuthorities

std::set<AuthorityNodePtr> mSubscribedAuthorities
protected

◆ mPublishingAuthorities

std::set<AuthorityNodePtr> mPublishingAuthorities
protected

◆ mNamespace

NamespaceNodePtr mNamespace
protected

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