Pool Video Switch v2
Software video switch for distributed remote display in a lecture environment
Classes | Macros | Functions
networkmessage.h File Reference
#include <QHostAddress>
#include <QByteArray>
#include <QString>
+ Include dependency graph for networkmessage.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  NetworkMessage
 

Macros

#define NM_READ_OK   (1)
 
#define NM_READ_INCOMPLETE   (2)
 
#define NM_READ_FAILED   (0)
 
#define MSGTYPE(name)   static const QByteArray _ ## name ( #name )
 

Functions

 MSGTYPE (ID)
 
 MSGTYPE (IMG)
 
 MSGTYPE (LOGIN)
 
 MSGTYPE (THUMB)
 
 MSGTYPE (X)
 
 MSGTYPE (Y)
 
 MSGTYPE (VNCSERVER)
 
 MSGTYPE (VNCCLIENT)
 
 MSGTYPE (LOCK)
 
 MSGTYPE (HASH)
 
 MSGTYPE (SALT1)
 
 MSGTYPE (SALT2)
 
 MSGTYPE (IPLIST)
 
 MSGTYPE (PORT)
 
 MSGTYPE (CERT)
 
 MSGTYPE (CHALLENGE)
 
 MSGTYPE (ENABLE)
 
 MSGTYPE (ERROR)
 
 MSGTYPE (TUTOR)
 
 MSGTYPE (EXAMMODE)
 
 MSGTYPE (ATTENTION)
 
static const QByteArray __TRUE ("1")
 
static const QByteArray __FALSE ("0")
 
static const QByteArray & _BOOL (bool val)
 

Macro Definition Documentation

#define MSGTYPE (   name)    static const QByteArray _ ## name ( #name )

Definition at line 23 of file networkmessage.h.

#define NM_READ_FAILED   (0)

Definition at line 13 of file networkmessage.h.

#define NM_READ_INCOMPLETE   (2)

Definition at line 12 of file networkmessage.h.

#define NM_READ_OK   (1)

Definition at line 11 of file networkmessage.h.

Function Documentation

static const QByteArray __FALSE ( "0"  )
static

+ Here is the caller graph for this function:

static const QByteArray __TRUE ( "1"  )
static

+ Here is the caller graph for this function:

static const QByteArray& _BOOL ( bool  val)
inlinestatic

Definition at line 49 of file networkmessage.h.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

MSGTYPE ( ID  )
MSGTYPE ( IMG  )
MSGTYPE ( LOGIN  )
MSGTYPE ( THUMB  )
MSGTYPE ( )
MSGTYPE ( )
MSGTYPE ( VNCSERVER  )
MSGTYPE ( VNCCLIENT  )
MSGTYPE ( LOCK  )
MSGTYPE ( HASH  )
MSGTYPE ( SALT1  )
MSGTYPE ( SALT2  )
MSGTYPE ( IPLIST  )
MSGTYPE ( PORT  )
MSGTYPE ( CERT  )
MSGTYPE ( CHALLENGE  )
MSGTYPE ( ENABLE  )
MSGTYPE ( ERROR  )
MSGTYPE ( TUTOR  )
MSGTYPE ( EXAMMODE  )
MSGTYPE ( ATTENTION  )