|
Apollo 10.0
自动驾驶开放平台
|
#include <process_result.h>
Public 成员函数 | |
| StageResult (const StageStatusType &stage_status=StageStatusType::READY, const common::Status &task_status=common::Status::OK()) | |
| const common::Status & | GetTaskStatus () const |
| Get the task execution result. | |
| const StageStatusType & | GetStageStatus () const |
| Get the stage status. | |
| const StageResult & | SetTaskStatus (const common::Status &status) |
| Set the task execution result. | |
| const StageResult & | SetStageStatus (const StageStatusType &stage_status) |
| Set the stage status. | |
| const StageResult & | SetStageStatus (const StageStatusType &stage_status, const std::string &message) |
| Set the stage status. | |
| bool | HasError () const |
| Check if StageResult contains error. | |
| bool | IsTaskError () const |
在文件 process_result.h 第 52 行定义.
| apollo::planning::StageResult::StageResult | ( | const StageStatusType & | stage_status = StageStatusType::READY, |
| const common::Status & | task_status = common::Status::OK() |
||
| ) |
在文件 process_result.cc 第 30 行定义.
| const StageStatusType & apollo::planning::StageResult::GetStageStatus | ( | ) | const |
Get the stage status.
在文件 process_result.cc 第 38 行定义.
| const common::Status & apollo::planning::StageResult::GetTaskStatus | ( | ) | const |
Get the task execution result.
在文件 process_result.cc 第 34 行定义.
| bool apollo::planning::StageResult::HasError | ( | ) | const |
Check if StageResult contains error.
在文件 process_result.cc 第 60 行定义.
| bool apollo::planning::StageResult::IsTaskError | ( | ) | const |
在文件 process_result.cc 第 64 行定义.
| const StageResult & apollo::planning::StageResult::SetStageStatus | ( | const StageStatusType & | stage_status | ) |
Set the stage status.
| stage_status | The stage status. |
在文件 process_result.cc 第 47 行定义.
| const StageResult & apollo::planning::StageResult::SetStageStatus | ( | const StageStatusType & | stage_status, |
| const std::string & | message | ||
| ) |
Set the stage status.
| stage_status | The stage status. |
| message | Stage message. |
在文件 process_result.cc 第 53 行定义.
| const StageResult & apollo::planning::StageResult::SetTaskStatus | ( | const common::Status & | status | ) |
Set the task execution result.
| status | The execution result of task. |
在文件 process_result.cc 第 42 行定义.