Scanframe Modular Application
0.1.0
Loading...
Searching...
No Matches
InformationService.h
Go to the documentation of this file.
1
#pragma once
2
#include <QObject>
3
#include <
gii/qt/Namespace.h
>
4
5
namespace
sf
6
{
7
11
class
InformationService
:
public
QObject
12
{
13
public
:
14
explicit
InformationService
(QObject* parent =
nullptr
);
15
19
enum
EServiceType
20
{
22
None
= 0,
24
Client
,
26
Server
,
28
Both
29
};
30
34
void
setType
(
EServiceType
type);
35
39
[[nodiscard]]
EServiceType
getType
()
const
;
40
44
void
setIdOffset
(
gii::IdType
idOffset)
const
;
45
49
[[nodiscard]]
gii::IdType
getIdOffset
()
const
;
50
51
private
:
52
struct
Private;
53
Private* _p;
54
};
55
56
}
// namespace sf
Namespace.h
sf::InformationService
Implements a connection between to application exporting and importing generic information.
Definition
InformationService.h:12
sf::InformationService::EServiceType
EServiceType
Type determining the function of the service.
Definition
InformationService.h:20
sf::InformationService::Server
@ Server
Definition
InformationService.h:26
sf::InformationService::Client
@ Client
Definition
InformationService.h:24
sf::InformationService::None
@ None
Definition
InformationService.h:22
sf::InformationService::Both
@ Both
Definition
InformationService.h:28
sf::InformationService::setIdOffset
void setIdOffset(gii::IdType idOffset) const
Sets the client idOffset for the information instances.
sf::InformationService::getIdOffset
gii::IdType getIdOffset() const
Gets the client idOffset of the information instances.
sf::InformationService::InformationService
InformationService(QObject *parent=nullptr)
sf::InformationService::getType
EServiceType getType() const
gets the type of service of this instance.
sf::InformationService::setType
void setType(EServiceType type)
Sets the type of service for this instance.
sf::gii::IdType
InformationTypes::id_type IdType
Short type definition for Qt code.
Definition
Namespace.h:16
sf
Definition
Application.h:10
src
com
ami
service
InformationService.h
Generated by
1.9.8