Deskflow 1.24.0.365
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

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 std::string &pathname)=0
virtual const char * daemonInfo () const =0
void setByeFunc (void(*bye)(int)) override
void bye (int error) override
IEventQueuegetEvents () const override
ARCH_APP_UTILappUtil ()
int run ()
int daemonMainLoop (int, const char **)
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
Public Member Functions inherited from IApp
virtual ~IApp ()=default
virtual int start ()=0
virtual int runInner (StartupFunc startup)=0
virtual void startNode ()=0
virtual int mainLoop ()=0
virtual const char * daemonName () const =0
virtual deskflow::ScreencreateScreen ()=0

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 )

◆ 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.

◆ daemonInfo()

virtual const char * App::daemonInfo ( ) const
pure virtual

Implemented in ClientApp, and ServerApp.

◆ daemonMainLoop()

int App::daemonMainLoop ( int ,
const char **  )

◆ getEvents()

IEventQueue * App::getEvents ( ) const
inlineoverridevirtual

Implements IApp.

◆ 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 std::string & pathname)
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

◆ run()

int App::run ( )

◆ 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 ( )

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