PICSimLab - Programmable IC Simulator Laboratory 0.9.2
PICSimLab - API
Loading...
Searching...
No Matches
CPWindow1 Class Reference

CPWindow1 class. More...

#include <picsimlab1.h>

Inheritance diagram for CPWindow1:
Collaboration diagram for CPWindow1:

Public Member Functions

void _EvOnCreate (CControl *control)
 
void _EvOnDestroy (CControl *control)
 
void _EvOnShow (CControl *control)
 
void _EvOnDropFile (CControl *control, const std::string fname)
 
void timer1_EvOnTime (CControl *control)
 
void timer2_EvOnTime (CControl *control)
 
void filedialog1_EvOnClose (const int retId)
 
void draw1_EvMouseMove (CControl *control, const unsigned int button, const unsigned int x, const unsigned int y, const unsigned int state)
 
void draw1_EvMouseButtonPress (CControl *control, const unsigned int button, const unsigned int x, const unsigned int y, const unsigned int state)
 
void draw1_EvMouseButtonRelease (CControl *control, const unsigned int button, const unsigned int x, const unsigned int y, const unsigned int state)
 
void draw1_EvKeyboardPress (CControl *control, const unsigned int key, const unsigned int hkey, const unsigned int mask)
 
void draw1_EvKeyboardRelease (CControl *control, const unsigned int key, const unsigned int hkey, const unsigned int mask)
 
void combo1_EvOnComboChange (CControl *control)
 
void menu1_File_LoadHex_EvMenuActive (CControl *control)
 
void menu1_File_ReloadLast_EvMenuActive (CControl *control)
 
void menu1_File_SaveHex_EvMenuActive (CControl *control)
 
void menu1_File_Configure_EvMenuActive (CControl *control)
 
void menu1_File_SaveWorkspace_EvMenuActive (CControl *control)
 
void menu1_File_LoadWorkspace_EvMenuActive (CControl *control)
 
void menu1_File_LoadBoardDemo_EvMenuActive (CControl *control)
 
void menu1_File_Exit_EvMenuActive (CControl *control)
 
void menu1_Modules_Oscilloscope_EvMenuActive (CControl *control)
 
void menu1_Modules_Spareparts_EvMenuActive (CControl *control)
 
void menu1_Tools_SerialTerm_EvMenuActive (CControl *control)
 
void menu1_Tools_SerialRemoteTank_EvMenuActive (CControl *control)
 
void menu1_Tools_Esp8266ModemSimulator_EvMenuActive (CControl *control)
 
void menu1_Tools_ArduinoBootloader_EvMenuActive (CControl *control)
 
void menu1_Tools_MPLABXDebuggerPlugin_EvMenuActive (CControl *control)
 
void menu1_Tools_PinViewer_EvMenuActive (CControl *control)
 
void menu1_Help_Contents_EvMenuActive (CControl *control)
 
void menu1_Help_Examples_EvMenuActive (CControl *control)
 
void menu1_Help_Board_EvMenuActive (CControl *control)
 
void menu1_Help_About_Board_EvMenuActive (CControl *control)
 
void menu1_Help_About_PICSimLab_EvMenuActive (CControl *control)
 
void togglebutton1_EvOnToggleButton (CControl *control)
 
void filedialog2_EvOnClose (const int retId)
 
void board_Event (CControl *control)
 
void board_ButtonEvent (CControl *control, unsigned int button, unsigned int x, unsigned int y, unsigned int state)
 
void thread1_EvThreadRun (CControl *control)
 
void thread2_EvThreadRun (CControl *control)
 
void thread3_EvThreadRun (CControl *control)
 
void menu1_EvBoard (CControl *control)
 
void menu1_EvMicrocontroller (CControl *control)
 
void DrawBoard (void)
 
void Configure (void)
 
int GetNeedClkUpdate (void)
 
void SetNeedClkUpdate (const int ncu)
 
int WinCmd (CControl *ctrl, const PICSimLabWindowAction action, const char *Value, void *ReturnBuff)
 

Static Public Member Functions

static void OnUpdateStatus (const int field, const std::string msg)
 
static void OnConfigure (void)
 
static void OnClockSet (const float clk, const int update)
 
static void OnReadPreferences (const char *name, const char *value, const int create)
 
static void OnSavePrefs (void)
 
static void OnLoadHexFile (const std::string fname)
 
static void OnOpenLoadHexFileDialog (void)
 
static void OnEndSimulation (void)
 
static void * OnUpdateGUI (const int id, const PICSimlabGUIType type, const PICSimlabGUIAction action, const void *arg)
 
static void OnConfigMenuGUI (const PICSimlabGUIMenu type)
 
static int OnCanvasCmd (const CanvasCmd_t cmd)
 
static int OnWindowCmd (const int id, const char *ControlName, const PICSimLabWindowAction action, const char *Value, void *ReturnBuff)
 
static int OnSystemCmd (const PICSimLabSystemCmd cmd, const char *Arg, void *ReturnBuff)
 

Public Attributes

CTimer timer1
 
CTimer timer2
 
CFileDialog filedialog1
 
CDraw draw1
 
CCombo combo1
 
CLabel label1
 
CLabel label2
 
CMenu menu1
 
CPMenu menu1_File
 
CPMenu menu1_Board
 
CPMenu menu1_Microcontroller
 
CPMenu menu1_Modules
 
CPMenu menu1_Tools
 
CPMenu menu1_Help
 
CItemMenu menu1_File_LoadHex
 
CItemMenu menu1_File_ReloadLast
 
CItemMenu menu1_File_SaveHex
 
CItemMenu menu1_File_Configure
 
CItemMenu menu1_File_SaveWorkspace
 
CItemMenu menu1_File_LoadWorkspace
 
CItemMenu menu1_File_LoadBoardDemo
 
CItemMenu menu1_File_Exit
 
CItemMenu menu1_Modules_Oscilloscope
 
CItemMenu menu1_Modules_Spareparts
 
CItemMenu menu1_Tools_SerialTerm
 
CItemMenu menu1_Tools_SerialRemoteTank
 
CItemMenu menu1_Tools_Esp8266ModemSimulator
 
CItemMenu menu1_Tools_ArduinoBootloader
 
CItemMenu menu1_Tools_MPLABXDebuggerPlugin
 
CItemMenu menu1_Tools_PinViewer
 
CItemMenu menu1_Help_Contents
 
CItemMenu menu1_Help_Board
 
CItemMenu menu1_Help_Examples
 
CItemMenu menu1_Help_About_Board
 
CItemMenu menu1_Help_About_PICSimLab
 
CStatusbar statusbar1
 
CToggleButton togglebutton1
 
CFileDialog filedialog2
 
lxBitmap * Bitmaps [BITMAPS_MAX]
 
CPWindow * Windows [BOARDS_MAX]
 
lxMutex * Mutexs [MUTEX_MAX]
 
lxaudio * AudioChannels [MAX_AUDIO]
 

Private Attributes

CItemMenu MBoard [BOARDS_MAX]
 
CItemMenu MMicro [MAX_MIC]
 
int pa
 
float over
 
int crt
 
int zerocount
 
int need_clkupdate
 
CThread thread1
 
CThread thread2
 
CThread thread3
 
std::mutex cpu_mutex
 
std::condition_variable cpu_cond
 

Detailed Description

CPWindow1 class.

class definition of PICSimLab main window (Board).


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