summaryrefslogtreecommitdiffstats
path: root/src/input/pvsSyslog.h
diff options
context:
space:
mode:
authorSebastien Braun2010-11-04 00:38:24 +0100
committerSebastien Braun2010-11-04 00:38:24 +0100
commit4fcc0efae9738bb28922da592fff78cfef50277b (patch)
treeb3855b36abe874606a802ec75fc573543d2d7b35 /src/input/pvsSyslog.h
parent[PVSMGRTOUCH] resetall bug fixed (diff)
parentDocumentation fixes and code cleanup (diff)
downloadpvs-4fcc0efae9738bb28922da592fff78cfef50277b.tar.gz
pvs-4fcc0efae9738bb28922da592fff78cfef50277b.tar.xz
pvs-4fcc0efae9738bb28922da592fff78cfef50277b.zip
Merge input handling work to master
Diffstat (limited to 'src/input/pvsSyslog.h')
-rw-r--r--src/input/pvsSyslog.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/input/pvsSyslog.h b/src/input/pvsSyslog.h
index 8c9591a..36ee2e0 100644
--- a/src/input/pvsSyslog.h
+++ b/src/input/pvsSyslog.h
@@ -20,6 +20,9 @@
#include <QObject>
#include <QString>
+/**
+ * Listen on a socket or a pipe and redirect input lines to a child class.
+ */
class PVSLogRedirector : public QObject
{
Q_OBJECT
@@ -33,6 +36,9 @@ private:
QByteArray _buf;
};
+/**
+ * Redirect log lines to a Unix syslog service.
+ */
class PVSSyslogRedirector : public PVSLogRedirector
{
public:
@@ -46,6 +52,9 @@ protected:
class QFile;
class QTextStream;
+/**
+ * Redirect log lines to a file.
+ */
class PVSLogfileRedirector : public PVSLogRedirector
{
public: