25 #include "grpc++/grpc++.h" 27 #include "modules/map/tools/map_datachecker/proto/collection_error_code.pb.h" 28 #include "modules/map/tools/map_datachecker/proto/collection_service.pb.h" 39 grpc::Status ProcessGrpcRequest(grpc::ServerContext *context,
40 ChannelVerifyRequest *request,
41 ChannelVerifyResponse *response);
44 void StartCheck(ChannelVerifyRequest *request,
45 ChannelVerifyResponse *response);
46 void AsyncCheck(
const std::string &records_path);
47 void DoCheck(
const std::string &records_path);
48 void CheckResult(ChannelVerifyRequest *request,
49 ChannelVerifyResponse *response);
50 void StopCheck(ChannelVerifyRequest *request,
51 ChannelVerifyResponse *response);
55 int AddTopicLack(VerifyResult *result,
const std::string &record_path,
56 std::vector<std::string>
const &lack_channels);
57 int AddInadequateRate(
58 VerifyResult *result, std::string
const &record_path,
59 std::map<std::string, std::pair<double, double>>
const &inadequate_rate);
60 FrameRate *FindRates(VerifyResult *result,
const std::string &channel);
64 std::mutex stop_mutex_;
67 std::shared_ptr<JsonConf> sp_conf_ =
nullptr;
68 std::shared_ptr<ChannelVerify> sp_channel_checker_ =
nullptr;
70 std::thread::id check_thread_id_;
PlanningContext is the runtime context in planning. It is persistent across multiple frames...
Definition: atomic_hash_map.h:25
Definition: channel_verify_agent.h:36
std::shared_ptr< std::vector< OneRecordChannelCheckResult > > CheckedResult
Definition: channel_verify.h:54
void SetState(const State &state)
ChannelVerifyAgentState
Definition: channel_verify_agent.h:34