14 #include "application.hh"
16 #include "signal_handler.hh"
20 LOGGER(
dlog,
"run_oscillation_service_hub" );
22 int main(
int argc,
char** argv )
25 scarab::signal_handler t_sig_hand(
true );
27 scarab::main_app the_main;
29 the_main.set_version( version_store::get_instance()->versions().at(
"dripline-cpp" ) );
38 auto t_service_callback = [&](){
39 auto the_service = std::make_shared< oscillator_service_hub >( the_main.primary_config(), the_main.auth() );
41 the_service->execute();
43 the_return = the_service->get_return();
46 the_main.callback( t_service_callback );
48 CLI11_PARSE( the_main, argc, argv );
Sets the default service configuration.
void add_service_options(scarab::main_app &an_app)
Add service options to an app object.
static ::scarab::logger_type< ::scarab::spd_initializer_async_stdout_color_mt > dlog("agent", __FILE_NAME__, __LINE__)
void add_dripline_options(scarab::main_app &an_app)
Add dripline mesh CL options to an app object.
int main(int argc, char **argv)