LibrePCB Developers Documentation
|
#include <bi_plane.h>
Public Types | |
enum class | Event |
enum class | ConnectStyle |
typedef Slot< BI_Plane, Event > | OnEditedSlot |
Public Member Functions | |
BI_Plane ()=delete | |
BI_Plane (const BI_Plane &other)=delete | |
BI_Plane (Board &board, const Uuid &uuid, const Layer &layer, NetSignal *netsignal, const Path &outline) | |
~BI_Plane () noexcept | |
const Uuid & | getUuid () const noexcept |
const Layer & | getLayer () const noexcept |
NetSignal * | getNetSignal () const noexcept |
const UnsignedLength & | getMinWidth () const noexcept |
const UnsignedLength & | getMinClearance () const noexcept |
bool | getKeepIslands () const noexcept |
int | getPriority () const noexcept |
ConnectStyle | getConnectStyle () const noexcept |
const PositiveLength & | getThermalGap () const noexcept |
const PositiveLength & | getThermalSpokeWidth () const noexcept |
const Path & | getOutline () const noexcept |
const QVector< Path > & | getFragments () const noexcept |
bool | isLocked () const noexcept |
bool | isVisible () const noexcept |
void | setOutline (const Path &outline) noexcept |
void | setLayer (const Layer &layer) noexcept |
void | setNetSignal (NetSignal *netsignal) |
void | setMinWidth (const UnsignedLength &minWidth) noexcept |
void | setMinClearance (const UnsignedLength &minClearance) noexcept |
void | setConnectStyle (ConnectStyle style) noexcept |
void | setThermalGap (const PositiveLength &gap) noexcept |
void | setThermalSpokeWidth (const PositiveLength &width) noexcept |
void | setPriority (int priority) noexcept |
void | setKeepIslands (bool keep) noexcept |
void | setLocked (bool locked) noexcept |
void | setVisible (bool visible) noexcept |
void | setCalculatedFragments (const QVector< Path > &fragments) noexcept |
void | addToBoard () override |
void | removeFromBoard () override |
void | serialize (SExpression &root) const |
Serialize into librepcb::SExpression node. | |
BI_Plane & | operator= (const BI_Plane &rhs)=delete |
Public Member Functions inherited from BI_Base | |
BI_Base ()=delete | |
BI_Base (const BI_Base &other)=delete | |
BI_Base (Board &board) noexcept | |
virtual | ~BI_Base () noexcept |
Project & | getProject () const noexcept |
Circuit & | getCircuit () const noexcept |
Board & | getBoard () const noexcept |
virtual bool | isAddedToBoard () const noexcept |
BI_Base & | operator= (const BI_Base &rhs)=delete |
Public Attributes | |
Signal< BI_Plane, Event > | onEdited |
Private Attributes | |
Uuid | mUuid |
const Layer * | mLayer |
Mandatory (never nullptr ) | |
NetSignal * | mNetSignal |
Optional (nullptr = no net) | |
Path | mOutline |
UnsignedLength | mMinWidth |
UnsignedLength | mMinClearance |
bool | mKeepIslands |
int | mPriority |
ConnectStyle | mConnectStyle |
PositiveLength | mThermalGap |
PositiveLength | mThermalSpokeWidth |
bool | mLocked |
bool | mIsVisible |
QVector< Path > | mFragments |
Additional Inherited Members | |
Protected Attributes inherited from BI_Base | |
Board & | mBoard |
The BI_Plane class.
typedef Slot<BI_Plane, Event> OnEditedSlot |
|
strong |
|
strong |
|
delete |
BI_Plane | ( | Board & | board, |
const Uuid & | uuid, | ||
const Layer & | layer, | ||
NetSignal * | netsignal, | ||
const Path & | outline | ||
) |
|
noexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
noexcept |
|
noexcept |
void setNetSignal | ( | NetSignal * | netsignal | ) |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
overridevirtual |
Reimplemented from BI_Base.
|
overridevirtual |
Reimplemented from BI_Base.
void serialize | ( | SExpression & | root | ) | const |
Serialize into librepcb::SExpression node.
root | Root node to serialize into. |
|
private |
|
private |
Mandatory (never nullptr
)
|
private |
Optional (nullptr
= no net)
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |