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
5namespace sf
6{
7
11class InformationService : public QObject
12{
13 public:
14 explicit InformationService(QObject* parent = nullptr);
15
30
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
Implements a connection between to application exporting and importing generic information.
Definition InformationService.h:12
EServiceType
Type determining the function of the service.
Definition InformationService.h:20
@ Server
Definition InformationService.h:26
@ Client
Definition InformationService.h:24
@ None
Definition InformationService.h:22
@ Both
Definition InformationService.h:28
void setIdOffset(gii::IdType idOffset) const
Sets the client idOffset for the information instances.
gii::IdType getIdOffset() const
Gets the client idOffset of the information instances.
InformationService(QObject *parent=nullptr)
EServiceType getType() const
gets the type of service of this instance.
void setType(EServiceType type)
Sets the type of service for this instance.
InformationTypes::id_type IdType
Short type definition for Qt code.
Definition Namespace.h:16
Definition Application.h:10