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

#include <odb_entity.h>

Inheritance diagram for ODB_STEP_ENTITY:
ODB_ENTITY_BASE

Public Member Functions

 ODB_STEP_ENTITY (BOARD *aBoard, PCB_IO_ODBPP *aPlugin)
 
virtual ~ODB_STEP_ENTITY ()=default
 
virtual std::string GetEntityName () override
 
void InitEdaData ()
 
void InitPackage ()
 
void InitNetListData ()
 
void MakeLayerEntity ()
 
bool AddNetList ()
 
bool AddProfile ()
 
bool AddStepHeader ()
 
virtual bool CreateDirectoryTree (ODB_TREE_WRITER &writer) override
 
virtual void InitEntityData () override
 
void GenerateLayerFiles (ODB_TREE_WRITER &writer)
 
void GenerateEdaFiles (ODB_TREE_WRITER &writer)
 
void GenerateNetlistsFiles (ODB_TREE_WRITER &writer)
 
void GenerateProfileFile (ODB_TREE_WRITER &writer)
 
void GenerateStepHeaderFile (ODB_TREE_WRITER &writer)
 
virtual void GenerateFiles (ODB_TREE_WRITER &writer) override
 

Protected Attributes

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

Private Attributes

std::map< wxString, std::shared_ptr< ODB_LAYER_ENTITY > > m_layerEntityMap
 
std::unique_ptr< FEATURES_MANAGERm_profile
 
EDA_DATA m_edaData
 
std::unordered_map< wxString, wxString > m_stephdr
 
ODB_NET_LIST m_netlist
 

Detailed Description

Definition at line 134 of file odb_entity.h.

Constructor & Destructor Documentation

◆ ODB_STEP_ENTITY()

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

Definition at line 137 of file odb_entity.h.

◆ ~ODB_STEP_ENTITY()

virtual ODB_STEP_ENTITY::~ODB_STEP_ENTITY ( )
virtualdefault

Member Function Documentation

◆ AddNetList()

bool ODB_STEP_ENTITY::AddNetList ( )

◆ AddProfile()

bool ODB_STEP_ENTITY::AddProfile ( )

◆ AddStepHeader()

bool ODB_STEP_ENTITY::AddStepHeader ( )

◆ CreateDirectoryTree()

bool ODB_STEP_ENTITY::CreateDirectoryTree ( ODB_TREE_WRITER writer)
overridevirtual

◆ GenerateEdaFiles()

void ODB_STEP_ENTITY::GenerateEdaFiles ( ODB_TREE_WRITER writer)

Definition at line 847 of file odb_entity.cpp.

References ODB_TREE_WRITER::CreateFileProxy(), m_edaData, and EDA_DATA::Write().

Referenced by GenerateFiles().

◆ GenerateFiles()

◆ GenerateLayerFiles()

void ODB_STEP_ENTITY::GenerateLayerFiles ( ODB_TREE_WRITER writer)

◆ GenerateNetlistsFiles()

void ODB_STEP_ENTITY::GenerateNetlistsFiles ( ODB_TREE_WRITER writer)

Definition at line 855 of file odb_entity.cpp.

References ODB_TREE_WRITER::CreateFileProxy(), m_netlist, and ODB_NET_LIST::Write().

Referenced by GenerateFiles().

◆ GenerateProfileFile()

void ODB_STEP_ENTITY::GenerateProfileFile ( ODB_TREE_WRITER writer)

◆ GenerateStepHeaderFile()

void ODB_STEP_ENTITY::GenerateStepHeaderFile ( ODB_TREE_WRITER writer)

◆ GetEntityName()

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

Implements ODB_ENTITY_BASE.

Definition at line 144 of file odb_entity.h.

Referenced by CreateDirectoryTree().

◆ InitEdaData()

◆ InitEntityData()

void ODB_STEP_ENTITY::InitEntityData ( )
overridevirtual

Reimplemented from ODB_ENTITY_BASE.

Definition at line 589 of file odb_entity.cpp.

References InitEdaData(), m_layerEntityMap, and MakeLayerEntity().

◆ InitNetListData()

void ODB_STEP_ENTITY::InitNetListData ( )

◆ InitPackage()

void ODB_STEP_ENTITY::InitPackage ( )

◆ MakeLayerEntity()

Member Data Documentation

◆ m_board

◆ m_edaData

EDA_DATA ODB_STEP_ENTITY::m_edaData
private

Definition at line 170 of file odb_entity.h.

Referenced by GenerateEdaFiles(), and InitEdaData().

◆ m_fileName

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

Definition at line 60 of file odb_entity.h.

◆ m_layerEntityMap

std::map<wxString, std::shared_ptr<ODB_LAYER_ENTITY> > ODB_STEP_ENTITY::m_layerEntityMap
private

Definition at line 167 of file odb_entity.h.

Referenced by GenerateLayerFiles(), InitEdaData(), and InitEntityData().

◆ m_netlist

ODB_NET_LIST ODB_STEP_ENTITY::m_netlist
private

Definition at line 172 of file odb_entity.h.

Referenced by GenerateNetlistsFiles().

◆ m_plugin

◆ m_profile

std::unique_ptr<FEATURES_MANAGER> ODB_STEP_ENTITY::m_profile
private

Definition at line 168 of file odb_entity.h.

Referenced by GenerateProfileFile().

◆ m_stephdr

std::unordered_map<wxString, wxString> ODB_STEP_ENTITY::m_stephdr
private

Definition at line 171 of file odb_entity.h.

Referenced by GenerateStepHeaderFile().


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