Public Member Functions | Private Types | Private Attributes
labust::control::ExecDepGraph Class Reference

#include <ExecDepGraph.hpp>

List of all members.

Public Member Functions

void addToGraph (const navcon_msgs::RegisterControllerRequest &info)
 ExecDepGraph ()
void findPath (const std::string &start, const std::string &end, std::list< std::string > &path)
void getDotDesc (std::string &desc)

Private Types

typedef boost::property
< boost::edge_weight_t, int > 
EdgeProperty
typedef boost::adjacency_list
< boost::vecS, boost::vecS,
boost::directedS,
VertexProperty, EdgeProperty
GraphType
typedef boost::property
< boost::vertex_name_t,
std::string > 
VertexProperty

Private Attributes

GraphType graph
std::map< std::string,
GraphType::vertex_descriptor > 
nameMap

Detailed Description

The class contains implementation of the mission execution dependency graph.

Definition at line 53 of file ExecDepGraph.hpp.


Member Typedef Documentation

typedef boost::property< boost::edge_weight_t, int > labust::control::ExecDepGraph::EdgeProperty [private]

Definition at line 56 of file ExecDepGraph.hpp.

typedef boost::adjacency_list<boost::vecS, boost::vecS, boost::directedS, VertexProperty, EdgeProperty > labust::control::ExecDepGraph::GraphType [private]

Definition at line 59 of file ExecDepGraph.hpp.

typedef boost::property<boost::vertex_name_t, std::string> labust::control::ExecDepGraph::VertexProperty [private]

Definition at line 55 of file ExecDepGraph.hpp.


Constructor & Destructor Documentation

Main constructor

Definition at line 45 of file ExecDepGraph.cpp.


Member Function Documentation

void ExecDepGraph::addToGraph ( const navcon_msgs::RegisterControllerRequest &  info)

Add controller to the dependency graph.

Definition at line 53 of file ExecDepGraph.cpp.

void ExecDepGraph::findPath ( const std::string &  start,
const std::string &  end,
std::list< std::string > &  path 
)

Find the path between to controllers.

Definition at line 78 of file ExecDepGraph.cpp.

void ExecDepGraph::getDotDesc ( std::string &  desc)

Get the dependency graph DOT description.

Definition at line 68 of file ExecDepGraph.cpp.


Member Data Documentation

The controller dependency graph.

Definition at line 84 of file ExecDepGraph.hpp.

std::map<std::string, GraphType::vertex_descriptor> labust::control::ExecDepGraph::nameMap [private]

The name to vertice map.

Definition at line 89 of file ExecDepGraph.hpp.


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


labust_execution
Author(s): Gyula Nagy
autogenerated on Fri Aug 28 2015 11:23:25