|
Rabbit Remote Control 0.1.0-bate14
|
Manage service. More...
#include <ServiceManager.h>


Public Member Functions | |
| CServiceManager (int argc, char **argv, const QString &appName, const QString &name="Rabbit Remote control service") | |
| The following command line arguments are recognized as service specific: | |
Protected Member Functions | |
| virtual void | start () override |
| virtual void | stop () override |
Protected Attributes | |
| QSharedPointer< CManagePlugins > | m_Plugins |
Manage service.
Manage system service
Usge:
Definition at line 39 of file ServiceManager.h.
|
explicit |
The following command line arguments are recognized as service specific:
| Short | Long | Explanation |
|---|---|---|
| -i | -install | Install the service. |
| -u | -uninstall | Uninstall the service. |
| -e | -exec | Execute the service as a standalone application (useful for debug purposes). This is a blocking call, the service will be executed like a normal application. In this mode you will not be able to communicate with the service from the controller. |
| -t | -terminate | Stop the service. |
| -p | -pause | Pause the service. |
| -r | -resume | Resume a paused service. |
| -c {cmd} | -command {cmd} | Send the user defined command code {cmd} to the service application. |
| -s | -save | Generate default configuration file in [Directory] |
| -v | -version | Display version and status information. |
| No arguments | Start the service | |
Definition at line 20 of file ServiceManager.cpp.
|
virtual |
Definition at line 77 of file ServiceManager.cpp.
|
overrideprotectedvirtual |
Definition at line 82 of file ServiceManager.cpp.
|
overrideprotectedvirtual |
Definition at line 96 of file ServiceManager.cpp.
|
protected |
Definition at line 99 of file ServiceManager.h.