/** * $Id$ * $HeadURL$ * $Author$ * Created by Philipp Last, NLSE, 2018-01-11 */ #pragma once #include #include "dds_handler.h" #include "logger.h" #include namespace Evaluations { class ObjectSanNineLiner; class HandlerSanNineLiner : protected Interface::Fts::SanNineLinerModifyRequestHandler , protected Interface::Fts::SanNineLinerRemoveRequestHandler { public: HandlerSanNineLiner(const std::shared_ptr &ddsHandler, const std::shared_ptr &db); ~HandlerSanNineLiner(); bool init(); private: void onSanNineLinerModifyRequest(const rti::core::SampleIdentity &cookie, const SanNineLinerModifyRequest &request) override final; void onSanNineLinerRemoveRequest(const rti::core::SampleIdentity &cookie, const Core::RemoveElementRequest &request) override final; private: QHash m_mapObjectSanNineLiner; std::shared_ptr m_ddsHandler; std::shared_ptr m_db; NGL::INGLLogger &m_logger; }; } // Namespace Evaluations