Apollo 10.0
自动驾驶开放平台
apollo::hdmap::MapDataCheckerAgent类 参考final

#include <worker_agent.h>

类 apollo::hdmap::MapDataCheckerAgent 继承关系图:
apollo::hdmap::MapDataCheckerAgent 的协作图:

Public 类型

using STATIC_ALIGN_AGENT_TYPE = AlignmentAgent< StaticAlign, StaticAlignRequest, StaticAlignResponse >
 
using EIGHT_ROUTE_AGENT_TYPE = AlignmentAgent< EightRoute, EightRouteRequest, EightRouteResponse >
 

Public 成员函数

 MapDataCheckerAgent ()
 
std::shared_ptr< MapDataCheckerAgentGetWorkerAgent ()
 
std::shared_ptr< PoseCollectionAgentGetSpPoseCollectionAgent ()
 
grpc::Status ServiceChannelVerify (grpc::ServerContext *context, ChannelVerifyRequest *request, ChannelVerifyResponse *response)
 
grpc::Status ServiceStaticAlign (grpc::ServerContext *context, StaticAlignRequest *request, StaticAlignResponse *response)
 
grpc::Status ServiceEightRoute (grpc::ServerContext *context, EightRouteRequest *request, EightRouteResponse *response)
 
grpc::Status ServiceLoopsVerify (grpc::ServerContext *context, LoopsVerifyRequest *request, LoopsVerifyResponse *response)
 

详细描述

在文件 worker_agent.h35 行定义.

成员类型定义说明

◆ EIGHT_ROUTE_AGENT_TYPE

◆ STATIC_ALIGN_AGENT_TYPE

构造及析构函数说明

◆ MapDataCheckerAgent()

apollo::hdmap::MapDataCheckerAgent::MapDataCheckerAgent ( )

在文件 worker_agent.cc25 行定义.

25 {
26 sp_conf_ = ParseJson(FLAGS_conf_json);
27 assert(sp_conf_ != nullptr);
28 sp_pose_collection_agent_ = std::make_shared<PoseCollectionAgent>(sp_conf_);
29 sp_channel_checker_agent_ = std::make_shared<ChannelVerifyAgent>(sp_conf_);
30
31 sp_static_align_agent_ = std::make_shared<STATIC_ALIGN_AGENT_TYPE>(
32 sp_conf_, sp_pose_collection_agent_);
33 sp_eight_route_agent_ = std::make_shared<EIGHT_ROUTE_AGENT_TYPE>(
34 sp_conf_, sp_pose_collection_agent_);
35 sp_loops_verify_agent_ =
36 std::make_shared<LoopsVerifyAgent>(sp_conf_, sp_pose_collection_agent_);
37 AINFO << "MapDataCheckerAgent create successfully";
38}
#define AINFO
Definition log.h:42
std::shared_ptr< JsonConf > ParseJson(std::string conf_path)
Definition common.cc:23

成员函数说明

◆ GetSpPoseCollectionAgent()

std::shared_ptr< PoseCollectionAgent > apollo::hdmap::MapDataCheckerAgent::GetSpPoseCollectionAgent ( )

在文件 worker_agent.cc41 行定义.

41 {
42 return sp_pose_collection_agent_;
43}

◆ GetWorkerAgent()

std::shared_ptr< MapDataCheckerAgent > apollo::hdmap::MapDataCheckerAgent::GetWorkerAgent ( )
inline

在文件 worker_agent.h46 行定义.

46 {
47 return shared_from_this();
48 }

◆ ServiceChannelVerify()

grpc::Status apollo::hdmap::MapDataCheckerAgent::ServiceChannelVerify ( grpc::ServerContext *  context,
ChannelVerifyRequest request,
ChannelVerifyResponse response 
)

在文件 worker_agent.cc45 行定义.

47 {
48 return sp_channel_checker_agent_->ProcessGrpcRequest(context, request,
49 response);
50}

◆ ServiceEightRoute()

grpc::Status apollo::hdmap::MapDataCheckerAgent::ServiceEightRoute ( grpc::ServerContext *  context,
EightRouteRequest request,
EightRouteResponse response 
)

在文件 worker_agent.cc58 行定义.

60 {
61 return sp_eight_route_agent_->ProcessGrpcRequest(context, request, response);
62}

◆ ServiceLoopsVerify()

grpc::Status apollo::hdmap::MapDataCheckerAgent::ServiceLoopsVerify ( grpc::ServerContext *  context,
LoopsVerifyRequest request,
LoopsVerifyResponse response 
)

在文件 worker_agent.cc64 行定义.

66 {
67 return sp_loops_verify_agent_->ProcessGrpcRequest(context, request, response);
68}

◆ ServiceStaticAlign()

grpc::Status apollo::hdmap::MapDataCheckerAgent::ServiceStaticAlign ( grpc::ServerContext *  context,
StaticAlignRequest request,
StaticAlignResponse response 
)

在文件 worker_agent.cc52 行定义.

54 {
55 return sp_static_align_agent_->ProcessGrpcRequest(context, request, response);
56}

该类的文档由以下文件生成: