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

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

#include <fw/FrameworkGraph.h>

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

Public Member Functions

 AuthorityNode (const AuthorityDescription &iDesc)
 
bool operator== (const std::string &id)
 
virtual std::set< NodePtrgetAdjacentNodes ()
 Returns the adjacent (incoming and outgoing nodes) More...
 
std::set< ChannelNodePtrgetPublishedChannels ()
 Returns all channel nodes with channels that are published by the authority. More...
 
std::set< ChannelNodePtrgetSubscribedChannels ()
 Returns all channel nodes with channels the authority is subscribed on. More...
 
NamespaceNodePtr getNamespace ()
 Returns the namespace node where this authority lives in. More...
 
FrameworkNodePtr getFramework ()
 Returns the framework where this authority lives in. More...
 
std::map< AuthorityNodePtr, std::set< ChannelNodePtr > > getDependees ()
 Returns all authority nodes that THIS authority depends on. More...
 
std::map< AuthorityNodePtr, std::set< ChannelNodePtr > > getDependers ()
 Returns all authority nodes that DEPEND on this authority. More...
 

Public Attributes

AuthorityDescription desc
 full information on the authority More...
 

Protected Attributes

std::set< ChannelNodePtrmSubscribedChannels
 
std::set< ChannelNodePtrmPublishedChannels
 
NamespaceNodePtr mNamespace
 
FrameworkNodePtr mFramework
 

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

Represents a single authority in the framwork computation graph.

Constructor & Destructor Documentation

◆ AuthorityNode()

AuthorityNode ( const AuthorityDescription iDesc)
inline

Member Function Documentation

◆ operator==()

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

◆ getAdjacentNodes()

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

◆ getPublishedChannels()

std::set<ChannelNodePtr> getPublishedChannels ( )
inline

Returns all channel nodes with channels that are published by the authority.

◆ getSubscribedChannels()

std::set<ChannelNodePtr> getSubscribedChannels ( )
inline

Returns all channel nodes with channels the authority is subscribed on.

◆ getNamespace()

NamespaceNodePtr getNamespace ( )
inline

Returns the namespace node where this authority lives in.

◆ getFramework()

FrameworkNodePtr getFramework ( )
inline

Returns the framework where this authority lives in.

◆ getDependees()

std::map<AuthorityNodePtr, std::set<ChannelNodePtr> > getDependees ( )
inline

Returns all authority nodes that THIS authority depends on.

For each such authority a set of channels is given, that cause the dependency.

◆ getDependers()

std::map<AuthorityNodePtr, std::set<ChannelNodePtr> > getDependers ( )
inline

Returns all authority nodes that DEPEND on this authority.

For each such authority a set of channels is given, that cause the dependency.

Friends And Related Function Documentation

◆ FrameworkGraph

friend class FrameworkGraph
friend

Member Data Documentation

◆ desc

full information on the authority

◆ mSubscribedChannels

std::set<ChannelNodePtr> mSubscribedChannels
protected

◆ mPublishedChannels

std::set<ChannelNodePtr> mPublishedChannels
protected

◆ mNamespace

NamespaceNodePtr mNamespace
protected

◆ mFramework

FrameworkNodePtr mFramework
protected

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