25#include "modules/common_msgs/external_command_msgs/command_status.pb.h"
26#include "modules/external_command/command_processor/command_processor_base/proto/command_processor_config.pb.h"
36namespace external_command {
43 std::string class_name =
44 abi::__cxa_demangle(
typeid(*this).name(), 0, 0, &status);
46 std::string config_path =
49 "conf/config.pb.txt");
51 AERROR <<
"Cannot get config of " << class_name;
59 return *processor_config_;
std::string GetPluginConfPath(const std::string &class_name, const std::string &conf_name)
get plugin configuration file location
static PluginManager * Instance()
get singleton instance of PluginManager
virtual bool Init(const std::shared_ptr< cyber::Node > &node)
const CommandProcessorConfig & GetProcessorConfig() const
const std::shared_ptr< cyber::Node > & Node() const
bool GetProtoFromFile(const std::string &file_name, google::protobuf::Message *message)
Parses the content of the file specified by the file_name as a representation of protobufs,...