Afficheur-AREA  1.1
BTS SNIR LaSalle Avignon 2021
Référence du fichier Communication.h

Déclaration de la classe Communication. Plus de détails...

#include <QObject>
#include <QString>
#include <QBluetoothLocalDevice>
#include <QBluetoothServer>
#include <QBluetoothSocket>

Aller au code source de ce fichier.

Classes

class  Communication
 Déclaration de la classe Communication. Plus de détails...
 

Macros

#define CHAMP_TYPE_TRAME   1
 
#define ENTETE_TRAME   "MOBILE_AREA"
 
#define ETAT   3
 
#define ID_PARTIE   2
 
#define MANCHES_JOUEUR_A   5
 
#define MANCHES_JOUEUR_B   6
 
#define NB_CHAMPS_PARTIE_SIMPLE   7
 
#define NOM_CLUB_1   2
 
#define NOM_CLUB_2   3
 
#define POINTS_JOUEUR_A   3
 
#define POINTS_JOUEUR_B   4
 

Énumérations

enum  TypeTrame {
  RENCONTRE, INFO_PARTIE, SCORE, ETAT_PARTIE,
  NET, TEMPS_MORT
}
 Les différents types de trame. Plus de détails...
 

Fonctions

static const QString nomService (QStringLiteral("Afficheur_AREA"))
 
static const QString uuidService (QStringLiteral("0000110a-0000-1000-8000-00805f9b34fb"))
 

Description détaillée

Déclaration de la classe Communication.

Version
1.1
Auteur
William GEROUVILLE gerou.nosp@m.will.nosp@m.iam@g.nosp@m.mail.nosp@m..com
LastChangedRevision
120
LastChangedDate
2021-06-11 08:15:18 +0200 (ven. 11 juin 2021)

Définition dans le fichier Communication.h.

Documentation des macros

◆ CHAMP_TYPE_TRAME

#define CHAMP_TYPE_TRAME   1

Définition à la ligne 20 du fichier Communication.h.

Référencé par Communication::traiterTrame().

◆ ENTETE_TRAME

#define ENTETE_TRAME   "MOBILE_AREA"

Définition à la ligne 19 du fichier Communication.h.

Référencé par Communication::lireTrame().

◆ ETAT

#define ETAT   3

Définition à la ligne 32 du fichier Communication.h.

Référencé par Communication::traiterTrame().

◆ ID_PARTIE

#define ID_PARTIE   2

Définition à la ligne 25 du fichier Communication.h.

Référencé par Communication::traiterTrame().

◆ MANCHES_JOUEUR_A

#define MANCHES_JOUEUR_A   5

Définition à la ligne 29 du fichier Communication.h.

Référencé par Communication::traiterTrame().

◆ MANCHES_JOUEUR_B

#define MANCHES_JOUEUR_B   6

Définition à la ligne 30 du fichier Communication.h.

Référencé par Communication::traiterTrame().

◆ NB_CHAMPS_PARTIE_SIMPLE

#define NB_CHAMPS_PARTIE_SIMPLE   7

Définition à la ligne 34 du fichier Communication.h.

Référencé par Communication::traiterTrame().

◆ NOM_CLUB_1

#define NOM_CLUB_1   2

Définition à la ligne 22 du fichier Communication.h.

Référencé par Communication::traiterTrame().

◆ NOM_CLUB_2

#define NOM_CLUB_2   3

Définition à la ligne 23 du fichier Communication.h.

Référencé par Communication::traiterTrame().

◆ POINTS_JOUEUR_A

#define POINTS_JOUEUR_A   3

Définition à la ligne 27 du fichier Communication.h.

Référencé par Communication::traiterTrame().

◆ POINTS_JOUEUR_B

#define POINTS_JOUEUR_B   4

Définition à la ligne 28 du fichier Communication.h.

Référencé par Communication::traiterTrame().

Documentation du type de l'énumération

◆ TypeTrame

enum TypeTrame

Les différents types de trame.

Valeurs énumérées
RENCONTRE 

...

INFO_PARTIE 
SCORE 
ETAT_PARTIE 
NET 
TEMPS_MORT 

Définition à la ligne 41 du fichier Communication.h.

Documentation des fonctions

◆ nomService()

static const QString nomService ( QStringLiteral("Afficheur_AREA")  )
static

Référencé par Communication::demarrer().

◆ uuidService()

static const QString uuidService ( QStringLiteral("0000110a-0000-1000-8000-00805f9b34fb")  )
static

Référencé par Communication::demarrer().