Search Results
DebuggerIPCServer.h
Go to the documentation of this file.
std::condition_variable & getStopConditionVariable()
Get reference to condition variable used by the DebugObserver to notify the DebuggerIPCServer that th...
Definition: DebuggerIPCServer.cpp:79
Defines an interface to be implemented by Control Plane modules for compatibility with the debugger...
void waitForRunCommand()
Called via the DebugObserver after SystemC elaboration to halt the simulation until the run command i...
Definition: DebuggerIPCServer.cpp:63
Interface for Control Plane module that is necessary for it to work with pfpdb.
Definition: CPDebuggerInterface.h:57
std::condition_variable & getBkptConditionVariable()
Get reference to condition variable used to notify the DebugObserver that a continue or next command ...
Definition: DebuggerIPCServer.cpp:75
void setReplyMessage(DebuggerMessage *message)
Set the message that will be send to pfpdb the next time the simulation is halted.
Definition: DebuggerIPCServer.cpp:99
bool getStopped() const
Get whether the simulation has stopped.
Definition: DebuggerIPCServer.cpp:91
void registerCP(CPDebuggerInterface *cp_debug_if)
Called via the DebugObserver to register a Control Plane module to the debugger so that pfpdb may int...
Definition: DebuggerIPCServer.cpp:103
Base class for an messages that will be sent to pfpdb via the DebuggerIPCServer.
Definition: DebuggerMessages.h:58
Stores any data acquired from the simulation from the observer so that it may be fetched by the serve...
Definition: DebugDataManager.h:60
void start()
Starts the thread which services the requests from pfpdb.
Definition: DebuggerIPCServer.cpp:58
void setContinueCommand(bool b)
Set the flag indicating if the continue command has been received.
Definition: DebuggerIPCServer.cpp:87
Establishes communication with pfpdb python script and services its requests.
Definition: DebuggerIPCServer.h:61
std::mutex & getStopMutex()
Get reference to mutex used to halt DebuggerIPCServer while the simulation is running.
Definition: DebuggerIPCServer.cpp:71
Defines the message objects that can be sent as replies to pfpdb through the DebuggerIPCServer.
void setStopped(bool b)
Set flag that indicates if the simulation is stopped.
Definition: DebuggerIPCServer.cpp:95
std::mutex & getBkptMutex()
Get reference to mutex used to halt simulation when a breakpoint is hit.
Definition: DebuggerIPCServer.cpp:67
Defines class which stores any data about taht simulation that is required by pfpdb.
bool getContinueCommand() const
Get whether a continue command has been received.
Definition: DebuggerIPCServer.cpp:83
DebuggerIPCServer(std::string url, DebugDataManager *dm)
Constructor.
Definition: DebuggerIPCServer.cpp:45
~DebuggerIPCServer()
Destructor.
Definition: DebuggerIPCServer.cpp:51