This header defines the service_main utility function template. More...
#include <ssrc/wispers/service/service.h>
#include <ssrc/wispers/utility/ServiceMainOptions.h>
#include <ssrc/wisp/utility/service_main.h>
Include dependency graph for service_main.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Classes | |
struct | ServiceMainOptionsProcessor |
Defines | |
#define | WSPR_CUSTOM_SERVICE_MAIN_WITH_INIT(service_type, handler_type, options_type, has_initializer, init_code) WISP_CUSTOM_SERVICE_MAIN_WITH_INIT(service_type, handler_type, options_type, NS_SSRC_WSPR_UTILITY::ServiceMainOptionsProcessor, has_initializer, init_code) |
#define | WSPR_CUSTOM_SERVICE_MAIN(service_type, handler_type, options_type, has_initializer) WISP_CUSTOM_SERVICE_MAIN(service_type, handler_type, options_type, NS_SSRC_WSPR_UTILITY::ServiceMainOptionsProcessor, has_initializer) |
#define | WSPR_SERVICE_MAIN_WITH_INIT(service_type, init_code) |
#define | WSPR_SERVICE_MAIN(service_type) WSPR_SERVICE_MAIN_WITH_INIT(service_type, WISP_EMPTY_INIT_CODE) |
Detailed Description
This header defines the service_main utility function template.
Definition in file service_main.h.
Define Documentation
#define WSPR_CUSTOM_SERVICE_MAIN | ( | service_type, | |
handler_type, | |||
options_type, | |||
has_initializer | |||
) | WISP_CUSTOM_SERVICE_MAIN(service_type, handler_type, options_type, NS_SSRC_WSPR_UTILITY::ServiceMainOptionsProcessor, has_initializer) |
Definition at line 64 of file service_main.h.
#define WSPR_CUSTOM_SERVICE_MAIN_WITH_INIT | ( | service_type, | |
handler_type, | |||
options_type, | |||
has_initializer, | |||
init_code | |||
) | WISP_CUSTOM_SERVICE_MAIN_WITH_INIT(service_type, handler_type, options_type, NS_SSRC_WSPR_UTILITY::ServiceMainOptionsProcessor, has_initializer, init_code) |
Definition at line 61 of file service_main.h.
#define WSPR_SERVICE_MAIN | ( | service_type | ) | WSPR_SERVICE_MAIN_WITH_INIT(service_type, WISP_EMPTY_INIT_CODE) |
Definition at line 73 of file service_main.h.
#define WSPR_SERVICE_MAIN_WITH_INIT | ( | service_type, | |
init_code | |||
) |
Value:
WSPR_CUSTOM_SERVICE_MAIN_WITH_INIT(service_type, \ NS_SSRC_WSPR_SERVICE::ServiceEventHandler, \ NS_SSRC_WSPR_UTILITY::ServiceMainOptions, \ false, init_code)
Definition at line 67 of file service_main.h.
Copyright © 2006-2011 Savarese Software Research Corporation. All rights reserved.