34 reference_line_info_(nullptr),
37 default_config_path_(
""),
40bool Task::Init(
const std::string& config_dir,
const std::string& name,
41 const std::shared_ptr<DependencyInjector>& injector) {
49 std::string class_name =
50 abi::__cxa_demangle(
typeid(*this).name(), 0, 0, &status);
A general class to denote the return status of an API call.
static Status OK()
generate a success status.
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
static std::string TransformToPathName(const std::string &name)
Tranform the name to part of path.
Frame holds all data for one planning cycle.
ReferenceLineInfo holds all data for one reference line.
const std::string & Name() const
std::shared_ptr< DependencyInjector > injector_
ReferenceLineInfo * reference_line_info_
virtual bool Init(const std::string &config_dir, const std::string &name, const std::shared_ptr< DependencyInjector > &injector)
std::string default_config_path_
virtual common::Status Execute(Frame *frame, ReferenceLineInfo *reference_line_info)
Planning module main class.