refs #199, further slot logging for network / simulator , added log method for bool values

This commit is contained in:
Klaus Basan
2014-04-10 18:08:55 +02:00
parent 4776b1e650
commit 6580ec48d5
6 changed files with 43 additions and 8 deletions

View File

@@ -93,9 +93,11 @@ namespace BlackCore
//! Slot logging
//! \todo to be replace if initializer lists becomes available
//! \sa signalLog(QOb)
void logSlot(const char *func, const QString &p1 = "", const QString &p2 = "", const QString &p3 = "", const QString &p4 = "") const;
//! Slot logging for bool value
void logSlot(const char *func, bool boolValue) const;
//! shutdown
void gracefulShutdown();
@@ -157,6 +159,9 @@ namespace BlackCore
//! \remarks only applicable for local object
CContextSimulator *getCContextSimulator() const;
//! Init
void init(const CRuntimeConfig &config);
private:
bool m_init; /*!< flag */
CDBusServer *m_dbusServer;
@@ -179,8 +184,6 @@ namespace BlackCore
IContextSimulator *m_contextSimulator;
QMultiMap<QString, QMetaObject::Connection> m_logSignalConnections;
//! Init
void init(const CRuntimeConfig &config);
//! initialization of DBus connection (where applicable)
void initDBusConnection();