Scanframe Modular Application 0.1.0
Loading...
Searching...
No Matches
sf::InformationService Class Reference

Implements a connection between to application exporting and importing generic information. More...

#include <InformationService.h>

Inheritance diagram for sf::InformationService:
Collaboration diagram for sf::InformationService:

Public Types

enum  EServiceType { None = 0 , Client , Server , Both }
 Type determining the function of the service. More...
 

Public Member Functions

 InformationService (QObject *parent=nullptr)
 
void setType (EServiceType type)
 Sets the type of service for this instance.
 
EServiceType getType () const
 gets the type of service of this instance.
 
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.
 

Detailed Description

Implements a connection between to application exporting and importing generic information.

Member Enumeration Documentation

◆ EServiceType

Type determining the function of the service.

Enumerator
None 

No client or server connection.

Client 

Client only.

Server 

Server only.

Both 

Both in the same application for debugging purposes.

Constructor & Destructor Documentation

◆ InformationService()

sf::InformationService::InformationService ( QObject *  parent = nullptr)
explicit

Member Function Documentation

◆ getIdOffset()

gii::IdType sf::InformationService::getIdOffset ( ) const

Gets the client idOffset of the information instances.

◆ getType()

EServiceType sf::InformationService::getType ( ) const

gets the type of service of this instance.

◆ setIdOffset()

void sf::InformationService::setIdOffset ( gii::IdType  idOffset) const

Sets the client idOffset for the information instances.

◆ setType()

void sf::InformationService::setType ( EServiceType  type)

Sets the type of service for this instance.


The documentation for this class was generated from the following file: