KiCad PCB EDA Suite
Loading...
Searching...
No Matches
drc_engine.cpp File Reference
#include <atomic>
#include <reporter.h>
#include <progress_reporter.h>
#include <string_utils.h>
#include <board_design_settings.h>
#include <drc/drc_engine.h>
#include <drc/drc_rtree.h>
#include <drc/drc_rule_parser.h>
#include <drc/drc_rule.h>
#include <drc/drc_rule_condition.h>
#include <drc/drc_test_provider.h>
#include <drc/drc_item.h>
#include <drc/drc_cache_generator.h>
#include <footprint.h>
#include <pad.h>
#include <pcb_track.h>
#include <core/thread_pool.h>
#include <zone.h>

Go to the source code of this file.

Macros

#define ERROR_LIMIT   199
 
#define EXTENDED_ERROR_LIMIT   499
 
#define REPORT(s)   { if( aReporter ) { aReporter->Report( s ); } }
 

Functions

void drcPrintDebugMessage (int level, const wxString &msg, const char *function, int line)
 
static bool isKeepoutZone (const BOARD_ITEM *aItem, bool aCheckFlags)
 
bool hasDrilledHole (const BOARD_ITEM *aItem)
 

Macro Definition Documentation

◆ ERROR_LIMIT

#define ERROR_LIMIT   199

Definition at line 48 of file drc_engine.cpp.

◆ EXTENDED_ERROR_LIMIT

#define EXTENDED_ERROR_LIMIT   499

Definition at line 49 of file drc_engine.cpp.

◆ REPORT

#define REPORT (   s)    { if( aReporter ) { aReporter->Report( s ); } }

Definition at line 616 of file drc_engine.cpp.

Function Documentation

◆ drcPrintDebugMessage()

void drcPrintDebugMessage ( int  level,
const wxString &  msg,
const char *  function,
int  line 
)

Definition at line 52 of file drc_engine.cpp.

◆ hasDrilledHole()

bool hasDrilledHole ( const BOARD_ITEM aItem)

Definition at line 652 of file drc_engine.cpp.

References BOARD_ITEM::HasHole(), pad, PCB_PAD_T, PCB_VIA_T, and EDA_ITEM::Type().

Referenced by DRC_ENGINE::EvalRules().

◆ isKeepoutZone()