KiCad PCB EDA Suite
WIDGET_SAVE_RESTORE::WIDGET_CTRL_T Struct Reference

Struct that represents a single bound control. More...

Public Member Functions

template<typename CTRL_T , typename DEST_T >
 WIDGET_CTRL_T (WIDGET_CTRL_TYPE_T aType, CTRL_T &aCtrl, DEST_T &aDest)
 

Public Attributes

WIDGET_CTRL_TYPE_T m_type
 
CONTROL m_control
 
DATA m_dest
 

Detailed Description

Struct that represents a single bound control.

Definition at line 188 of file widget_save_restore.h.

Constructor & Destructor Documentation

◆ WIDGET_CTRL_T()

template<typename CTRL_T , typename DEST_T >
WIDGET_SAVE_RESTORE::WIDGET_CTRL_T::WIDGET_CTRL_T ( WIDGET_CTRL_TYPE_T  aType,
CTRL_T &  aCtrl,
DEST_T &  aDest 
)
inline

Definition at line 191 of file widget_save_restore.h.

191  :
192  m_type( aType ),
193  m_control( &aCtrl ),
194  m_dest( &aDest )
195  {
196  }

Member Data Documentation

◆ m_control

CONTROL WIDGET_SAVE_RESTORE::WIDGET_CTRL_T::m_control

Definition at line 199 of file widget_save_restore.h.

◆ m_dest

DATA WIDGET_SAVE_RESTORE::WIDGET_CTRL_T::m_dest

Definition at line 200 of file widget_save_restore.h.

◆ m_type

WIDGET_CTRL_TYPE_T WIDGET_SAVE_RESTORE::WIDGET_CTRL_T::m_type

Definition at line 198 of file widget_save_restore.h.


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