Workspace 6.21.5
Classes | Public Types | Public Member Functions | Static Public Member Functions | List of all members
UpdatableLog Class Reference

#include <Workspace/DataExecution/Execution/updatablelogging.h>

Classes

class  Message
 

Public Types

enum  LogMethod { NoLogging = 0 , TcpLogging , FileLogging }
 
typedef QScopedPointer< UpdatableLog::MessageScopedMessage
 

Public Member Functions

const QString & getFileName () const
 
int getTcpPort () const
 
LogMethod isEnabled () const
 
bool startFileLogging (const QString &fileName)
 
bool startTcpLogging (int port=55500)
 
bool stopFileLogging ()
 
bool stopTcpLogging ()
 

Static Public Member Functions

static UpdatableLoggetInstance ()
 

Member Typedef Documentation

◆ ScopedMessage

typedef QScopedPointer<UpdatableLog::Message> ScopedMessage

Member Enumeration Documentation

◆ LogMethod

enum LogMethod
Enumerator
NoLogging 
TcpLogging 
FileLogging 

Member Function Documentation

◆ getFileName()

const QString & getFileName ( ) const

◆ getInstance()

UpdatableLog & getInstance ( )
static

◆ getTcpPort()

int getTcpPort ( ) const

◆ isEnabled()

UpdatableLog::LogMethod isEnabled ( ) const

◆ startFileLogging()

bool startFileLogging ( const QString &  fileName)

◆ startTcpLogging()

bool startTcpLogging ( int  port = 55500)

◆ stopFileLogging()

bool stopFileLogging ( )

◆ stopTcpLogging()

bool stopTcpLogging ( )