KiCad PCB EDA Suite
|
#include <unordered_map>
#include <unordered_set>
#include <string>
#include <mutex>
#include <set>
#include <sstream>
#include <map>
#include <vector>
#include <functional>
#include <algorithm>
Go to the source code of this file.
Classes | |
class | REFDES_TRACKER |
Class to efficiently track reference designators and provide next available designators. More... | |
struct | REFDES_TRACKER::PREFIX_DATA |
Data structure for tracking used numbers and caching next available values. More... | |
Typedefs | |
template<typename T > | |
using | UNITS_CHECKER_FUNC = std::function< bool(const T &aTestRef, const std::vector< T > &aExistingRefs, const std::vector< int > &aRequiredUnits)> |
Function type for external units availability checking. | |
using UNITS_CHECKER_FUNC = std::function<bool(const T& aTestRef, const std::vector<T>& aExistingRefs, const std::vector<int>& aRequiredUnits)> |
Function type for external units availability checking.
This allows the REFDES_TRACKER to work with mock objects or custom logic without requiring actual SCH_REFERENCE dependencies.
aTestRef | Reference object being tested for compatibility |
aExistingRefs | Vector of existing references for the same reference number |
aRequiredUnits | Vector of unit numbers needed |
Definition at line 48 of file refdes_tracker.h.