Go to the documentation of this file.
59 #include <wx/listctrl.h>
77 valueList_->InsertColumn(0, _T(
"Register"), wxLIST_FORMAT_LEFT, 100);
78 valueList_->InsertColumn(1, _T(
"Value"), wxLIST_FORMAT_RIGHT, 120);
109 for (
int i = 0; i < rfNavigator.
count(); i++) {
116 for (
int i = 0; i < immNavigator.
count(); i++) {
144 if (rfIndex < rfNavigator.
count()) {
150 rfIndex = rfIndex - rfNavigator.
count();
LongImmediateUnitState & longImmediateUnitState(const std::string &name)
void loadImmediateUnit(const TTAMachine::ImmediateUnit &iu)
static wxString toWxString(const std::string &source)
std::string toString() const
virtual TCEString name() const
const TTAMachine::Machine & machine() const
wxChoice * modeChoice_
Value display mode choicer widget.
bool isSimulationStopped() const
virtual ~ProximRegisterWindow()
ProximRegisterWindow(ProximMainFrame *parent, int id)
static const wxString MODE_UNSIGNED
String for the mode choicer unsigned integer mode.
wxChoice * unitChoice_
Unit choicer widget.
void showImmediateUnit(const std::string &name)
virtual const SimValue & value() const
virtual ImmediateUnitNavigator immediateUnitNavigator() const
wxListCtrl * valueList_
List widget for the values.
static const wxString MODE_INT
String for the mode choicer integer mode.
virtual void reinitialize()
static const std::string RF_PREFIX
Prefix for register files in the unit choicer.
SimulatorFrontend * simulator_
Simulator instance .
static std::string toHexString(T source, std::size_t digits=0, bool include0x=true)
void showRegisterFile(const std::string &name)
unsigned int unsignedValue() const
void loadRegisterFile(const TTAMachine::RegisterFile &rf)
virtual RegisterFileNavigator registerFileNavigator() const
virtual std::size_t registerCount() const
virtual RegisterState & registerState(int index)
MachineState & machineState(int core=-1)
static std::string toBinString(int source)
static const wxString MODE_HEX
String for the mode choicer hexadecimal mode.
ComponentType * item(int index) const
static const std::string IMM_PREFIX
Prefix for immediate units in the unit choicer.
bool hasSimulationEnded() const
static const wxString MODE_BIN
String for the mode choicer binary mode.
bool isSimulationInitialized() const
RegisterFileState & registerFileState(const std::string &name)