Deskflow 1.26.0.207
Keyboard and mouse sharing utility
Loading...
Searching...
No Matches
App Class Referenceabstract

#include <App.h>

Inheritance diagram for App:
Collaboration diagram for App:

Classes

class  XNoEiSupport
struct  LoopErrorCode

Public Member Functions

 App (IEventQueue *events, const QString &processName)
 App (App const &)=delete
 App (App &&)=delete
 ~App () override
Appoperator= (App const &)=delete
Appoperator= (App &&)=delete
virtual void parseArgs ()=0
virtual void loadConfig ()=0
virtual bool loadConfig (const QString &filename)=0
void setByeFunc (void(*bye)(int)) override
void bye (int error) override
IEventQueuegetEvents () const override
ARCH_APP_UTILappUtil ()
void run (QThread &coreThread)
void quit () const
void setupFileLogging ()
void loggingFilterWarning () const
void initApp () override
void setEvents (EventQueue &events)
void setSocketMultiplexer (std::unique_ptr< SocketMultiplexer > &&sm)
SocketMultiplexergetSocketMultiplexer () const
QString processName () const
void handleScreenError () const
void updateExitCode (int errorCode)
int getExitCode () const

Static Public Member Functions

static Appinstance ()

Protected Member Functions

void runEventsLoop (const void *)

Constructor & Destructor Documentation

◆ App() [1/3]

App::App ( IEventQueue * events,
const QString & processName )
explicit

◆ App() [2/3]

App::App ( App const & )
delete

◆ App() [3/3]

App::App ( App && )
delete

◆ ~App()

App::~App ( )
override

Member Function Documentation

◆ appUtil()

ARCH_APP_UTIL & App::appUtil ( )
inline

◆ bye()

void App::bye ( int error)
inlineoverridevirtual

Implements IApp.

◆ getEvents()

IEventQueue * App::getEvents ( ) const
inlineoverridevirtual

Implements IApp.

◆ getExitCode()

int App::getExitCode ( ) const
inline

◆ getSocketMultiplexer()

SocketMultiplexer * App::getSocketMultiplexer ( ) const
inline

◆ handleScreenError()

void App::handleScreenError ( ) const

◆ initApp()

void App::initApp ( )
overridevirtual

Implements IApp.

◆ instance()

App & App::instance ( )
inlinestatic

◆ loadConfig() [1/2]

virtual void App::loadConfig ( )
pure virtual

Implemented in ClientApp, and ServerApp.

◆ loadConfig() [2/2]

virtual bool App::loadConfig ( const QString & filename)
pure virtual

Implemented in ClientApp, and ServerApp.

◆ loggingFilterWarning()

void App::loggingFilterWarning ( ) const

◆ operator=() [1/2]

App & App::operator= ( App && )
delete

◆ operator=() [2/2]

App & App::operator= ( App const & )
delete

◆ parseArgs()

virtual void App::parseArgs ( )
pure virtual

Implemented in ClientApp, and ServerApp.

◆ processName()

QString App::processName ( ) const
inline

◆ quit()

void App::quit ( ) const

◆ run()

void App::run ( QThread & coreThread)

◆ runEventsLoop()

void App::runEventsLoop ( const void * )
protected

◆ setByeFunc()

void App::setByeFunc ( void(* bye )(int))
inlineoverridevirtual

Implements IApp.

◆ setEvents()

void App::setEvents ( EventQueue & events)
inline

◆ setSocketMultiplexer()

void App::setSocketMultiplexer ( std::unique_ptr< SocketMultiplexer > && sm)
inline

◆ setupFileLogging()

void App::setupFileLogging ( )

◆ updateExitCode()

void App::updateExitCode ( int errorCode)
inline

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