53#include <wx/listctrl.h>
68 valueList_->InsertColumn(0, _T(
"Port"), wxLIST_FORMAT_LEFT, 100);
69 valueList_->InsertColumn(1, _T(
"Value"), wxLIST_FORMAT_RIGHT, 120);
101 for (
int i = 0; i < navigator.
count(); i++) {
102 string fuName = navigator.
item(i)->name();
141 fu = navigator.
item(fuIndex - 1);
145 for (
int i = 0; i < fu->
portCount(); i++) {
147 string portName = fu->
port(i)->
name();
static std::string toBinString(int source)
static std::string toHexString(T source, std::size_t digits=0, bool include0x=true)
PortState & portState(const std::string &portName, const std::string &fuName)
ProximPortWindow(ProximMainFrame *parent, int id)
void showFunctionUnit(const std::string &name)
virtual ~ProximPortWindow()
virtual void reinitialize()
static const wxString MODE_HEX
String for the mode choicer hexadecimal mode.
static const wxString MODE_INT
String for the mode choicer integer mode.
static const wxString MODE_BIN
String for the mode choicer binary mode.
wxListCtrl * valueList_
List widget for the values.
static const wxString MODE_UNSIGNED
String for the mode choicer unsigned integer mode.
wxChoice * modeChoice_
Value display mode choicer widget.
wxChoice * unitChoice_
Unit choicer widget.
SimulatorFrontend * simulator_
Simulator instance .
virtual const SimValue & value() const
unsigned int unsignedValue() const
bool hasSimulationEnded() const
const TTAMachine::Machine & machine() const
bool isSimulationInitialized() const
MachineState & machineState(int core=-1)
bool isSimulationStopped() const
virtual TCEString name() const
virtual BaseFUPort * port(const std::string &name) const
ComponentType * item(int index) const
virtual FunctionUnitNavigator functionUnitNavigator() const
virtual ControlUnit * controlUnit() const
virtual std::string name() const
virtual int portCount() const
static wxString toWxString(const std::string &source)