3 #ifndef VISR_LIBRRL_PARAMETER_CONNECTION_GRAPH_HPP_INCLUDED 4 #define VISR_LIBRRL_PARAMETER_CONNECTION_GRAPH_HPP_INCLUDED 17 #include <boost/graph/adjacency_list.hpp> 24 class ParameterPortBaseImplementation;
37 using Ports = std::vector< impl::ParameterPortBaseImplementation * >;
44 std::size_t
numSenders()
const {
return mSendPorts.size(); }
65 using GraphType = boost::adjacency_list<boost::vecS, boost::vecS, boost::undirectedS, impl::ParameterPortBaseImplementation * >;
67 GraphType mConnectionGraph;
69 using VertexMap = std::map<impl::ParameterPortBaseImplementation *, GraphType::vertex_descriptor >;
71 VertexMap mVertexLookup;
79 #endif // #ifndef VISR_LIBRRL_PARAMETER_CONNECTION_GRAPH_HPP_INCLUDED ConnectedPorts()
Definition: parameter_connection_graph.hpp:39
std::vector< impl::ParameterPortBaseImplementation *> Ports
Definition: parameter_connection_graph.hpp:37
Ports const & receivePorts() const
Definition: parameter_connection_graph.hpp:41
Ports const & sendPorts() const
Definition: parameter_connection_graph.hpp:42
Definition: options.cpp:10
Definition: parameter_connection_graph.hpp:33
std::size_t numSenders() const
Definition: parameter_connection_graph.hpp:44
Definition: parameter_connection_graph.hpp:30
Definition: parameter_connection_map.hpp:28
ConnectedPortVector const & connectedPorts() const
Definition: parameter_connection_graph.hpp:61
std::size_t numReceivers() const
Definition: parameter_connection_graph.hpp:45
std::vector< ConnectedPorts > ConnectedPortVector
Definition: parameter_connection_graph.hpp:52