OpenASIP  2.0
Classes | Macros
SimulatorEvent.hh File Reference
#include <string>
#include <wx/wx.h>
Include dependency graph for SimulatorEvent.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  SimulatorEvent
 

Macros

#define EVT_SIMULATOR_TERMINATED(id, fn)
 
#define EVT_SIMULATOR_START(id, fn)
 
#define EVT_SIMULATOR_STOP(id, fn)
 
#define EVT_SIMULATOR_OUTPUT(id, fn)
 
#define EVT_SIMULATOR_COMMAND(id, fn)
 
#define EVT_SIMULATOR_COMMAND_DONE(id, fn)
 
#define EVT_SIMULATOR_ERROR(id, fn)
 
#define EVT_SIMULATOR_MACHINE_LOADED(id, fn)
 
#define EVT_SIMULATOR_LOADING_PROGRAM(id, fn)
 
#define EVT_SIMULATOR_PROGRAM_LOADED(id, fn)
 
#define EVT_SIMULATOR_LOADING_MACHINE(id, fn)
 
#define EVT_SIMULATOR_MACHINE_LOADED(id, fn)
 
#define EVT_SIMULATOR_RUNTIME_ERROR(id, fn)
 
#define EVT_SIMULATOR_RUNTIME_WARNING(id, fn)
 
#define EVT_SIMULATOR_RUN(id, fn)
 
#define EVT_SIMULATOR_RESET(id, fn)
 

Detailed Description

Declaration of SimulatorEvent class.

Author
Veli-Pekka Jääskeläinen 2005 (vjaaskel-no.spam-cs.tut.fi)
Note
rating: red

Definition in file SimulatorEvent.hh.

Macro Definition Documentation

◆ EVT_SIMULATOR_COMMAND

#define EVT_SIMULATOR_COMMAND (   id,
  fn 
)
Value:
DECLARE_EVENT_TABLE_ENTRY(SimulatorEvent::EVT_SIMULATOR_COMMAND, id, -1, \
(wxObjectEventFunction)(wxEventFunction)(wxCommandEventFunction)&fn, \
(wxObject*)NULL ),

Definition at line 120 of file SimulatorEvent.hh.

◆ EVT_SIMULATOR_COMMAND_DONE

#define EVT_SIMULATOR_COMMAND_DONE (   id,
  fn 
)
Value:
DECLARE_EVENT_TABLE_ENTRY(SimulatorEvent::EVT_SIMULATOR_COMMAND_DONE, \
id, -1, \
(wxObjectEventFunction)(wxEventFunction)(wxCommandEventFunction)&fn, \
(wxObject*)NULL ),

Definition at line 127 of file SimulatorEvent.hh.

◆ EVT_SIMULATOR_ERROR

#define EVT_SIMULATOR_ERROR (   id,
  fn 
)
Value:
DECLARE_EVENT_TABLE_ENTRY(SimulatorEvent::EVT_SIMULATOR_ERROR, id, -1, \
(wxObjectEventFunction)(wxEventFunction)(wxCommandEventFunction)&fn, \
(wxObject*)NULL ),

Definition at line 134 of file SimulatorEvent.hh.

◆ EVT_SIMULATOR_LOADING_MACHINE

#define EVT_SIMULATOR_LOADING_MACHINE (   id,
  fn 
)
Value:
DECLARE_EVENT_TABLE_ENTRY(SimulatorEvent::EVT_SIMULATOR_LOADING_MACHINE, \
id, -1, \
(wxObjectEventFunction)(wxEventFunction)(wxCommandEventFunction)&fn, \
(wxObject*)NULL ),

Definition at line 157 of file SimulatorEvent.hh.

◆ EVT_SIMULATOR_LOADING_PROGRAM

#define EVT_SIMULATOR_LOADING_PROGRAM (   id,
  fn 
)
Value:
DECLARE_EVENT_TABLE_ENTRY(SimulatorEvent::EVT_SIMULATOR_LOADING_PROGRAM, \
id, -1, \
(wxObjectEventFunction)(wxEventFunction)(wxCommandEventFunction)&fn, \
(wxObject*)NULL ),

Definition at line 145 of file SimulatorEvent.hh.

◆ EVT_SIMULATOR_MACHINE_LOADED [1/2]

#define EVT_SIMULATOR_MACHINE_LOADED (   id,
  fn 
)
Value:
DECLARE_EVENT_TABLE_ENTRY(SimulatorEvent::EVT_SIMULATOR_MACHINE_LOADED, \
id, -1, \
(wxObjectEventFunction)(wxEventFunction)(wxCommandEventFunction)&fn, \
(wxObject*)NULL ),

Definition at line 163 of file SimulatorEvent.hh.

◆ EVT_SIMULATOR_MACHINE_LOADED [2/2]

#define EVT_SIMULATOR_MACHINE_LOADED (   id,
  fn 
)
Value:
DECLARE_EVENT_TABLE_ENTRY(SimulatorEvent::EVT_SIMULATOR_MACHINE_LOADED, \
id, -1, \
(wxObjectEventFunction)(wxEventFunction)(wxCommandEventFunction)&fn, \
(wxObject*)NULL ),

Definition at line 163 of file SimulatorEvent.hh.

◆ EVT_SIMULATOR_OUTPUT

#define EVT_SIMULATOR_OUTPUT (   id,
  fn 
)
Value:
DECLARE_EVENT_TABLE_ENTRY(SimulatorEvent::EVT_SIMULATOR_OUTPUT, id, -1, \
(wxObjectEventFunction)(wxEventFunction)(wxCommandEventFunction)&fn, \
(wxObject*)NULL ),

Definition at line 113 of file SimulatorEvent.hh.

◆ EVT_SIMULATOR_PROGRAM_LOADED

#define EVT_SIMULATOR_PROGRAM_LOADED (   id,
  fn 
)
Value:
DECLARE_EVENT_TABLE_ENTRY(SimulatorEvent::EVT_SIMULATOR_PROGRAM_LOADED, \
id, -1, \
(wxObjectEventFunction)(wxEventFunction)(wxCommandEventFunction)&fn, \
(wxObject*)NULL ),

Definition at line 151 of file SimulatorEvent.hh.

◆ EVT_SIMULATOR_RESET

#define EVT_SIMULATOR_RESET (   id,
  fn 
)
Value:
DECLARE_EVENT_TABLE_ENTRY(\
id, -1, \
(wxObjectEventFunction)(wxEventFunction)(wxCommandEventFunction)&fn, \
(wxObject*)NULL ),

Definition at line 190 of file SimulatorEvent.hh.

◆ EVT_SIMULATOR_RUN

#define EVT_SIMULATOR_RUN (   id,
  fn 
)
Value:
DECLARE_EVENT_TABLE_ENTRY(\
id, -1, \
(wxObjectEventFunction)(wxEventFunction)(wxCommandEventFunction)&fn, \
(wxObject*)NULL ),

Definition at line 183 of file SimulatorEvent.hh.

◆ EVT_SIMULATOR_RUNTIME_ERROR

#define EVT_SIMULATOR_RUNTIME_ERROR (   id,
  fn 
)
Value:
DECLARE_EVENT_TABLE_ENTRY(\
id, -1, \
(wxObjectEventFunction)(wxEventFunction)(wxCommandEventFunction)&fn, \
(wxObject*)NULL ),

Definition at line 169 of file SimulatorEvent.hh.

◆ EVT_SIMULATOR_RUNTIME_WARNING

#define EVT_SIMULATOR_RUNTIME_WARNING (   id,
  fn 
)
Value:
DECLARE_EVENT_TABLE_ENTRY(\
id, -1, \
(wxObjectEventFunction)(wxEventFunction)(wxCommandEventFunction)&fn, \
(wxObject*)NULL ),

Definition at line 176 of file SimulatorEvent.hh.

◆ EVT_SIMULATOR_START

#define EVT_SIMULATOR_START (   id,
  fn 
)
Value:
DECLARE_EVENT_TABLE_ENTRY(SimulatorEvent::EVT_SIMULATOR_START, id, -1, \
(wxObjectEventFunction)(wxEventFunction)(wxCommandEventFunction)&fn, \
(wxObject*)NULL ),

Definition at line 100 of file SimulatorEvent.hh.

◆ EVT_SIMULATOR_STOP

#define EVT_SIMULATOR_STOP (   id,
  fn 
)
Value:
DECLARE_EVENT_TABLE_ENTRY(SimulatorEvent::EVT_SIMULATOR_STOP, id, -1, \
(wxObjectEventFunction)(wxEventFunction)(wxCommandEventFunction)&fn, \
(wxObject*)NULL ),

Definition at line 106 of file SimulatorEvent.hh.

◆ EVT_SIMULATOR_TERMINATED

#define EVT_SIMULATOR_TERMINATED (   id,
  fn 
)
Value:
DECLARE_EVENT_TABLE_ENTRY(SimulatorEvent::EVT_SIMULATOR_TERMINATED, id, -1, \
(wxObjectEventFunction)(wxEventFunction)(wxCommandEventFunction)&fn, \
(wxObject*)NULL ),

Definition at line 94 of file SimulatorEvent.hh.

SimulatorEvent::EVT_SIMULATOR_STOP
static const wxEventType EVT_SIMULATOR_STOP
Simulation stopped.
Definition: SimulatorEvent.hh:71
SimulatorEvent::EVT_SIMULATOR_RUNTIME_WARNING
static const wxEventType EVT_SIMULATOR_RUNTIME_WARNING
Runtime warning event.
Definition: SimulatorEvent.hh:66
SimulatorEvent::EVT_SIMULATOR_OUTPUT
static const wxEventType EVT_SIMULATOR_OUTPUT
Textual output event from simulator interpreter.
Definition: SimulatorEvent.hh:60
SimulatorEvent::EVT_SIMULATOR_LOADING_MACHINE
static const wxEventType EVT_SIMULATOR_LOADING_MACHINE
Machine loading started.
Definition: SimulatorEvent.hh:77
SimulatorEvent::EVT_SIMULATOR_RESET
static const wxEventType EVT_SIMULATOR_RESET
Sent before program,machine or memory model is destroyed.
Definition: SimulatorEvent.hh:85
SimulatorEvent::EVT_SIMULATOR_RUNTIME_ERROR
static const wxEventType EVT_SIMULATOR_RUNTIME_ERROR
Runtime error event.
Definition: SimulatorEvent.hh:64
SimulatorEvent::EVT_SIMULATOR_LOADING_PROGRAM
static const wxEventType EVT_SIMULATOR_LOADING_PROGRAM
Program loading started.
Definition: SimulatorEvent.hh:81
SimulatorEvent::EVT_SIMULATOR_PROGRAM_LOADED
static const wxEventType EVT_SIMULATOR_PROGRAM_LOADED
Program loaded event.
Definition: SimulatorEvent.hh:83
SimulatorEvent::EVT_SIMULATOR_TERMINATED
static const wxEventType EVT_SIMULATOR_TERMINATED
Simulator thread terminated.
Definition: SimulatorEvent.hh:57
SimulatorEvent::EVT_SIMULATOR_ERROR
static const wxEventType EVT_SIMULATOR_ERROR
Simulator error event.
Definition: SimulatorEvent.hh:62
SimulatorEvent::EVT_SIMULATOR_START
static const wxEventType EVT_SIMULATOR_START
Simulation started.
Definition: SimulatorEvent.hh:69
SimulatorEvent::EVT_SIMULATOR_COMMAND
static const wxEventType EVT_SIMULATOR_COMMAND
Command received from the GUI.
Definition: SimulatorEvent.hh:53
SimulatorEvent::EVT_SIMULATOR_RUN
static const wxEventType EVT_SIMULATOR_RUN
Simulation ran/resumed.
Definition: SimulatorEvent.hh:73
SimulatorEvent::EVT_SIMULATOR_MACHINE_LOADED
static const wxEventType EVT_SIMULATOR_MACHINE_LOADED
Machine loaded event.
Definition: SimulatorEvent.hh:79
SimulatorEvent::EVT_SIMULATOR_COMMAND_DONE
static const wxEventType EVT_SIMULATOR_COMMAND_DONE
Command execution completed.
Definition: SimulatorEvent.hh:55