KiCad PCB EDA Suite
Loading...
Searching...
No Matches
HYPERLYNX_EXPORTER Class Reference
Inheritance diagram for HYPERLYNX_EXPORTER:
BOARD_EXPORTER_BASE

Public Member Functions

 HYPERLYNX_EXPORTER ()
 
 ~HYPERLYNX_EXPORTER ()
 
virtual bool Run () override
 
void SetOutputFilename (const wxFileName &aPath)
 
void SetBoard (BOARD *aBoard)
 
void SetReporter (REPORTER *aReporter)
 
void SetProgressReporter (PROGRESS_REPORTER *aProgressReporter)
 

Protected Attributes

STRING_UTF8_MAP m_properties
 
BOARDm_board = nullptr
 
wxFileName m_outputFilePath
 
REPORTERm_reporter = nullptr
 
PROGRESS_REPORTERm_progressReporter = nullptr
 

Private Member Functions

HYPERLYNX_PAD_STACKaddPadStack (HYPERLYNX_PAD_STACK stack)
 
const std::string formatPadShape (const HYPERLYNX_PAD_STACK &aStack)
 
bool generateHeaders ()
 
bool writeBoardInfo ()
 
bool writeStackupInfo ()
 
bool writeDevices ()
 
bool writePadStacks ()
 
bool writeNets ()
 
bool writeNetObjects (const std::vector< BOARD_ITEM * > &aObjects)
 
void writeSinglePadStack (HYPERLYNX_PAD_STACK &aStack)
 
const std::vector< BOARD_ITEM * > collectNetObjects (int netcode)
 

Private Attributes

std::vector< HYPERLYNX_PAD_STACK * > m_padStacks
 
std::map< BOARD_ITEM *, HYPERLYNX_PAD_STACK * > m_padMap
 
std::shared_ptr< FILE_OUTPUTFORMATTERm_out
 
int m_polyId
 

Detailed Description

Definition at line 120 of file export_hyperlynx.cpp.

Constructor & Destructor Documentation

◆ HYPERLYNX_EXPORTER()

HYPERLYNX_EXPORTER::HYPERLYNX_EXPORTER ( )
inline

Definition at line 123 of file export_hyperlynx.cpp.

◆ ~HYPERLYNX_EXPORTER()

HYPERLYNX_EXPORTER::~HYPERLYNX_EXPORTER ( )
inline

Definition at line 127 of file export_hyperlynx.cpp.

Member Function Documentation

◆ addPadStack()

HYPERLYNX_PAD_STACK * HYPERLYNX_EXPORTER::addPadStack ( HYPERLYNX_PAD_STACK  stack)
inlineprivate

Definition at line 132 of file export_hyperlynx.cpp.

References m_padStacks, and HYPERLYNX_PAD_STACK::SetId().

Referenced by writePadStacks().

◆ collectNetObjects()

const std::vector< BOARD_ITEM * > HYPERLYNX_EXPORTER::collectNetObjects ( int  netcode)
private

◆ formatPadShape()

◆ generateHeaders()

bool HYPERLYNX_EXPORTER::generateHeaders ( )
private

Definition at line 244 of file export_hyperlynx.cpp.

References m_out.

Referenced by Run().

◆ Run()

bool HYPERLYNX_EXPORTER::Run ( )
overridevirtual

◆ SetBoard()

void BOARD_EXPORTER_BASE::SetBoard ( BOARD aBoard)
inlineinherited

Definition at line 52 of file board_exporter_base.h.

References BOARD_EXPORTER_BASE::m_board.

Referenced by ExportBoardToHyperlynx().

◆ SetOutputFilename()

void BOARD_EXPORTER_BASE::SetOutputFilename ( const wxFileName &  aPath)
inlineinherited

Definition at line 47 of file board_exporter_base.h.

References BOARD_EXPORTER_BASE::m_outputFilePath.

Referenced by ExportBoardToHyperlynx().

◆ SetProgressReporter()

void BOARD_EXPORTER_BASE::SetProgressReporter ( PROGRESS_REPORTER aProgressReporter)
inlineinherited

Definition at line 62 of file board_exporter_base.h.

References BOARD_EXPORTER_BASE::m_progressReporter.

◆ SetReporter()

void BOARD_EXPORTER_BASE::SetReporter ( REPORTER aReporter)
inlineinherited

Definition at line 57 of file board_exporter_base.h.

References BOARD_EXPORTER_BASE::m_reporter.

◆ writeBoardInfo()

◆ writeDevices()

bool HYPERLYNX_EXPORTER::writeDevices ( )
private

Definition at line 373 of file export_hyperlynx.cpp.

References BOARD::Footprints(), BOARD::GetLayerName(), BOARD_EXPORTER_BASE::m_board, and m_out.

Referenced by Run().

◆ writeNetObjects()

◆ writeNets()

bool HYPERLYNX_EXPORTER::writeNets ( )
private

◆ writePadStacks()

bool HYPERLYNX_EXPORTER::writePadStacks ( )
private

◆ writeSinglePadStack()

◆ writeStackupInfo()

Member Data Documentation

◆ m_board

◆ m_out

std::shared_ptr<FILE_OUTPUTFORMATTER> HYPERLYNX_EXPORTER::m_out
private

◆ m_outputFilePath

wxFileName BOARD_EXPORTER_BASE::m_outputFilePath
protectedinherited

Definition at line 72 of file board_exporter_base.h.

Referenced by Run(), and BOARD_EXPORTER_BASE::SetOutputFilename().

◆ m_padMap

std::map<BOARD_ITEM*, HYPERLYNX_PAD_STACK*> HYPERLYNX_EXPORTER::m_padMap
private

Definition at line 205 of file export_hyperlynx.cpp.

Referenced by writeNetObjects(), and writePadStacks().

◆ m_padStacks

std::vector<HYPERLYNX_PAD_STACK*> HYPERLYNX_EXPORTER::m_padStacks
private

Definition at line 204 of file export_hyperlynx.cpp.

Referenced by addPadStack(), and writePadStacks().

◆ m_polyId

int HYPERLYNX_EXPORTER::m_polyId
private

Definition at line 208 of file export_hyperlynx.cpp.

Referenced by writeNetObjects(), and writeNets().

◆ m_progressReporter

PROGRESS_REPORTER* BOARD_EXPORTER_BASE::m_progressReporter = nullptr
protectedinherited

Definition at line 74 of file board_exporter_base.h.

Referenced by BOARD_EXPORTER_BASE::SetProgressReporter().

◆ m_properties

STRING_UTF8_MAP BOARD_EXPORTER_BASE::m_properties
protectedinherited

Definition at line 70 of file board_exporter_base.h.

◆ m_reporter

REPORTER* BOARD_EXPORTER_BASE::m_reporter = nullptr
protectedinherited

Definition at line 73 of file board_exporter_base.h.

Referenced by formatPadShape(), and BOARD_EXPORTER_BASE::SetReporter().


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