| 
    KiCad PCB EDA Suite
    
   | 
 
Class used to provide a unified interface from condition panels Handles determining the type of condition in use, and getting and settings the field data. More...
#include <panel_assign_component_classes.h>
  
Public Member Functions | |
| CONDITION_DATA (const COMPONENT_CLASS_ASSIGNMENT_DATA::CONDITION_TYPE aCondition, wxTextEntry *aPrimary, wxTextEntry *aSecondary=nullptr) | |
| virtual | ~CONDITION_DATA () | 
| virtual COMPONENT_CLASS_ASSIGNMENT_DATA::CONDITION_TYPE | GetConditionType () const | 
| Gets the type of condition (e.g. Reference, Side) this data represents.   | |
| virtual wxString | GetPrimaryField () const | 
| Gets the primary data member for the condition (e.g. Reference, Side)   | |
| virtual void | SetPrimaryField (const wxString &aVal) | 
| Sets the primary data member for the condition (e.g. Reference, Side)   | |
| virtual wxString | GetSecondaryField () const | 
| Gets the primary data member for the condition (e.g. FOOTPRITNT field value)   | |
| virtual void | SetSecondaryField (const wxString &aVal) | 
| Sets the primary data member for the condition (e.g.   | |
Private Attributes | |
| COMPONENT_CLASS_ASSIGNMENT_DATA::CONDITION_TYPE | m_conditionType | 
| The type of condition being referenced.   | |
| wxTextEntry * | m_primaryCtrl | 
| The primary data field in the condition panel.   | |
| wxTextEntry * | m_secondaryCtrl | 
| The Secondary data field in the condition panel.   | |
Class used to provide a unified interface from condition panels Handles determining the type of condition in use, and getting and settings the field data.
Definition at line 133 of file panel_assign_component_classes.h.
      
  | 
  inline | 
Definition at line 136 of file panel_assign_component_classes.h.
References m_conditionType, m_primaryCtrl, and m_secondaryCtrl.
Referenced by PANEL_COMPONENT_CLASS_CONDITION_CUSTOM::PANEL_COMPONENT_CLASS_CONDITION_CUSTOM(), PANEL_COMPONENT_CLASS_CONDITION_FIELD::PANEL_COMPONENT_CLASS_CONDITION_FIELD(), PANEL_COMPONENT_CLASS_CONDITION_FOOTPRINT::PANEL_COMPONENT_CLASS_CONDITION_FOOTPRINT(), PANEL_COMPONENT_CLASS_CONDITION_REFERENCE::PANEL_COMPONENT_CLASS_CONDITION_REFERENCE(), PANEL_COMPONENT_CLASS_CONDITION_ROTATION::PANEL_COMPONENT_CLASS_CONDITION_ROTATION(), PANEL_COMPONENT_CLASS_CONDITION_SHEET::PANEL_COMPONENT_CLASS_CONDITION_SHEET(), and PANEL_COMPONENT_CLASS_CONDITION_SIDE::PANEL_COMPONENT_CLASS_CONDITION_SIDE().
      
  | 
  inlinevirtual | 
Definition at line 142 of file panel_assign_component_classes.h.
      
  | 
  inlinevirtual | 
Gets the type of condition (e.g. Reference, Side) this data represents.
Definition at line 145 of file panel_assign_component_classes.h.
References m_conditionType.
      
  | 
  virtual | 
Gets the primary data member for the condition (e.g. Reference, Side)
Definition at line 272 of file panel_assign_component_classes.cpp.
References COMPONENT_CLASS_ASSIGNMENT_DATA::CUSTOM, m_conditionType, and m_primaryCtrl.
      
  | 
  virtual | 
Gets the primary data member for the condition (e.g. FOOTPRITNT field value)
Definition at line 294 of file panel_assign_component_classes.cpp.
References COMPONENT_CLASS_ASSIGNMENT_DATA::CUSTOM, m_conditionType, and m_secondaryCtrl.
      
  | 
  virtual | 
Sets the primary data member for the condition (e.g. Reference, Side)
Definition at line 288 of file panel_assign_component_classes.cpp.
References m_primaryCtrl.
Referenced by PANEL_ASSIGN_COMPONENT_CLASSES::TransferDataToWindow().
      
  | 
  virtual | 
Sets the primary data member for the condition (e.g.
FOOTPRITNT field value)
Definition at line 313 of file panel_assign_component_classes.cpp.
References m_secondaryCtrl.
Referenced by PANEL_ASSIGN_COMPONENT_CLASSES::TransferDataToWindow().
      
  | 
  private | 
The type of condition being referenced.
Definition at line 165 of file panel_assign_component_classes.h.
Referenced by CONDITION_DATA(), GetConditionType(), GetPrimaryField(), and GetSecondaryField().
      
  | 
  private | 
The primary data field in the condition panel.
Definition at line 168 of file panel_assign_component_classes.h.
Referenced by CONDITION_DATA(), GetPrimaryField(), and SetPrimaryField().
      
  | 
  private | 
The Secondary data field in the condition panel.
Definition at line 171 of file panel_assign_component_classes.h.
Referenced by CONDITION_DATA(), GetSecondaryField(), and SetSecondaryField().