KiCad PCB EDA Suite
Loading...
Searching...
No Matches
PCAD2KICAD::PCAD_PCB_COMPONENT Class Referenceabstract

#include <pcad_pcb_component.h>

Inheritance diagram for PCAD2KICAD::PCAD_PCB_COMPONENT:
PCAD2KICAD::PCAD_ARC PCAD2KICAD::PCAD_FOOTPRINT PCAD2KICAD::PCAD_LINE PCAD2KICAD::PCAD_PAD PCAD2KICAD::PCAD_PAD_SHAPE PCAD2KICAD::PCAD_POLYGON PCAD2KICAD::PCAD_TEXT PCAD2KICAD::PCAD_PCB PCAD2KICAD::PCAD_VIA PCAD2KICAD::PCAD_VIA_SHAPE PCAD2KICAD::PCAD_COPPER_POUR PCAD2KICAD::PCAD_CUTOUT PCAD2KICAD::PCAD_KEEPOUT PCAD2KICAD::PCAD_PLANE

Public Member Functions

 PCAD_PCB_COMPONENT (PCAD_CALLBACKS *aCallbacks, BOARD *aBoard)
 
 ~PCAD_PCB_COMPONENT ()
 
virtual void SetPosOffset (int aX_offs, int aY_offs)
 
virtual void Flip ()
 
virtual void AddToBoard (FOOTPRINT *aFootprint=nullptr)=0
 
PCB_LAYER_ID GetKiCadLayer () const
 
int GetNetCode (const wxString &aNetName) const
 

Public Attributes

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
 

Detailed Description

Definition at line 45 of file pcad_pcb_component.h.

Constructor & Destructor Documentation

◆ PCAD_PCB_COMPONENT()

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

◆ ~PCAD_PCB_COMPONENT()

PCAD2KICAD::PCAD_PCB_COMPONENT::~PCAD_PCB_COMPONENT ( )

Definition at line 56 of file pcad_pcb_component.cpp.

Member Function Documentation

◆ AddToBoard()

virtual void PCAD2KICAD::PCAD_PCB_COMPONENT::AddToBoard ( FOOTPRINT aFootprint = nullptr)
pure virtual

◆ Flip()

◆ GetKiCadLayer()

◆ GetNetCode()

◆ SetPosOffset()

void PCAD2KICAD::PCAD_PCB_COMPONENT::SetPosOffset ( int  aX_offs,
int  aY_offs 
)
virtual

Member Data Documentation

◆ m_board

◆ m_callbacks

◆ m_CompRef

wxString PCAD2KICAD::PCAD_PCB_COMPONENT::m_CompRef

◆ m_KiCadLayer

◆ m_Name

◆ m_Net

◆ m_NetCode

◆ m_ObjType

◆ m_PatGraphRefName

wxString PCAD2KICAD::PCAD_PCB_COMPONENT::m_PatGraphRefName

◆ m_PCadLayer

◆ m_PositionX

◆ m_PositionY

◆ m_Rotation

◆ m_Uuid

KIID PCAD2KICAD::PCAD_PCB_COMPONENT::m_Uuid

Definition at line 66 of file pcad_pcb_component.h.


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