34 using ParamMap = std::map<std::string, NodeRegistrationParams>;
59 bool contains(
const std::string& node_name)
const;
93 void toFile(
const std::string& file_path)
const;
Data structure for resource lookup data and configuration parameters required for loading and registe...
static const std::string PARAM_NAME_REQUEST_TIMEOUT
static NodeManifest fromFile(const std::string &file_path)
Create a node plugin manifest from a file.
std::string toString() const
const ParamMap & getInternalMap() const
NodeManifest & merge(const NodeManifest &m)
static const std::string PARAM_NAME_CLASS
static const std::string PARAM_NAME_PACKAGE
bool contains(const std::string &node_name) const
static const std::string PARAM_NAME_LIBRARY
std::map< std::string, NodeRegistrationParams > ParamMap
Mapping of a node's name and its registration parameters.
static NodeManifest fromString(const std::string &manifest_str)
static const std::string PARAM_NAME_WAIT_TIMEOUT
static NodeManifest fromFiles(const std::vector< std::string > &file_paths)
Create a node plugin manifest from multiple files. They are loaded in the given order.
void toFile(const std::string &file_path) const
static const std::string PARAM_NAME_PORT
NodeManifest & add(const std::string &node_name, const NodeRegistrationParams &p)
NodeManifest(const ParamMap ¶m_map={})
NodeManifest & autoComplete(NodePluginClassLoader &class_loader)
Automatically fill node plugin resource information in manifest.
NodeManifest & remove(const std::string &node_name)
NodeRegistrationParams & operator[](const std::string &node_name)
Version of pluginlib::ClassLoader specifically for loading installed behavior tree node plugins.
Behavior tree node registration parameters.