ImagingTools Core SDK
Main Page
Related Pages
Topics
Namespaces
Classes
Examples
ImtCore
Include
imtgql
IGqlRequest.h
1
// SPDX-License-Identifier: LGPL-2.1-or-later OR GPL-2.0-or-later OR GPL-3.0-or-later OR LicenseRef-ImtCore-Commercial
2
#pragma once
3
4
5
// ACF includes
6
#include <QtCore/qbytearray.h>
7
#include <iser/IObject.h>
8
9
// ImtCore includes
10
#include <imtgql/IGqlContext.h>
11
12
13
namespace
imtgql
14
{
15
16
20
class
IGqlRequest
:
virtual
public
iser::IObject
21
{
22
public
:
23
enum
RequestType
24
{
28
RT_QUERY
,
29
33
RT_MUTATION
,
34
38
RT_SUBSCRIPTION
39
};
40
41
virtual
QByteArray GetCommandId()
const
= 0;
42
virtual
RequestType
GetRequestType()
const
= 0;
43
virtual
QByteArray GetQuery()
const
= 0;
44
virtual
const
IGqlContext
* GetRequestContext()
const
= 0;
48
virtual
QByteArray
GetProtocolVersion
()
const
= 0;
49
};
50
51
52
}
// namespace imtgql
53
54
imtgql::IGqlContext
Definition
IGqlContext.h:21
imtgql::IGqlRequest
Definition
IGqlRequest.h:21
imtgql::IGqlRequest::RequestType
RequestType
Definition
IGqlRequest.h:24
imtgql::IGqlRequest::RT_MUTATION
@ RT_MUTATION
Definition
IGqlRequest.h:33
imtgql::IGqlRequest::RT_SUBSCRIPTION
@ RT_SUBSCRIPTION
Definition
IGqlRequest.h:38
imtgql::IGqlRequest::RT_QUERY
@ RT_QUERY
Definition
IGqlRequest.h:28
imtgql::IGqlRequest::GetProtocolVersion
virtual QByteArray GetProtocolVersion() const =0
Generated by
1.9.8