Initial commit

This commit is contained in:
torsten committed 2026-08-13 18:33:10 +02:00
commit b7d90b9afe
16245 files changed
+3396666

No files matched your search

+49
View File
@@ -0,0 +1,49 @@
/**
* Exercise object
* $Id$
* $HeadURL$
* $Author$
*/
#pragma once
#include <QObject>
#include "dds_handler.h"
#include "logger.h"
#include <DDS/Core/function_reply_object.h>
// Generated
#include <YyyYyyYyy/yyy_db.h>
namespace YyyYyyYyy
{
class DbHandler;
class ObjectXxx : public QObject
{
Q_OBJECT
public:
explicit ObjectXxx(const std::shared_ptr<DdsHandler> &ddsHandler,
const std::shared_ptr<DbHandler> &dbHandler,
QObject *parent = nullptr);
~ObjectXxx();
Core::FunctionReplyObject createObject(const Database::YyyXxx &data);
Core::FunctionReplyObject updateObject(const Database::YyyXxx &data);
Core::FunctionReplyObject removeObject();
int getId() const { return m_data.id; }
protected Q_SLOTS:
void onPublishData();
private:
std::shared_ptr<DdsHandler> m_ddsHandler;
std::shared_ptr<DbHandler> m_dbHandler;
Database::YyyXxx m_data;
NGL::INGLLogger &m_logger;
};
}