Goby3 3.7.0
2026.11.12
Loading...
Searching...
No Matches
goby::middleware::tool::interface::Application Struct Reference

#include <goby/middleware/tool/interface/model.h>

Public Types

using Binder = std::function< std::vector< PubSubEntry >(PubSubEntry)>
 Turns one entry from an interface file into the entries a deployment sees (a dynamic group with its bound numerics, or the publications a bind says it stands for)
 

Public Member Functions

 Application (std::string n)
 
const std::set< PubSubEntry > & publishes_on (Layer layer) const
 
const std::set< PubSubEntry > & subscribes_on (Layer layer) const
 
void merge (const YAML::Node &yaml, PublishIndexer &indexer, const Binder &binder=Binder())
 Add the contents of one interface file (a root node with application: and the layers)
 

Public Attributes

std::string name
 
std::map< std::string, std::shared_ptr< Thread > > threads
 
std::map< Layer, std::set< PubSubEntry > > publishes
 
std::map< Layer, std::set< PubSubEntry > > subscribes
 

Detailed Description

Definition at line 150 of file model.h.

Member Typedef Documentation

◆ Binder

Turns one entry from an interface file into the entries a deployment sees (a dynamic group with its bound numerics, or the publications a bind says it stands for)

Definition at line 176 of file model.h.

Constructor & Destructor Documentation

◆ Application()

goby::middleware::tool::interface::Application::Application ( std::string  n)
inline

Definition at line 152 of file model.h.

Member Function Documentation

◆ merge()

void goby::middleware::tool::interface::Application::merge ( const YAML::Node &  yaml,
PublishIndexer &  indexer,
const Binder &  binder = Binder() 
)
inline

Add the contents of one interface file (a root node with application: and the layers)

Definition at line 200 of file model.h.

◆ publishes_on()

const std::set< PubSubEntry > & goby::middleware::tool::interface::Application::publishes_on ( Layer  layer) const
inline

Definition at line 160 of file model.h.

◆ subscribes_on()

const std::set< PubSubEntry > & goby::middleware::tool::interface::Application::subscribes_on ( Layer  layer) const
inline

Definition at line 167 of file model.h.

Member Data Documentation

◆ name

std::string goby::middleware::tool::interface::Application::name

Definition at line 154 of file model.h.

◆ publishes

std::map<Layer, std::set<PubSubEntry> > goby::middleware::tool::interface::Application::publishes

Definition at line 157 of file model.h.

◆ subscribes

std::map<Layer, std::set<PubSubEntry> > goby::middleware::tool::interface::Application::subscribes

Definition at line 158 of file model.h.

◆ threads

std::map<std::string, std::shared_ptr<Thread> > goby::middleware::tool::interface::Application::threads

Definition at line 155 of file model.h.


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