7 #ifndef QUERY_PLUGINS_H
8 #define QUERY_PLUGINS_H
10 #include <argos3/core/utility/plugins/factory.h>
11 #include <argos3/core/utility/logging/argos_log.h>
31 std::string str_author,
32 std::string str_version,
33 std::string str_brief_description,
34 std::string str_long_description,
35 std::string str_status) :
67 if(it->first.find(str_query) != std::string::npos) {
73 it->second->BriefDescription,
74 it->second->LongDescription,
86 LOG << str_header << std::endl << std::endl;
90 LOG <<
" [ " << it->first <<
" ]" << std::endl;
91 LOG <<
" " << it->second->BriefDescription << std::endl << std::endl;
The namespace containing all the ARGoS related code.
void QueryShowList(const std::string &str_header)
void QueryPlugins(const std::string &str_query)
void QuerySearchPlugins(const std::string &str_query, TQueryResult &t_result)
CARGoSLog LOG(std::cout, SLogColor(ARGOS_LOG_ATTRIBUTE_BRIGHT, ARGOS_LOG_COLOR_GREEN))
void QueryShowPluginDescription(const std::string &str_query)
std::vector< SQueryResultItem > TQueryResult
std::string BriefDescription
SQueryResultItem(std::string str_label, std::string str_author, std::string str_version, std::string str_brief_description, std::string str_long_description, std::string str_status)
std::string LongDescription
static TTypeMap & GetTypeMap()
Creates and returns the TYPE map.
std::map< std::string, STypeInfo * > TTypeMap
The map of registered TYPEs.