KiCad PCB EDA Suite
Loading...
Searching...
No Matches
conn_signals.h
Go to the documentation of this file.
1/*
2 * This program source code file is part of KiCad, a free EDA CAD application.
3 *
4 * Copyright The KiCad Developers, see AUTHORS.txt for contributors.
5 *
6 * This program is free software: you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the
8 * Free Software Foundation, either version 3 of the License, or (at your
9 * option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program. If not, see <https://www.gnu.org/licenses/>.
18 */
19
20#pragma once
21
22#include "conn_bindings.h"
23#include "conn_summary.h"
24
25namespace SCH_CONNECTIVITY
26{
31{
33
39 std::vector<ITEM_KEY> items;
40 std::vector<SLOT_KEY> slots;
41 std::optional<SLOT_KEY> nameSlot;
42};
43
45SIGNAL_RESULT DeriveSignal( const PARTITION& aPartition, const RECORD_STORE::RECORD_CACHE& aRecords,
46 const SLOT_STORE::SLOT_CACHE& aSlots, const SESSION_KEYS& aKeys );
47} // namespace SCH_CONNECTIVITY
CACHE_TABLE< RECORD_KEY, ISLAND_RECORD, KEY_LESS > RECORD_CACHE
Session IDs are dense handles, never a canonical ordering.
Definition conn_keys.h:146
CACHE_TABLE< SLOT_KEY, SLOT_INPUT, KEY_LESS > SLOT_CACHE
Value keys and the key session of the schematic connectivity engine.
uint32_t NAME_ID
Session handle of a name, ordered by UTF-8 value through NAME_LESS.
Definition conn_keys.h:42
constexpr uint32_t INVALID_ID
Marks an unset handle.
Definition conn_keys.h:47
SIGNAL_RESULT DeriveSignal(const PARTITION &aPartition, const RECORD_STORE::RECORD_CACHE &aRecords, const SLOT_STORE::SLOT_CACHE &aSlots, const SESSION_KEYS &aKeys)
Fold current signal inputs and retain canonical membership for publication and succession.
Exact identity of one connected component.
Derived state of one net before publication.
std::vector< ITEM_KEY > items
std::vector< SLOT_KEY > slots
std::optional< SLOT_KEY > nameSlot
Bus member slot that names the net. Ties take the smallest key.
NAME_ID baseName
CLAIM::ncName for an unconnected pin net, else CLAIM::fullName.
Fold state of one net.