KiCad PCB EDA Suite
Loading...
Searching...
No Matches
ODB_MATRIX_ENTITY Class Reference

#include <odb_entity.h>

Inheritance diagram for ODB_MATRIX_ENTITY:
ODB_ENTITY_BASE

Classes

struct  MATRIX_LAYER
 

Public Member Functions

 ODB_MATRIX_ENTITY (BOARD *aBoard, PCB_IO_ODBPP *aPlugin)
 
virtual ~ODB_MATRIX_ENTITY ()=default
 
virtual std::string GetEntityName () override
 
virtual void GenerateFiles (ODB_TREE_WRITER &writer) override
 
virtual void InitEntityData () override
 
void InitMatrixLayerData ()
 
void AddStep (const wxString &aStepName)
 
void AddMatrixLayerField (MATRIX_LAYER &aMLayer, PCB_LAYER_ID aLayer)
 
void AddDrillMatrixLayer ()
 
void AddCOMPMatrixLayer (PCB_LAYER_ID aCompSide)
 
virtual bool CreateDirectoryTree (ODB_TREE_WRITER &writer)
 

Protected Attributes

BOARDm_board
 
std::vector< std::string > m_fileName
 
PCB_IO_ODBPPm_plugin
 

Private Attributes

std::map< wxString, unsigned int > m_matrixSteps
 
std::vector< MATRIX_LAYERm_matrixLayers
 
unsigned int m_row = 1
 
unsigned int m_col = 1
 
bool m_hasBotComp = false
 

Detailed Description

Definition at line 69 of file odb_entity.h.

Constructor & Destructor Documentation

◆ ODB_MATRIX_ENTITY()

ODB_MATRIX_ENTITY::ODB_MATRIX_ENTITY ( BOARD aBoard,
PCB_IO_ODBPP aPlugin 
)
inline

Definition at line 72 of file odb_entity.h.

◆ ~ODB_MATRIX_ENTITY()

virtual ODB_MATRIX_ENTITY::~ODB_MATRIX_ENTITY ( )
virtualdefault

Member Function Documentation

◆ AddCOMPMatrixLayer()

◆ AddDrillMatrixLayer()

◆ AddMatrixLayerField()

◆ AddStep()

void ODB_MATRIX_ENTITY::AddStep ( const wxString &  aStepName)

Definition at line 104 of file odb_entity.cpp.

References m_col, and m_matrixSteps.

Referenced by InitEntityData().

◆ CreateDirectoryTree()

bool ODB_ENTITY_BASE::CreateDirectoryTree ( ODB_TREE_WRITER writer)
virtualinherited

◆ GenerateFiles()

void ODB_MATRIX_ENTITY::GenerateFiles ( ODB_TREE_WRITER writer)
overridevirtual

◆ GetEntityName()

virtual std::string ODB_MATRIX_ENTITY::GetEntityName ( )
inlineoverridevirtual

Implements ODB_ENTITY_BASE.

Definition at line 78 of file odb_entity.h.

◆ InitEntityData()

void ODB_MATRIX_ENTITY::InitEntityData ( )
overridevirtual

Reimplemented from ODB_ENTITY_BASE.

Definition at line 110 of file odb_entity.cpp.

References AddStep(), and InitMatrixLayerData().

◆ InitMatrixLayerData()

Member Data Documentation

◆ m_board

◆ m_col

unsigned int ODB_MATRIX_ENTITY::m_col = 1
private

Definition at line 111 of file odb_entity.h.

Referenced by AddStep().

◆ m_fileName

std::vector<std::string> ODB_ENTITY_BASE::m_fileName
protectedinherited

Definition at line 60 of file odb_entity.h.

◆ m_hasBotComp

bool ODB_MATRIX_ENTITY::m_hasBotComp = false
private

Definition at line 112 of file odb_entity.h.

Referenced by AddCOMPMatrixLayer(), and AddDrillMatrixLayer().

◆ m_matrixLayers

std::vector<MATRIX_LAYER> ODB_MATRIX_ENTITY::m_matrixLayers
private

◆ m_matrixSteps

std::map<wxString, unsigned int> ODB_MATRIX_ENTITY::m_matrixSteps
private

Definition at line 108 of file odb_entity.h.

Referenced by AddStep(), and GenerateFiles().

◆ m_plugin

◆ m_row

unsigned int ODB_MATRIX_ENTITY::m_row = 1
private

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