LibrePCB Developers Documentation
PackagePad Class Referencefinal

The PackagePad class represents one logical pad of a package. More...

#include <packagepad.h>

+ Collaboration diagram for PackagePad:

Public Types

enum class  Event
 
typedef Slot< PackagePad, EventOnEditedSlot
 

Public Member Functions

 PackagePad ()=delete
 
 PackagePad (const PackagePad &other) noexcept
 
 PackagePad (const Uuid &uuid, const CircuitIdentifier &name) noexcept
 
 PackagePad (const SExpression &node)
 
 ~PackagePad () noexcept
 
const UuidgetUuid () const noexcept
 
CircuitIdentifier getName () const noexcept
 
bool setName (const CircuitIdentifier &name) noexcept
 
void serialize (SExpression &root) const
 Serialize into librepcb::SExpression node. More...
 
bool operator== (const PackagePad &rhs) const noexcept
 
bool operator!= (const PackagePad &rhs) const noexcept
 
PackagePadoperator= (const PackagePad &rhs) noexcept
 

Public Attributes

Signal< PackagePad, EventonEdited
 

Private Attributes

Uuid mUuid
 
CircuitIdentifier mName
 

Detailed Description

The PackagePad class represents one logical pad of a package.

Following information is considered as the "interface" of a pad and must therefore never be changed:

  • UUID

Member Typedef Documentation

◆ OnEditedSlot

Member Enumeration Documentation

◆ Event

enum class Event
strong
Enumerator
UuidChanged 
NameChanged 

Constructor & Destructor Documentation

◆ PackagePad() [1/4]

PackagePad ( )
delete

◆ PackagePad() [2/4]

PackagePad ( const PackagePad other)
noexcept

◆ PackagePad() [3/4]

PackagePad ( const Uuid uuid,
const CircuitIdentifier name 
)
noexcept

◆ PackagePad() [4/4]

PackagePad ( const SExpression node)
explicit

◆ ~PackagePad()

~PackagePad ( )
noexcept

Member Function Documentation

◆ getUuid()

const Uuid & getUuid ( ) const
inlinenoexcept

◆ getName()

CircuitIdentifier getName ( ) const
inlinenoexcept
+ Here is the caller graph for this function:

◆ setName()

bool setName ( const CircuitIdentifier name)
noexcept
+ Here is the caller graph for this function:

◆ serialize()

void serialize ( SExpression root) const

Serialize into librepcb::SExpression node.

Parameters
rootRoot node to serialize into.
+ Here is the call graph for this function:

◆ operator==()

bool operator== ( const PackagePad rhs) const
noexcept

◆ operator!=()

bool operator!= ( const PackagePad rhs) const
inlinenoexcept

◆ operator=()

PackagePad & operator= ( const PackagePad rhs)
noexcept

Member Data Documentation

◆ onEdited

Signal<PackagePad, Event> onEdited

◆ mUuid

Uuid mUuid
private

◆ mName

CircuitIdentifier mName
private

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