KiCad PCB EDA Suite
Loading...
Searching...
No Matches
PCAD2KICAD::PCAD_PAD Class Reference

#include <pcad_pad.h>

Inheritance diagram for PCAD2KICAD::PCAD_PAD:
PCAD2KICAD::PCAD_PCB_COMPONENT PCAD2KICAD::PCAD_VIA

Public Member Functions

 PCAD_PAD (PCAD_CALLBACKS *aCallbacks, BOARD *aBoard)
 
 ~PCAD_PAD ()
 
virtual void Parse (XNODE *aNode, const wxString &aDefaultUnits, const wxString &aActualConversion)
 
virtual void Flip () override
 
void AddToFootprint (FOOTPRINT *aFootprint, const EDA_ANGLE &aRotation, bool aEncapsulatedPad)
 
void AddToBoard (FOOTPRINT *aFootprint=nullptr) override
 
virtual void SetPosOffset (int aX_offs, int aY_offs)
 
PCB_LAYER_ID GetKiCadLayer () const
 
int GetNetCode (const wxString &aNetName) const
 

Public Attributes

int m_Number
 
int m_Hole
 
bool m_IsHolePlated
 
PCAD_PAD_SHAPES_ARRAY m_Shapes
 
char m_ObjType
 
int m_PCadLayer
 
PCB_LAYER_ID m_KiCadLayer
 
KIID m_Uuid
 
int m_PositionX
 
int m_PositionY
 
EDA_ANGLE m_Rotation
 
TTEXTVALUE m_Name
 
wxString m_Net
 
int m_NetCode
 
wxString m_CompRef
 
wxString m_PatGraphRefName
 

Protected Attributes

PCAD_CALLBACKSm_callbacks
 
BOARDm_board
 

Private Attributes

wxString m_defaultPinDes
 

Detailed Description

Definition at line 38 of file pcad_pad.h.

Constructor & Destructor Documentation

◆ PCAD_PAD()

PCAD2KICAD::PCAD_PAD::PCAD_PAD ( PCAD_CALLBACKS aCallbacks,
BOARD aBoard 
)

◆ ~PCAD_PAD()

PCAD2KICAD::PCAD_PAD::~PCAD_PAD ( )

Definition at line 52 of file pcad_pad.cpp.

References m_Shapes.

Member Function Documentation

◆ AddToBoard()

◆ AddToFootprint()

◆ Flip()

◆ GetKiCadLayer()

◆ GetNetCode()

◆ Parse()

◆ SetPosOffset()

Member Data Documentation

◆ m_board

◆ m_callbacks

◆ m_CompRef

wxString PCAD2KICAD::PCAD_PCB_COMPONENT::m_CompRef
inherited

◆ m_defaultPinDes

wxString PCAD2KICAD::PCAD_PAD::m_defaultPinDes
private

Definition at line 60 of file pcad_pad.h.

Referenced by AddToBoard(), Parse(), and PCAD_PAD().

◆ m_Hole

int PCAD2KICAD::PCAD_PAD::m_Hole

Definition at line 55 of file pcad_pad.h.

Referenced by AddToBoard(), AddToFootprint(), Parse(), PCAD2KICAD::PCAD_VIA::Parse(), and PCAD_PAD().

◆ m_IsHolePlated

bool PCAD2KICAD::PCAD_PAD::m_IsHolePlated

Definition at line 56 of file pcad_pad.h.

Referenced by AddToFootprint(), Parse(), and PCAD_PAD().

◆ m_KiCadLayer

◆ m_Name

◆ m_Net

◆ m_NetCode

◆ m_Number

int PCAD2KICAD::PCAD_PAD::m_Number

Definition at line 54 of file pcad_pad.h.

Referenced by Parse(), and PCAD_PAD().

◆ m_ObjType

◆ m_PatGraphRefName

wxString PCAD2KICAD::PCAD_PCB_COMPONENT::m_PatGraphRefName
inherited

◆ m_PCadLayer

◆ m_PositionX

◆ m_PositionY

◆ m_Rotation

◆ m_Shapes

PCAD_PAD_SHAPES_ARRAY PCAD2KICAD::PCAD_PAD::m_Shapes

◆ m_Uuid

KIID PCAD2KICAD::PCAD_PCB_COMPONENT::m_Uuid
inherited

Definition at line 66 of file pcad_pcb_component.h.


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