Horizon
Loading...
Searching...
No Matches
horizon::RuleThermals Class Reference
Inheritance diagram for horizon::RuleThermals:
horizon::Rule

Public Types

enum class  PadMode { ALL , PADS }
Public Types inherited from horizon::Rule
enum class  SerializeMode { SERIALIZE , EXPORT }

Public Member Functions

RuleID get_id () const override
 RuleThermals (const UUID &uu)
 RuleThermals (const UUID &uu, const json &j)
json serialize () const override
std::string get_brief (const class Block *block=nullptr, class IPool *pool=nullptr) const override
bool can_export () const override
bool matches (const class BoardPackage &pkg, const class Pad &pad, int layer) const
Public Member Functions inherited from horizon::Rule
 Rule (const UUID &uu)
 Rule (const json &j)
 Rule (const json &j, const RuleImportMap &import_map)
 Rule (const UUID &uu, const json &j)
 Rule (const UUID &uu, const json &j, const RuleImportMap &import_map)
int get_order () const
virtual bool is_match_all () const

Public Attributes

RuleMatch match
RuleMatchComponent match_component
int layer = 10000
PadMode pad_mode = PadMode::ALL
std::set< UUIDpads
ThermalSettings thermal_settings
Public Attributes inherited from horizon::Rule
UUID uuid
bool enabled = true
bool imported = false

Static Public Attributes

static const auto id = RuleID::THERMALS

Additional Inherited Members

Static Protected Member Functions inherited from horizon::Rule
static std::string layer_to_string (int layer)

Member Function Documentation

◆ can_export()

bool horizon::RuleThermals::can_export ( ) const
overridevirtual

Reimplemented from horizon::Rule.

◆ get_brief()

std::string horizon::RuleThermals::get_brief ( const class Block * block = nullptr,
class IPool * pool = nullptr ) const
overridevirtual

Implements horizon::Rule.

◆ get_id()

RuleID horizon::RuleThermals::get_id ( ) const
inlineoverridevirtual

Implements horizon::Rule.

◆ serialize()

json horizon::RuleThermals::serialize ( ) const
overridevirtual

Reimplemented from horizon::Rule.


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