Apollo 10.0
自动驾驶开放平台
parking_routing_manager.h
浏览该文件的文档.
1/******************************************************************************
2 * Copyright 2020 The Apollo Authors. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 *****************************************************************************/
16
17#pragma once
18
19#include <memory>
20#include <string>
21#include <vector>
22
23#include "modules/common_msgs/localization_msgs/localization.pb.h"
24#include "modules/common_msgs/task_manager_msgs/task_manager.pb.h"
25#include "modules/task_manager/proto/task_manager_config.pb.h"
26
29
30namespace apollo {
31namespace task_manager {
32
34 public:
41 const task_manager::ParkingRoutingTask& parking_routing_task);
42
43 bool ConstructParkingRoutingRequest(ParkingRoutingTask* parking_routing_task);
44
48 virtual ~ParkingRoutingManager() = default;
49
50 private:
51 bool has_space_ = false;
52 bool has_space_id_ = false;
53 std::string id_ = "";
54 apollo::common::monitor::MonitorLogBuffer monitor_logger_buffer_;
55};
56
57} // namespace task_manager
58} // namespace apollo
A general class to denote the return status of an API call.
Definition status.h:43
bool ConstructParkingRoutingRequest(ParkingRoutingTask *parking_routing_task)
virtual ~ParkingRoutingManager()=default
destructor
common::Status Init(const task_manager::ParkingRoutingTask &parking_routing_task)
module initialization function
The class of MonitorLogBuffer
class register implement
Definition arena_queue.h:37