simulavr
1.1.0
|
#include <ui.h>
Public Member Functions | |
void | AddExternalType (const char *name, ExternalType *p) |
void | AddExternalType (const std::string &name, ExternalType *p) |
UserInterface (int port, bool withUpdateControl=true) | |
~UserInterface () | |
void | SendUiNewState (const std::string &s, const char &c) |
int | Step (bool &, SystemClockOffset *nextStepIn_ns=0) |
Return nonzero if a breakpoint was hit. More... | |
void | SwitchUpdateOnOff (bool PollFreq) |
void | Write (const std::string &s) |
![]() | |
virtual | ~SimulationMember () |
![]() | |
virtual | ~ExternalType () |
Protected Member Functions | |
void | SetNewValueFromUi (const std::string &) |
Protected Attributes | |
std::map< std::string, ExternalType * > | extMembers |
bool | updateOn |
SystemClockOffset | pollFreq |
std::string | dummy |
std::map< std::string, char > | LastState |
int | waitOnAckFromTclRequest |
int | waitOnAckFromTclDone |
Additional Inherited Members | |
![]() | |
Socket (int port) | |
~Socket () | |
ssize_t | Read (std::string &a) |
void | Write (const std::string &s) |
ssize_t | Poll () |
void | Write (const char *in) |
Interfacing between "UI" application on TCP port and ExternalType objects which interface with device peripherals.
UserInterface::UserInterface | ( | int | port, |
bool | withUpdateControl = true |
||
) |
Referenced by AddExternalType().
UserInterface::~UserInterface | ( | ) |
Referenced by AddExternalType().
|
inline |
Definition at line 54 of file ui.h.
Referenced by AddExternalType(), and TraceControl::TraceControl().
|
inline |
Definition at line 58 of file ui.h.
References AddExternalType(), SendUiNewState(), Step(), SwitchUpdateOnOff(), UserInterface(), Write(), and ~UserInterface().
void UserInterface::SendUiNewState | ( | const std::string & | s, |
const char & | c | ||
) |
Referenced by AddExternalType().
|
protectedvirtual |
Implements ExternalType.
|
virtual |
Return nonzero if a breakpoint was hit.
Implements SimulationMember.
Referenced by AddExternalType().
void UserInterface::SwitchUpdateOnOff | ( | bool | PollFreq | ) |
Referenced by AddExternalType().
void UserInterface::Write | ( | const std::string & | s | ) |
Referenced by AddExternalType(), and TraceControl::TraceControl().
|
protected |
|
protected |