Horizon
Public Types | Public Member Functions | Public Attributes | Static Public Attributes | List of all members
horizon::ToolRouteTrackInteractive::Settings Class Reference
Inheritance diagram for horizon::ToolRouteTrackInteractive::Settings:
horizon::ToolSettings

Public Types

enum class  Mode { WALKAROUND , PUSH , BEND , STRAIGHT }
 

Public Member Functions

json serialize () const override
 
void load_from_json (const json &j) override
 

Public Attributes

int effort = 1
 
bool remove_loops = true
 
Mode mode = Mode::WALKAROUND
 
bool drc = true
 

Static Public Attributes

static const std::map< Mode, std::string > mode_names
 

Member Data Documentation

◆ mode_names

const std::map< ToolRouteTrackInteractive::Settings::Mode, std::string > horizon::ToolRouteTrackInteractive::Settings::mode_names
static
Initial value:
=
{{ToolRouteTrackInteractive::Settings::Mode::BEND, "45 degree"},
{ToolRouteTrackInteractive::Settings::Mode::STRAIGHT, "Straight"},
{ToolRouteTrackInteractive::Settings::Mode::PUSH, "Push & shove"},
{ToolRouteTrackInteractive::Settings::Mode::WALKAROUND, "Walkaround"}}

The documentation for this class was generated from the following files: