#ifndef PROCESS_SERVICE_WRAPPER_FACTORY_HPP #define PROCESS_SERVICE_WRAPPER_FACTORY_HPP #include #include #include namespace process::servicewrapper { /** @briefFactory method that creates a service wrapper for a ServicewrapperListener. @note THIS METHOD CAN BE USED ONCE AND ONLY ONCE PER EXECUTABLE @param listener the actual service implementation. Since this might do other stuff in other threads, we use a shared_ptr @returns the service wrapper ready to run the service. Call ServiceWrapper::run() to actually execute */ std::unique_ptr make_wrapper(std::shared_ptr listener); } #endif // !PROCESS_SERVICE_WRAPPER_FACTORY_HPP