- Merged 292 changed files from dlbo snapshot - Fixed IDL enum collisions (PortType, PdmEventType) - Fixed Grantlee template for C++11 scoped enums - Fixed CMake VERSION_GREATER syntax - Added missing directories (THP, LtsRestClient, etc.) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
41 lines
830 B
C++
Executable File
41 lines
830 B
C++
Executable File
/**
|
|
* Exercise object
|
|
* $Id$
|
|
* $HeadURL$
|
|
* $Author$
|
|
*/
|
|
#pragma once
|
|
|
|
#include <DDS/Core/function_reply_object.h>
|
|
|
|
// Generated
|
|
#include <OperatorManagement/opm_db.h>
|
|
|
|
namespace OperatorManagement
|
|
{
|
|
class MainHandler;
|
|
|
|
class ObjectAccessControlLevel final
|
|
{
|
|
public:
|
|
explicit ObjectAccessControlLevel(MainHandler *mainHandler);
|
|
~ObjectAccessControlLevel();
|
|
|
|
Core::FunctionReplyObject createObject(const Database::OpmAccessControlLevel &data);
|
|
Core::FunctionReplyObject updateObject(const Database::OpmAccessControlLevel &data);
|
|
Core::FunctionReplyObject removeObject();
|
|
|
|
qint64 getId() const { return m_data.id; }
|
|
|
|
protected:
|
|
void onPublishData();
|
|
|
|
private:
|
|
MainHandler *m_mainHandler;
|
|
Database::OpmAccessControlLevel m_data;
|
|
|
|
NGL::INGLLogger &m_logger;
|
|
|
|
};
|
|
}
|