|
Leosac
0.8.0
Open Source Access Control
|
Go to the documentation of this file.
29 , config_checker_(cfgcheck)
30 , strict_mode_(strict_mode)
42 ASSERT_LOG(scheduler_,
"No scheduler object in CoreUtils.");
48 ASSERT_LOG(config_checker_,
"No ConfigChecker object in CoreUtils.");
49 return *config_checker_;
54 return kernel().database();
64 ASSERT_LOG(kptr_,
"Kernel pointer is NULL in CoreUtils");
75 return kernel().zmqpp_context();
80 return kernel().service_registry();
CoreAPI core_api()
Instantiate a new, ready to use, CoreAPI object.
std::shared_ptr< ConfigChecker > ConfigCheckerPtr
#define ASSERT_LOG(cond, msg)
std::shared_ptr< odb::database > DBPtr
bool is_strict() const
Are we running in strict mode ?
This class is here to help check the validity of the configuration.
This is a scheduler that is used internally to schedule asynchronous / long running tasks.
A class that manages services.
std::shared_ptr< Scheduler > SchedulerPtr
ConfigChecker & config_checker()
zmqpp::context & zmqpp_context()
ServiceRegistry & service_registry()
CoreAPI is a class for interact with Leosac's core.