Dripline-Cpp  v2.10.11
Dripline Implementation in C++
service_config.hh
Go to the documentation of this file.
1 /*
2  * service_config.hh
3  *
4  * Created on: Aug 14, 2024
5  * Author: N.S. Oblath
6  */
7 
8 #ifndef DRIPLINE_SERVICE_CONFIG_HH_
9 #define DRIPLINE_SERVICE_CONFIG_HH_
10 
11 #include "dripline_config.hh" // for convenience of things using service_config, include this here
12 
13 namespace dripline
14 {
15 
22  class DRIPLINE_API service_config : public scarab::param_node
23  {
24  public:
26  service_config( const std::string& a_name = "a_service" );
27  service_config( const service_config& ) = default;
29  virtual ~service_config() = default;
30 
31  service_config& operator=( const service_config& ) = default;
33  };
34 
36  void DRIPLINE_API add_service_options( scarab::main_app& an_app );
37 
38 
39 } /* namespace dripline */
40 #endif /* DRIPLINE_SERVICE_CONFIG_HH_ */
Sets the default service configuration.
service_config & operator=(const service_config &)=default
service_config & operator=(service_config &&)=default
service_config(const service_config &)=default
virtual ~service_config()=default
service_config(service_config &&)=default
#define DRIPLINE_API
Definition: dripline_api.hh:34
void add_service_options(scarab::main_app &an_app)
Add service options to an app object.