Rabbit Remote Control 0.0.30
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
CPluginServiceThread Class Reference

The service plugin interface. More...

#include <PluginServiceThread.h>

Inheritance diagram for CPluginServiceThread:
CPluginService CPluginServiceLibVNCServer CPluginServiceRabbitVNC CPluginServiceTigerVNC

Public Member Functions

 CPluginServiceThread (QObject *parent=nullptr)
 
virtual void Start () override
 Default start a new thread to process Service.
 
virtual void Stop () override
 
- Public Member Functions inherited from CPluginService
 CPluginService (QObject *parent=nullptr)
 
virtual const QString Id () const
 ID. Default: Protocol() + "_" + Name()
 
virtual const QString Protocol () const =0
 Plugin Protocol.
 
virtual const QString Name () const =0
 This name must be the same as the project name (${PROJECT_NAME}).
 
virtual const QString DisplayName () const
 The plugin display name.
 
virtual const QString Description () const =0
 Plugin description.
 
virtual const QIcon Icon () const
 
virtual CServiceNewService ()=0
 New service.
 
int InitTranslator ()
 

Private Attributes

QSharedPointer< CServiceThreadm_Thread
 

Detailed Description

The service plugin interface.

The default start a thread. The interface only is implemented and used by plugin.

See also
CService CServiceThread CServiceManager CPluginService

Definition at line 17 of file PluginServiceThread.h.

Constructor & Destructor Documentation

◆ CPluginServiceThread()

CPluginServiceThread::CPluginServiceThread ( QObject *  parent = nullptr)
explicit

Definition at line 4 of file PluginServiceThread.cpp.

◆ ~CPluginServiceThread()

CPluginServiceThread::~CPluginServiceThread ( )
overridevirtual

Definition at line 8 of file PluginServiceThread.cpp.

Member Function Documentation

◆ Start()

void CPluginServiceThread::Start ( )
overridevirtual

Default start a new thread to process Service.

See also
CService CServiceThread

Reimplemented from CPluginService.

Definition at line 11 of file PluginServiceThread.cpp.

◆ Stop()

void CPluginServiceThread::Stop ( )
overridevirtual

Reimplemented from CPluginService.

Definition at line 22 of file PluginServiceThread.cpp.

Member Data Documentation

◆ m_Thread

QSharedPointer<CServiceThread> CPluginServiceThread::m_Thread
private

Definition at line 33 of file PluginServiceThread.h.


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