Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
+46
@@ -0,0 +1,46 @@
|
||||
/**
|
||||
* Exercise object
|
||||
* $Id$
|
||||
* $HeadURL$
|
||||
* Philipp Last
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include "dds_handler.h"
|
||||
#include "logger.h"
|
||||
|
||||
#include <DDS/Core/function_reply_object.h>
|
||||
|
||||
// Generated
|
||||
#include <Evaluations/evl_db.h>
|
||||
|
||||
|
||||
namespace Evaluations
|
||||
{
|
||||
class ObjectSanNineLiner final
|
||||
{
|
||||
public:
|
||||
ObjectSanNineLiner(const std::shared_ptr<DdsHandler> &ddsHandler,
|
||||
const std::shared_ptr<DatabaseInterface> &db);
|
||||
~ObjectSanNineLiner() = default;
|
||||
|
||||
Core::FunctionReplyObject createObject(const Database::SanNineLiner &data);
|
||||
Core::FunctionReplyObject updateObject(const Database::SanNineLiner &data);
|
||||
Core::FunctionReplyObject removeObject();
|
||||
|
||||
int getId() const { return m_data.id; }
|
||||
void addLineCategory(const Database::SanCategoryLine &data);
|
||||
void removeCategoryLines();
|
||||
|
||||
void onPublishData();
|
||||
protected:
|
||||
|
||||
private:
|
||||
std::shared_ptr<DdsHandler> m_ddsHandler;
|
||||
std::shared_ptr<DatabaseInterface> m_db;
|
||||
Database::SanNineLiner m_data;
|
||||
std::vector<Database::SanCategoryLine> m_lines;
|
||||
|
||||
NGL::INGLLogger &m_logger;
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user