20 int RunNymph( std::shared_ptr< KTApplication > app )
24 const scarab::param_node& parentConfigNode = app->GetConfigurator()->Config();
26 if( ! app->Configure( parentConfigNode[app->GetConfigName()].as_node() ) )
28 KTERROR( nlog,
"Unable to configure the application. Aborting." );
38 KTERROR( nlog,
"Unable to configure processor toolbox. Aborting." );
45 KTERROR( nlog,
"Unable to configure processors. Aborting." );
50 bool success = procTB.
Run();
54 KTPROG( nlog,
"That's all, folks!" );
56 if( ! success )
return -5;
59 catch( std::exception& e )
61 KTERROR( nlog,
"Exception caught:\n" << e.what() );
int RunNymph(std::shared_ptr< KTApplication > app)
KTLOGGER(nlog, "RunNymph")
const std::string & GetConfigName() const
Contains the logger class and macros, based on Kasper's KLogger class.