GATE
gate::apps::GateSvc Class Reference
Inheritance diagram for gate::apps::GateSvc:
gate::AppService gate::IRunnable gate::ICancelable gate::NonCopyable

Public Member Functions

virtual void run ()
 
- Public Member Functions inherited from gate::AppService
 AppService (String const &appSvcName)
 
virtual void cancel ()
 
virtual String getServiceName ()
 

Protected Member Functions

virtual void onSignal (int appsignal)
 
virtual void onStart ()
 
virtual void onStop ()
 
virtual void onPause ()
 
virtual void onContinue ()
 
void runConsoleMode ()
 
virtual void onInit ()
 
virtual void onError (result_t resultCode, int32_t nativeCode, String const &message)
 

Additional Inherited Members

- Static Public Member Functions inherited from gate::AppService
static int runService (AppService &service, char const *program, char const *const *arguments, gate_size_t argcount, gate_uintptr_t apphandle)
 
static gate_result_t init (gate_appservice_t *service, char const *program, char const *const *arguments, size_t argcount, uintptr_t apphandle)
 
static gate_result_t run (gate_appservice_t *service)
 
static gate_result_t on_signal (gate_appservice_t *service, int appsignal)
 
static gate_size_t get_servicename (gate_appservice_t *service, char *buffer, size_t bufferlength)
 
static gate_result_t on_start (gate_appservice_t *service)
 
static gate_result_t on_stop (gate_appservice_t *service)
 
static gate_result_t on_pause (gate_appservice_t *service)
 
static gate_result_t on_continue (gate_appservice_t *service)
 
static gate_result_t on_error (gate_appservice_t *service, result_t resultcode, int32_t nativecode, char const *message)
 
- Protected Attributes inherited from gate::AppService
String serviceName
 
uintptr_t appHandle
 
String appPath
 
Array< StringappArgs
 

Member Function Documentation

◆ onContinue()

virtual void gate::apps::GateSvc::onContinue ( )
inlineprotectedvirtual

Reimplemented from gate::AppService.

◆ onError()

virtual void gate::apps::GateSvc::onError ( result_t resultCode,
int32_t nativeCode,
String const & message )
inlineprotectedvirtual

Reimplemented from gate::AppService.

◆ onInit()

virtual void gate::apps::GateSvc::onInit ( )
inlineprotectedvirtual

Reimplemented from gate::AppService.

◆ onPause()

virtual void gate::apps::GateSvc::onPause ( )
inlineprotectedvirtual

Reimplemented from gate::AppService.

◆ onSignal()

virtual void gate::apps::GateSvc::onSignal ( int appsignal)
inlineprotectedvirtual

Reimplemented from gate::AppService.

◆ onStart()

virtual void gate::apps::GateSvc::onStart ( )
inlineprotectedvirtual

Reimplemented from gate::AppService.

◆ onStop()

virtual void gate::apps::GateSvc::onStop ( )
inlineprotectedvirtual

Reimplemented from gate::AppService.

◆ run()

virtual void gate::apps::GateSvc::run ( )
inlinevirtual

Implements gate::AppService.


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