1#ifndef PLUGINS_REGISTRY_H
2#define PLUGINS_REGISTRY_H
4#include "registry_types.h"
8#include <unordered_set>
10namespace downward::cli::plugins {
19 FeatureTypes feature_types;
28 SubcategoryPlugins subcategory_plugins;
40 FeatureTypes&& feature_types,
41 SubcategoryPlugins&& subcategory_plugins,
44 bool has_feature(
const std::string& name)
const;
45 std::shared_ptr<const Feature> get_feature(
const std::string& name)
const;
46 const SubcategoryPlugin&
47 get_subcategory_plugin(
const std::string& subcategory)
const;
49 const FeatureTypes& get_feature_types()
const;
50 std::vector<const SubcategoryPlugin*> get_subcategory_plugins()
const;
51 std::vector<std::shared_ptr<const Feature>> get_features()
const;