/** * Initialization for CodificationManagement * $Id$ * $HeadURL$ * $Author$ * Created by hjl, SLSE, 2016-11-14 */ #pragma once #include #include #include #include class QSqlDatabase; namespace CodificationManagement { class DdsHandler; class DatabaseInterface; using DbHandler = NGLDB::DbServiceHandler; class HandlerCodificationData; class COD_SERVER_EXPORT Initialization final { public: Initialization(); ~Initialization(); bool initialize(const std::shared_ptr &ddsConnector, const QSqlDatabase &sqlDb); bool loadFromDatabase(); private: // attributes std::shared_ptr m_ddsHandler; ///< Pointer to DDS handler std::shared_ptr m_dbHandler; ///< Pointer to DB handler std::shared_ptr m_handlerCodificationData; ///< Pointer to codification data handler NGL::INGLLogger &m_logger; ///< Interface to the Logging-Facility }; } // namespace CodificationManagement