Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
+47
@@ -0,0 +1,47 @@
|
||||
/**
|
||||
* $Id$
|
||||
* $HeadURL$
|
||||
* $Author$
|
||||
* Created by Philipp Last, NLSE, 2018-01-11
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <QHash>
|
||||
|
||||
#include "dds_handler.h"
|
||||
#include "logger.h"
|
||||
#include <Evaluations/evl_db.h>
|
||||
|
||||
namespace Evaluations
|
||||
{
|
||||
class ObjectSanNineLiner;
|
||||
|
||||
|
||||
class HandlerSanNineLiner
|
||||
: protected Interface::Fts::SanNineLinerModifyRequestHandler
|
||||
, protected Interface::Fts::SanNineLinerRemoveRequestHandler
|
||||
{
|
||||
public:
|
||||
HandlerSanNineLiner(const std::shared_ptr<DdsHandler> &ddsHandler,
|
||||
const std::shared_ptr<DatabaseInterface> &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<int, ObjectSanNineLiner *> m_mapObjectSanNineLiner;
|
||||
|
||||
std::shared_ptr<DdsHandler> m_ddsHandler;
|
||||
std::shared_ptr<DatabaseInterface> m_db;
|
||||
NGL::INGLLogger &m_logger;
|
||||
};
|
||||
|
||||
} // Namespace Evaluations
|
||||
Reference in new issue
Block a user