Go to the documentation of this file.
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 wxString toWxString(const std::string &source)
virtual TCEString name() const
PortState & portState(const std::string &portName, const std::string &fuName)
const TTAMachine::Machine & machine() const
wxChoice * modeChoice_
Value display mode choicer widget.
virtual ~ProximPortWindow()
bool isSimulationStopped() const
virtual BaseFUPort * port(const std::string &name) const
virtual void reinitialize()
static const wxString MODE_UNSIGNED
String for the mode choicer unsigned integer mode.
wxChoice * unitChoice_
Unit choicer widget.
virtual const SimValue & value() const
virtual ControlUnit * controlUnit() const
ProximPortWindow(ProximMainFrame *parent, int id)
wxListCtrl * valueList_
List widget for the values.
static const wxString MODE_INT
String for the mode choicer integer mode.
virtual FunctionUnitNavigator functionUnitNavigator() const
SimulatorFrontend * simulator_
Simulator instance .
virtual int portCount() const
static std::string toHexString(T source, std::size_t digits=0, bool include0x=true)
unsigned int unsignedValue() const
MachineState & machineState(int core=-1)
virtual std::string name() const
static std::string toBinString(int source)
void showFunctionUnit(const std::string &name)
static const wxString MODE_HEX
String for the mode choicer hexadecimal mode.
ComponentType * item(int index) const
bool hasSimulationEnded() const
static const wxString MODE_BIN
String for the mode choicer binary mode.
bool isSimulationInitialized() const