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

#include <pcad_line.h>

Inheritance diagram for PCAD2KICAD::PCAD_LINE:
PCAD2KICAD::PCAD_PCB_COMPONENT

Public Member Functions

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

Public Attributes

int m_Width
 
int m_ToX
 
int m_ToY
 
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 39 of file pcad_line.h.

Constructor & Destructor Documentation

◆ PCAD_LINE()

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

Definition at line 39 of file pcad_line.cpp.

References PCAD2KICAD::PCAD_PCB_COMPONENT::m_ObjType, m_ToX, m_ToY, and m_Width.

◆ ~PCAD_LINE()

PCAD2KICAD::PCAD_LINE::~PCAD_LINE ( )

Definition at line 49 of file pcad_line.cpp.

Member Function Documentation

◆ AddToBoard()

◆ Flip()

void PCAD2KICAD::PCAD_LINE::Flip ( )
overridevirtual

◆ GetKiCadLayer()

◆ GetNetCode()

◆ Parse()

◆ SetPosOffset()

void PCAD2KICAD::PCAD_LINE::SetPosOffset ( int  aX_offs,
int  aY_offs 
)
overridevirtual

Reimplemented from PCAD2KICAD::PCAD_PCB_COMPONENT.

Definition at line 99 of file pcad_line.cpp.

References m_ToX, m_ToY, and PCAD2KICAD::PCAD_PCB_COMPONENT::SetPosOffset().

Member Data Documentation

◆ m_board

◆ m_callbacks

◆ m_CompRef

wxString PCAD2KICAD::PCAD_PCB_COMPONENT::m_CompRef
inherited

◆ m_KiCadLayer

◆ m_Name

◆ m_Net

◆ m_NetCode

◆ m_ObjType

◆ m_PatGraphRefName

wxString PCAD2KICAD::PCAD_PCB_COMPONENT::m_PatGraphRefName
inherited

◆ m_PCadLayer

◆ m_PositionX

◆ m_PositionY

◆ m_Rotation

◆ m_ToX

int PCAD2KICAD::PCAD_LINE::m_ToX

Definition at line 56 of file pcad_line.h.

Referenced by AddToBoard(), Flip(), Parse(), PCAD_LINE(), and SetPosOffset().

◆ m_ToY

int PCAD2KICAD::PCAD_LINE::m_ToY

Definition at line 57 of file pcad_line.h.

Referenced by AddToBoard(), Parse(), PCAD_LINE(), and SetPosOffset().

◆ m_Uuid

KIID PCAD2KICAD::PCAD_PCB_COMPONENT::m_Uuid
inherited

Definition at line 66 of file pcad_pcb_component.h.

◆ m_Width

int PCAD2KICAD::PCAD_LINE::m_Width

Definition at line 55 of file pcad_line.h.

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


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