ebusctl: interactive mode added.

This commit is contained in:
Roland Jax
2014-11-25 11:35:53 +01:00
parent 73eeef99f6
commit 68c15ce66e
7 changed files with 173 additions and 37 deletions
+1 -1
View File
@@ -195,7 +195,6 @@ public:
bool missingCommand() const { return (m_command.size() == 0 ? true : false); }
private:
/** private constructor - singleton pattern */
/**
* @brief private construtor.
* @param command is true if an command is needed.
@@ -213,6 +212,7 @@ private:
/**
* @brief private = operator.
* @param reference to an instance.
* @return reference to instance.
*/
Appl& operator=(const Appl&);
+14 -1
View File
@@ -51,9 +51,22 @@ public:
bool status() { return m_status; }
private:
/** private constructor - singleton pattern */
/**
* @brief private construtor.
*/
Daemon() {}
/**
* @brief private copy construtor.
* @param reference to an instance.
*/
Daemon(const Daemon&);
/**
* @brief private = operator.
* @param reference to an instance.
* @return reference to instance.
*/
Daemon& operator=(const Daemon&);
/** status of process; true if we are a daemon */
+16 -1
View File
@@ -304,13 +304,28 @@ public:
void stop();
private:
/** private constructor - singleton pattern */
/**
* @brief private construtor.
*/
Logger() {}
/**
* @brief private copy construtor.
* @param reference to an instance.
*/
Logger(const Logger&);
/**
* @brief private = operator.
* @param reference to an instance.
* @return reference to instance.
*/
Logger& operator=(const Logger&);
/** typedefs for a vector of type LogSink* */
typedef vector<LogSink*> sink_t;
/** typedefs for a vector of type LogSink* iterator */
typedef vector<LogSink*>::iterator sinkCI_t;
/** vector of available logging sinks */
+3 -1
View File
@@ -32,8 +32,10 @@ class TCPSocket
{
public:
/** grant access for friend classes */
/** grant access for friend class TCPClient */
friend class TCPClient;
/** grant access for friend class TCPServer */
friend class TCPServer;
/**