KiCad PCB EDA Suite
Loading...
Searching...
No Matches
simulator_frame_ui.cpp File Reference
#include <memory>
#include <fmt/format.h>
#include <wx/wfstream.h>
#include <wx/stdstream.h>
#include <wx/debug.h>
#include <wx/clipbrd.h>
#include <wx/log.h>
#include <project/project_file.h>
#include <sch_edit_frame.h>
#include <confirm.h>
#include <wildcards_and_files_ext.h>
#include <widgets/tuner_slider.h>
#include <widgets/grid_color_swatch_helpers.h>
#include <widgets/wx_grid.h>
#include <grid_tricks.h>
#include <eda_pattern_match.h>
#include <string_utils.h>
#include <pgm_base.h>
#include <sim/simulator_frame_ui.h>
#include <sim/simulator_frame.h>
#include <sim/sim_plot_tab.h>
#include <sim/spice_simulator.h>
#include <dialogs/dialog_text_entry.h>
#include <dialogs/dialog_sim_format_value.h>
#include <eeschema_settings.h>
#include "kiplatform/app.h"

Go to the source code of this file.

Classes

class  SIGNALS_GRID_TRICKS
 
class  CURSORS_GRID_TRICKS
 
class  MEASUREMENTS_GRID_TRICKS
 
class  SUPPRESS_GRID_CELL_EVENTS
 

Macros

#define ID_SIM_REFRESH   10207
 
#define REFRESH_INTERVAL   50
 

Enumerations

enum  SIGNALS_GRID_COLUMNS {
  COL_SIGNAL_NAME = 0 , COL_SIGNAL_SHOW , COL_SIGNAL_COLOR , COL_CURSOR_1 ,
  COL_CURSOR_2
}
 
enum  CURSORS_GRID_COLUMNS { COL_CURSOR_NAME = 0 , COL_CURSOR_SIGNAL , COL_CURSOR_X , COL_CURSOR_Y }
 
enum  MEASUREMENTS_GIRD_COLUMNS { COL_MEASUREMENT = 0 , COL_MEASUREMENT_VALUE , COL_MEASUREMENT_FORMAT }
 
enum  {
  MYID_MEASURE_MIN = GRIDTRICKS_FIRST_CLIENT_ID , MYID_MEASURE_MAX , MYID_MEASURE_AVG , MYID_MEASURE_RMS ,
  MYID_MEASURE_PP , MYID_MEASURE_MIN_AT , MYID_MEASURE_MAX_AT , MYID_MEASURE_INTEGRAL ,
  MYID_FOURIER , MYID_FORMAT_VALUE , MYID_DELETE_MEASUREMENT
}
 

Functions

SIM_TRACE_TYPE operator| (SIM_TRACE_TYPE aFirst, SIM_TRACE_TYPE aSecond)
 
void sortSignals (std::vector< wxString > &signals)
 
wxString vectorNameFromSignalId (int aUserDefinedSignalId)
 

Macro Definition Documentation

◆ ID_SIM_REFRESH

#define ID_SIM_REFRESH   10207

Definition at line 506 of file simulator_frame_ui.cpp.

◆ REFRESH_INTERVAL

#define REFRESH_INTERVAL   50

Definition at line 507 of file simulator_frame_ui.cpp.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
MYID_MEASURE_MIN 
MYID_MEASURE_MAX 
MYID_MEASURE_AVG 
MYID_MEASURE_RMS 
MYID_MEASURE_PP 
MYID_MEASURE_MIN_AT 
MYID_MEASURE_MAX_AT 
MYID_MEASURE_INTEGRAL 
MYID_FOURIER 
MYID_FORMAT_VALUE 
MYID_DELETE_MEASUREMENT 

Definition at line 92 of file simulator_frame_ui.cpp.

◆ CURSORS_GRID_COLUMNS

Enumerator
COL_CURSOR_NAME 
COL_CURSOR_SIGNAL 
COL_CURSOR_X 
COL_CURSOR_Y 

Definition at line 75 of file simulator_frame_ui.cpp.

◆ MEASUREMENTS_GIRD_COLUMNS

Enumerator
COL_MEASUREMENT 
COL_MEASUREMENT_VALUE 
COL_MEASUREMENT_FORMAT 

Definition at line 84 of file simulator_frame_ui.cpp.

◆ SIGNALS_GRID_COLUMNS

Enumerator
COL_SIGNAL_NAME 
COL_SIGNAL_SHOW 
COL_SIGNAL_COLOR 
COL_CURSOR_1 
COL_CURSOR_2 

Definition at line 65 of file simulator_frame_ui.cpp.

Function Documentation

◆ operator|()

SIM_TRACE_TYPE operator| ( SIM_TRACE_TYPE  aFirst,
SIM_TRACE_TYPE  aSecond 
)

Definition at line 57 of file simulator_frame_ui.cpp.

References res.

◆ sortSignals()

void sortSignals ( std::vector< wxString > &  signals)

◆ vectorNameFromSignalId()

wxString vectorNameFromSignalId ( int  aUserDefinedSignalId)