8#include <argos3/core/simulator/visualization/visualization.h>
9#include <argos3/core/simulator/physics_engine/physics_engine.h>
10#include <argos3/core/simulator/entity/entity.h>
11#include <argos3/core/simulator/actuator.h>
12#include <argos3/core/simulator/sensor.h>
20 LOG <<
"Plugins matching \"" << str_query <<
"\":" << std::endl << std::endl;
32 LOG <<
" None found." << std::endl << std::endl;
35 LOG <<
"==============================================================================" << std::endl << std::endl;
36 for(
UInt32 i = 0; i < tResult.size(); ++i) {
37 LOG <<
"[ " << tResult[i].Label <<
" ] " << std::endl;
38 LOG << tResult[i].BriefDescription << std::endl;
39 LOG <<
"by " << tResult[i].Author << std::endl;
40 LOG <<
"Version: " << tResult[i].Version << std::endl;
41 LOG <<
"Status: " << tResult[i].Status << std::endl << std::endl;
42 LOG << tResult[i].LongDescription << std::endl;
44 LOG <<
"==============================================================================" << std::endl << std::endl;
56 if(str_query ==
"actuators") {
58 }
else if(str_query ==
"sensors") {
60 }
else if(str_query ==
"physics_engines") {
62 }
else if(str_query ==
"media") {
64 }
else if(str_query ==
"visualizations") {
66 }
else if(str_query ==
"entities") {
68 }
else if(str_query ==
"all") {
unsigned int UInt32
32-bit unsigned integer.
The namespace containing all the ARGoS related code.
void QueryShowList(const std::string &str_header)
CARGoSLog LOGERR(std::cerr, SLogColor(ARGOS_LOG_ATTRIBUTE_BRIGHT, ARGOS_LOG_COLOR_RED))
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
bool IsColoredOutput() const
void DisableColoredOutput()
void EnableColoredOutput()