scenario_simulator_v2 C++ API
route_option.hpp
Go to the documentation of this file.
1 // Copyright 2015 TIER IV, Inc. All rights reserved.
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14 
15 #ifndef TRAFFIC_SIMULATOR__DATA_TYPE__ROUTE_OPTION_HPP_
16 #define TRAFFIC_SIMULATOR__DATA_TYPE__ROUTE_OPTION_HPP_
17 
18 namespace traffic_simulator
19 {
20 inline namespace route_option
21 {
22 inline namespace v2
23 {
25 {
28 };
29 } // namespace v2
30 
31 namespace v1
32 {
34 {
36 
37  // conversion without loss of information
38  operator v2::RouteOption() const
39  {
40  v2::RouteOption v2;
42  v2.use_lane_ids_for_routing = false;
43  return v2;
44  }
45 };
46 } // namespace v1
47 } // namespace route_option
48 } // namespace traffic_simulator
49 #endif // TRAFFIC_SIMULATOR__DATA_TYPE__ROUTE_OPTION_HPP_
Definition: api.hpp:32
bool allow_goal_modification
Definition: route_option.hpp:35
Definition: route_option.hpp:25
bool allow_goal_modification
Definition: route_option.hpp:26
bool use_lane_ids_for_routing
Definition: route_option.hpp:27