KiCad PCB EDA Suite
|
#include <wx/arrstr.h>
#include <vector>
Go to the source code of this file.
Macros | |
#define | ELECTRICAL_PINTYPES_TOTAL ( static_cast<int>( ELECTRICAL_PINTYPE::PT_LAST_OPTION ) + 1 ) |
#define | GRAPHIC_PINSHAPES_TOTAL ( static_cast<int>( GRAPHIC_PINSHAPE::LAST_OPTION ) + 1 ) |
Enumerations | |
enum class | ELECTRICAL_PINTYPE { PT_INPUT , PT_OUTPUT , PT_BIDI , PT_TRISTATE , PT_PASSIVE , PT_NIC , PT_UNSPECIFIED , PT_POWER_IN , PT_POWER_OUT , PT_OPENCOLLECTOR , PT_OPENEMITTER , PT_NC , PT_LAST_OPTION = PT_NC , PT_INHERIT } |
The symbol library pin object electrical types used in ERC tests. More... | |
enum class | GRAPHIC_PINSHAPE { LINE , INVERTED , CLOCK , INVERTED_CLOCK , INPUT_LOW , CLOCK_LOW , OUTPUT_LOW , FALLING_EDGE_CLOCK , NONLOGIC , LAST_OPTION = NONLOGIC , INHERIT } |
enum class | PIN_ORIENTATION { PIN_RIGHT , PIN_LEFT , PIN_UP , PIN_DOWN , INHERIT } |
The symbol library pin object orientations. More... | |
Functions | |
wxString | PinShapeGetText (GRAPHIC_PINSHAPE shape) |
BITMAPS | PinShapeGetBitmap (GRAPHIC_PINSHAPE shape) |
wxString | ElectricalPinTypeGetText (ELECTRICAL_PINTYPE) |
BITMAPS | ElectricalPinTypeGetBitmap (ELECTRICAL_PINTYPE) |
wxString | PinOrientationName (PIN_ORIENTATION aOrientation) |
BITMAPS | PinOrientationGetBitmap (PIN_ORIENTATION aOrientation) |
PIN_ORIENTATION | PinOrientationCode (size_t index) |
int | PinOrientationIndex (PIN_ORIENTATION code) |
const wxArrayString & | PinTypeNames () |
const std::vector< BITMAPS > & | PinTypeIcons () |
const wxArrayString & | PinShapeNames () |
const std::vector< BITMAPS > & | PinShapeIcons () |
const wxArrayString & | PinOrientationNames () |
const std::vector< BITMAPS > & | PinOrientationIcons () |
#define ELECTRICAL_PINTYPES_TOTAL ( static_cast<int>( ELECTRICAL_PINTYPE::PT_LAST_OPTION ) + 1 ) |
Definition at line 54 of file pin_type.h.
#define GRAPHIC_PINSHAPES_TOTAL ( static_cast<int>( GRAPHIC_PINSHAPE::LAST_OPTION ) + 1 ) |
Definition at line 72 of file pin_type.h.
|
strong |
The symbol library pin object electrical types used in ERC tests.
Definition at line 35 of file pin_type.h.
|
strong |
Enumerator | |
---|---|
LINE | |
INVERTED | |
CLOCK | |
INVERTED_CLOCK | |
INPUT_LOW | |
CLOCK_LOW | |
OUTPUT_LOW | |
FALLING_EDGE_CLOCK | |
NONLOGIC | |
LAST_OPTION | this is the sentinel value, must be set to last enum value |
INHERIT |
Definition at line 56 of file pin_type.h.
|
strong |
The symbol library pin object orientations.
Definition at line 77 of file pin_type.h.
BITMAPS ElectricalPinTypeGetBitmap | ( | ELECTRICAL_PINTYPE | aType | ) |
Definition at line 220 of file pin_type.cpp.
References g_pinElectricalTypes, InitTables(), and INVALID_BITMAP.
Referenced by SCH_PIN::GetMenuImage(), InitTables(), and PinTypeComboBox::PinTypeComboBox().
wxString ElectricalPinTypeGetText | ( | ELECTRICAL_PINTYPE | aType | ) |
Definition at line 207 of file pin_type.cpp.
References g_language, g_pinElectricalTypes, InitTables(), and Pgm().
Referenced by SCH_PIN::GetElectricalTypeName(), SCH_PIN::getItemDescription(), SCH_PIN::GetMsgPanelInfo(), InitTables(), SCH_PIN::operator<<(), PinTypeComboBox::PinTypeComboBox(), and ERC_TESTER::TestPinToPin().
PIN_ORIENTATION PinOrientationCode | ( | size_t | index | ) |
Definition at line 63 of file pin_type.cpp.
Referenced by DIALOG_PIN_PROPERTIES::OnPropertiesChange(), PIN_TABLE_DATA_MODEL::SetValue(), and DIALOG_PIN_PROPERTIES::TransferDataFromWindow().
BITMAPS PinOrientationGetBitmap | ( | PIN_ORIENTATION | aOrientation | ) |
Definition at line 272 of file pin_type.cpp.
References g_pinOrientations, InitTables(), and INVALID_BITMAP.
Referenced by InitTables().
const std::vector< BITMAPS > & PinOrientationIcons | ( | ) |
Definition at line 198 of file pin_type.cpp.
References g_orientationIcons, and InitTables().
Referenced by DIALOG_LIB_EDIT_PIN_TABLE::DIALOG_LIB_EDIT_PIN_TABLE(), and DIALOG_PIN_PROPERTIES::DIALOG_PIN_PROPERTIES().
int PinOrientationIndex | ( | PIN_ORIENTATION | code | ) |
Definition at line 70 of file pin_type.cpp.
Referenced by PIN_TABLE_DATA_MODEL::GetValue(), and DIALOG_PIN_PROPERTIES::TransferDataToWindow().
wxString PinOrientationName | ( | PIN_ORIENTATION | aOrientation | ) |
Definition at line 259 of file pin_type.cpp.
References g_language, g_pinOrientations, InitTables(), and Pgm().
Referenced by SCH_PIN::GetMsgPanelInfo(), InitTables(), and SCH_PIN::operator<<().
const wxArrayString & PinOrientationNames | ( | ) |
Definition at line 189 of file pin_type.cpp.
References g_language, g_orientationNames, InitTables(), and Pgm().
Referenced by DIALOG_LIB_EDIT_PIN_TABLE::DIALOG_LIB_EDIT_PIN_TABLE(), DIALOG_PIN_PROPERTIES::DIALOG_PIN_PROPERTIES(), PIN_TABLE_DATA_MODEL::GetValue(), and PIN_TABLE_DATA_MODEL::SetValue().
BITMAPS PinShapeGetBitmap | ( | GRAPHIC_PINSHAPE | shape | ) |
Definition at line 246 of file pin_type.cpp.
References g_pinShapes, InitTables(), and INVALID_BITMAP.
Referenced by InitTables(), PinShapeComboBox::PinShapeComboBox(), and DIALOG_SIM_MODEL< T >::updatePinAssignments().
wxString PinShapeGetText | ( | GRAPHIC_PINSHAPE | shape | ) |
Definition at line 233 of file pin_type.cpp.
References g_language, g_pinShapes, InitTables(), and Pgm().
Referenced by SCH_PIN::getItemDescription(), SCH_PIN::GetMsgPanelInfo(), InitTables(), SCH_PIN::operator<<(), and PinShapeComboBox::PinShapeComboBox().
const std::vector< BITMAPS > & PinShapeIcons | ( | ) |
Definition at line 180 of file pin_type.cpp.
References g_shapeIcons, and InitTables().
Referenced by SCH_PIN_TABLE_DATA_MODEL::BuildAttrs(), DIALOG_LIB_EDIT_PIN_TABLE::DIALOG_LIB_EDIT_PIN_TABLE(), and DIALOG_PIN_PROPERTIES::DIALOG_PIN_PROPERTIES().
const wxArrayString & PinShapeNames | ( | ) |
Definition at line 171 of file pin_type.cpp.
References g_language, g_shapeNames, InitTables(), and Pgm().
Referenced by SCH_PIN_TABLE_DATA_MODEL::BuildAttrs(), DIALOG_LIB_EDIT_PIN_TABLE::DIALOG_LIB_EDIT_PIN_TABLE(), DIALOG_PIN_PROPERTIES::DIALOG_PIN_PROPERTIES(), SCH_PIN_TABLE_DATA_MODEL::GetValue(), PIN_TABLE_DATA_MODEL::GetValue(), ALT_PIN_DATA_MODEL::GetValue(), PIN_TABLE_DATA_MODEL::SetValue(), and ALT_PIN_DATA_MODEL::SetValue().
const std::vector< BITMAPS > & PinTypeIcons | ( | ) |
Definition at line 162 of file pin_type.cpp.
References g_typeIcons, and InitTables().
Referenced by SCH_PIN_TABLE_DATA_MODEL::BuildAttrs(), DIALOG_LIB_EDIT_PIN_TABLE::DIALOG_LIB_EDIT_PIN_TABLE(), and DIALOG_PIN_PROPERTIES::DIALOG_PIN_PROPERTIES().
const wxArrayString & PinTypeNames | ( | ) |
Definition at line 153 of file pin_type.cpp.
References g_language, g_typeNames, InitTables(), and Pgm().
Referenced by SCH_PIN_TABLE_DATA_MODEL::BuildAttrs(), DIALOG_LIB_EDIT_PIN_TABLE::DIALOG_LIB_EDIT_PIN_TABLE(), DIALOG_PIN_PROPERTIES::DIALOG_PIN_PROPERTIES(), SCH_PIN_TABLE_DATA_MODEL::GetValue(), PIN_TABLE_DATA_MODEL::GetValue(), ALT_PIN_DATA_MODEL::GetValue(), PIN_TABLE_DATA_MODEL::SetValue(), and ALT_PIN_DATA_MODEL::SetValue().