13 #include "application.hh" 18 LOGGER(
dlog,
"run_oscillation_service_hub" );
20 int main(
int argc,
char** argv )
22 scarab::main_app the_main;
24 the_main.set_version( version_store::get_instance()->versions().at(
"dripline-cpp" ) );
32 auto t_service_callback = [&](){
33 auto the_service = std::make_shared< oscillator_service_hub >( the_main.master_config()[
"dripline"].as_node() );
35 the_service->execute();
37 the_return = the_service->get_return();
40 the_main.callback( t_service_callback );
42 CLI11_PARSE( the_main, argc, argv );
int main(int argc, char **argv)
Sets the default configuration used by core.
static scarab::logger dlog("agent")
void add_dripline_options(scarab::main_app &an_app)
Add basic AMQP options to an app object.