Ref T111, show sending and receiving API calls by LED

* monitor and log own signals
* indcated receiving and sending
This commit is contained in:
Klaus Basan
2017-08-09 02:42:09 +02:00
committed by Mathew Sutcliffe
parent 766c32e25d
commit f972fdf715
5 changed files with 152 additions and 28 deletions

View File

@@ -16,6 +16,7 @@
#include "blackmisc/simulation/simulatorplugininfo.h"
#include "blackmisc/simulation/settings/swiftpluginsettings.h"
#include "blackmisc/pq/time.h"
#include "blackmisc/connectionguard.h"
#include "simulatoremulatedmonitordialog.h"
#include <QScopedPointer>
@@ -131,6 +132,9 @@ namespace BlackSimPlugin
//! Values from UI
void onSimulatorStatusChanged();
//! Connect own signals for monitoring
void connectOwnSignals();
bool m_log = false; //!< from settings
bool m_paused = false;
bool m_connected = true;
@@ -142,6 +146,7 @@ namespace BlackSimPlugin
QScopedPointer<CSimulatorEmulatedMonitorDialog> m_monitorWidget; //!< parent will be main window, so we need to destroy widget when destroyed
BlackMisc::CSettingReadOnly<BlackMisc::Simulation::Settings::TSwiftPlugin> m_settings { this, &CSimulatorEmulated::onSettingsChanged };
BlackMisc::CConnectionGuard m_connectionGuard;
};
//! Listener for swift