Mads
Multi-Agent Distributed System
Loading...
Searching...
No Matches
topology_graph.hpp File Reference
#include <map>
#include <optional>
#include <string>
#include <vector>

Go to the source code of this file.

Classes

struct  Mads::AgentTopicInfo
 One mads.ini agent section's topics. More...
 
struct  Mads::GraphOptions
 Rendering knobs for topology_graph(). More...
 

Namespaces

namespace  Mads
 

Typedefs

using Mads::LiveSubscriptions = std::map< std::string, int >
 

Functions

bool Mads::is_implicitly_subscribed_topic (const std::string &topic)
 
std::string Mads::topology_graph (const std::map< std::string, AgentTopicInfo > &agents, const GraphOptions &options={})
 Builds Graphviz DOT text describing the declared pub/sub topology of a set of agent sections.