Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
SiarheiFedartsou committed May 22, 2024
1 parent 89c6126 commit b307364
Showing 1 changed file with 26 additions and 26 deletions.
52 changes: 26 additions & 26 deletions src/extractor/scripting_environment_lua.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -211,32 +211,32 @@ context.state.new_enum("item_type",
"interpolate",
&RasterContainer::GetRasterInterpolateFromSource);

// context.state.new_usertype<ProfileProperties>(
// "ProfileProperties",
// "traffic_signal_penalty",
// sol::property(&ProfileProperties::GetTrafficSignalPenalty,
// &ProfileProperties::SetTrafficSignalPenalty),
// "u_turn_penalty",
// sol::property(&ProfileProperties::GetUturnPenalty, &ProfileProperties::SetUturnPenalty),
// "max_speed_for_map_matching",
// sol::property(&ProfileProperties::GetMaxSpeedForMapMatching,
// &ProfileProperties::SetMaxSpeedForMapMatching),
// "continue_straight_at_waypoint",
// &ProfileProperties::continue_straight_at_waypoint,
// "use_turn_restrictions",
// &ProfileProperties::use_turn_restrictions,
// "left_hand_driving",
// &ProfileProperties::left_hand_driving,
// "weight_precision",
// &ProfileProperties::weight_precision,
// "weight_name",
// sol::property(&ProfileProperties::SetWeightName, &ProfileProperties::GetWeightName),
// "max_turn_weight",
// sol::property(&ProfileProperties::GetMaxTurnWeight),
// "force_split_edges",
// &ProfileProperties::force_split_edges,
// "call_tagless_node_function",
// &ProfileProperties::call_tagless_node_function);
context.state.new_usertype<ProfileProperties>(
"ProfileProperties",
"traffic_signal_penalty",
sol::property(&ProfileProperties::GetTrafficSignalPenalty,
&ProfileProperties::SetTrafficSignalPenalty),
"u_turn_penalty",
sol::property(&ProfileProperties::GetUturnPenalty, &ProfileProperties::SetUturnPenalty),
"max_speed_for_map_matching",
sol::property(&ProfileProperties::GetMaxSpeedForMapMatching,
&ProfileProperties::SetMaxSpeedForMapMatching),
"continue_straight_at_waypoint",
&ProfileProperties::continue_straight_at_waypoint,
"use_turn_restrictions",
&ProfileProperties::use_turn_restrictions,
"left_hand_driving",
&ProfileProperties::left_hand_driving,
"weight_precision",
&ProfileProperties::weight_precision,
"weight_name",
sol::property(&ProfileProperties::SetWeightName, &ProfileProperties::GetWeightName),
"max_turn_weight",
sol::property(&ProfileProperties::GetMaxTurnWeight),
"force_split_edges",
&ProfileProperties::force_split_edges,
"call_tagless_node_function",
&ProfileProperties::call_tagless_node_function);

context.state.new_usertype<std::vector<std::string>>(
"vector",
Expand Down

0 comments on commit b307364

Please sign in to comment.