Deskflow 1.24.0.365
Keyboard and mouse sharing utility
Loading...
Searching...
No Matches
deskflow::gui::CoreProcess Class Reference

#include <CoreProcess.h>

Inheritance diagram for deskflow::gui::CoreProcess:
Collaboration diagram for deskflow::gui::CoreProcess:

Public Types

enum class  Error { AddressMissing , StartFailed }
enum class  ProcessState {
  Starting , Started , Stopping , Stopped ,
  RetryPending
}
enum class  ConnectionState { Disconnected , Connecting , Connected , Listening }

Signals

void error (deskflow::gui::CoreProcess::Error error)
void logLine (const QString &line)
void connectionStateChanged (deskflow::gui::CoreProcess::ConnectionState state)
void processStateChanged (deskflow::gui::CoreProcess::ProcessState state)
void secureSocket (bool enabled)
void daemonIpcClientConnectionFailed ()

Public Member Functions

 CoreProcess (const IServerConfig &serverConfig)
void start (std::optional< ProcessMode > processMode=std::nullopt)
void stop (std::optional< ProcessMode > processMode=std::nullopt)
void restart ()
void cleanup ()
void applyLogLevel ()
void clearSettings ()
void retryDaemon ()
Settings::CoreMode mode () const
QString secureSocketVersion () const
bool isStarted () const
ProcessState processState () const
ConnectionState connectionState () const
void setAddress (const QString &address)
void setMode (Settings::CoreMode mode)

Member Enumeration Documentation

◆ ConnectionState

Enumerator
Disconnected 
Connecting 
Connected 
Listening 

◆ Error

Enumerator
AddressMissing 
StartFailed 

◆ ProcessState

Enumerator
Starting 
Started 
Stopping 
Stopped 
RetryPending 

Constructor & Destructor Documentation

◆ CoreProcess()

deskflow::gui::CoreProcess::CoreProcess ( const IServerConfig & serverConfig)
explicit

Member Function Documentation

◆ applyLogLevel()

void deskflow::gui::CoreProcess::applyLogLevel ( )

◆ cleanup()

void deskflow::gui::CoreProcess::cleanup ( )

◆ clearSettings()

void deskflow::gui::CoreProcess::clearSettings ( )

◆ connectionState()

ConnectionState deskflow::gui::CoreProcess::connectionState ( ) const
inline

◆ connectionStateChanged

void deskflow::gui::CoreProcess::connectionStateChanged ( deskflow::gui::CoreProcess::ConnectionState state)
signal

◆ daemonIpcClientConnectionFailed

void deskflow::gui::CoreProcess::daemonIpcClientConnectionFailed ( )
signal

◆ error

void deskflow::gui::CoreProcess::error ( deskflow::gui::CoreProcess::Error error)
signal

◆ isStarted()

bool deskflow::gui::CoreProcess::isStarted ( ) const
inline

◆ logLine

void deskflow::gui::CoreProcess::logLine ( const QString & line)
signal

◆ mode()

Settings::CoreMode deskflow::gui::CoreProcess::mode ( ) const
inline

◆ processState()

ProcessState deskflow::gui::CoreProcess::processState ( ) const
inline

◆ processStateChanged

void deskflow::gui::CoreProcess::processStateChanged ( deskflow::gui::CoreProcess::ProcessState state)
signal

◆ restart()

void deskflow::gui::CoreProcess::restart ( )

◆ retryDaemon()

void deskflow::gui::CoreProcess::retryDaemon ( )

◆ secureSocket

void deskflow::gui::CoreProcess::secureSocket ( bool enabled)
signal

◆ secureSocketVersion()

QString deskflow::gui::CoreProcess::secureSocketVersion ( ) const
inline

◆ setAddress()

void deskflow::gui::CoreProcess::setAddress ( const QString & address)
inline

◆ setMode()

void deskflow::gui::CoreProcess::setMode ( Settings::CoreMode mode)
inline

◆ start()

void deskflow::gui::CoreProcess::start ( std::optional< ProcessMode > processMode = std::nullopt)

◆ stop()

void deskflow::gui::CoreProcess::stop ( std::optional< ProcessMode > processMode = std::nullopt)

The documentation for this class was generated from the following files: