KiCad PCB EDA Suite
PCB_LAYER_ID_CLIENT_DATA Class Reference

A helper wxWidgets control client data object to store layer IDs. More...

Inheritance diagram for PCB_LAYER_ID_CLIENT_DATA:

Public Member Functions

 PCB_LAYER_ID_CLIENT_DATA ()
 
 PCB_LAYER_ID_CLIENT_DATA (PCB_LAYER_ID aId)
 
void SetData (PCB_LAYER_ID aId)
 
PCB_LAYER_ID GetData () const
 

Private Attributes

PCB_LAYER_ID m_id
 

Detailed Description

A helper wxWidgets control client data object to store layer IDs.

Definition at line 63 of file dialog_plot.cpp.

Constructor & Destructor Documentation

◆ PCB_LAYER_ID_CLIENT_DATA() [1/2]

PCB_LAYER_ID_CLIENT_DATA::PCB_LAYER_ID_CLIENT_DATA ( )
inline

Definition at line 66 of file dialog_plot.cpp.

66: m_id( UNDEFINED_LAYER ) { }
@ UNDEFINED_LAYER
Definition: layer_ids.h:60

◆ PCB_LAYER_ID_CLIENT_DATA() [2/2]

PCB_LAYER_ID_CLIENT_DATA::PCB_LAYER_ID_CLIENT_DATA ( PCB_LAYER_ID  aId)
inline

Definition at line 67 of file dialog_plot.cpp.

67: m_id( aId ) { }

Member Function Documentation

◆ GetData()

PCB_LAYER_ID PCB_LAYER_ID_CLIENT_DATA::GetData ( ) const
inline

Definition at line 71 of file dialog_plot.cpp.

71{ return m_id; }

References m_id.

Referenced by DIALOG_PLOT::applyPlotSettings(), and DIALOG_PLOT::Plot().

◆ SetData()

void PCB_LAYER_ID_CLIENT_DATA::SetData ( PCB_LAYER_ID  aId)
inline

Definition at line 69 of file dialog_plot.cpp.

69{ m_id = aId; }

References m_id.

Member Data Documentation

◆ m_id

PCB_LAYER_ID PCB_LAYER_ID_CLIENT_DATA::m_id
private

Definition at line 74 of file dialog_plot.cpp.

Referenced by GetData(), and SetData().


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