Drake
Drake C++ Documentation
lcm_config_functions.h File Reference
#include <map>
#include <optional>
#include <string>
#include "drake/lcm/drake_lcm_interface.h"
#include "drake/lcm/drake_lcm_params.h"
#include "drake/systems/framework/diagram_builder.h"
#include "drake/systems/lcm/lcm_buses.h"
Include dependency graph for lcm_config_functions.h:

Namespaces

 drake
 
 drake::systems
 
 drake::systems::lcm
 

Functions

LcmBuses ApplyLcmBusConfig (const std::map< std::string, drake::lcm::DrakeLcmParams > &lcm_buses, systems::DiagramBuilder< double > *builder)
 Given LCM bus names and parameters, adds an LcmInterfaceSystem within the given diagram builder for each bus, and returns an LcmBuses object that provides access to the drake::lcm::DrakeLcmInterface objects that were created. More...
 
LcmBuses ApplyLcmBusConfig (const std::map< std::string, std::optional< drake::lcm::DrakeLcmParams >> &lcm_buses, systems::DiagramBuilder< double > *builder)
 Given LCM bus names and (nullable) parameters, adds an LcmInterfaceSystem within the given diagram builder for each bus, and returns an LcmBuses object that provides access to the drake::lcm::DrakeLcmInterface objects that were created. More...
 
drake::lcm::DrakeLcmInterfaceFindOrCreateLcmBus (drake::lcm::DrakeLcmInterface *forced_result, const LcmBuses *lcm_buses, DiagramBuilder< double > *builder, std::string_view description_of_caller, const std::string &bus_name)
 (Advanced) Returns an LCM interface based on a convenient set of heuristics. More...