Rabbit Remote Control 0.0.30
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Private Slots | Private Attributes | List of all members
CServiceRabbitVNC Class Reference
Inheritance diagram for CServiceRabbitVNC:
CService

Public Member Functions

 CServiceRabbitVNC (CPluginService *plugin)
 
- Public Member Functions inherited from CService
 CService (CPluginService *plugin)
 
virtual int Init ()
 Load parameters, support non-Qt event loop.
 
virtual int Clean ()
 
CParameterServiceGetParameters ()
 
virtual int LoadConfigure (const QString &szDir=QString())
 
virtual int SaveConfigure (const QString &szDir=QString())
 

Protected Member Functions

virtual int OnInit () override
 Init service.
 
virtual int OnClean () override
 Clean service.
 
- Protected Member Functions inherited from CService
virtual int OnProcess ()
 Process service.
 

Private Slots

void slotNewConnection ()
 
void slotDisconnected ()
 
void slotError (int nErr, QString szErr)
 

Private Attributes

QTcpServer m_Lister
 
QList< QSharedPointer< CConnection > > m_lstConnection
 

Additional Inherited Members

- Protected Slots inherited from CService
virtual void slotProcess ()
 Support non-Qt event loop.
 
- Protected Attributes inherited from CService
CParameterServicem_pPara
 
CPluginServicem_pPlugin
 

Detailed Description

Definition at line 17 of file ServiceRabbitVNC.h.

Constructor & Destructor Documentation

◆ CServiceRabbitVNC()

CServiceRabbitVNC::CServiceRabbitVNC ( CPluginService plugin)
explicit

Definition at line 24 of file ServiceRabbitVNC.cpp.

◆ ~CServiceRabbitVNC()

CServiceRabbitVNC::~CServiceRabbitVNC ( )
virtual

Definition at line 34 of file ServiceRabbitVNC.cpp.

Member Function Documentation

◆ OnClean()

int CServiceRabbitVNC::OnClean ( )
overrideprotectedvirtual

Clean service.

Returns

Implements CService.

Definition at line 100 of file ServiceRabbitVNC.cpp.

◆ OnInit()

int CServiceRabbitVNC::OnInit ( )
overrideprotectedvirtual

Init service.

Returns
  • < 0: error
  • = 0: Use OnProcess (non-Qt event loop)
  • > 0: Don't use OnProcess (qt event loop)

Implements CService.

Definition at line 47 of file ServiceRabbitVNC.cpp.

◆ slotDisconnected

void CServiceRabbitVNC::slotDisconnected ( )
privateslot

Definition at line 153 of file ServiceRabbitVNC.cpp.

◆ slotError

void CServiceRabbitVNC::slotError ( int  nErr,
QString  szErr 
)
privateslot

Definition at line 162 of file ServiceRabbitVNC.cpp.

◆ slotNewConnection

void CServiceRabbitVNC::slotNewConnection ( )
privateslot

Definition at line 118 of file ServiceRabbitVNC.cpp.

Member Data Documentation

◆ m_Lister

QTcpServer CServiceRabbitVNC::m_Lister
private

Definition at line 39 of file ServiceRabbitVNC.h.

◆ m_lstConnection

QList<QSharedPointer<CConnection> > CServiceRabbitVNC::m_lstConnection
private

Definition at line 40 of file ServiceRabbitVNC.h.


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