Pool Video Switch v2
Software video switch for distributed remote display in a lecture environment
Main Page
Namespaces
Classes
Files
File List
File Members
client
util
room.h
Go to the documentation of this file.
1
#ifndef ROOM_H
2
#define ROOM_H
3
4
#include <QDebug>
5
6
struct
Room
{
7
QString
mgr
;
8
QString
name
;
9
int
priority
;
10
Room
(
const
QString &_name,
const
QString &_mgr,
int
_priority)
11
{
12
mgr = _mgr;
13
name = _name;
14
priority = _priority;
15
};
16
};
17
18
inline
QDebug&
operator<<
(QDebug& debug,
const
Room
& r)
19
{
20
debug << r.
name
<<
"{mgr="
<< r.
mgr
<<
",prio="
<< r.
priority
<<
"}"
;
21
return
debug;
22
}
23
24
inline
bool
operator<
(
const
Room
& a,
const
Room
& b)
25
{
26
return
a.
priority
< b.
priority
;
27
}
28
#endif
Room::Room
Room(const QString &_name, const QString &_mgr, int _priority)
Definition:
room.h:10
Room::mgr
QString mgr
Definition:
room.h:7
operator<<
QDebug & operator<<(QDebug &debug, const Room &r)
Definition:
room.h:18
operator<
bool operator<(const Room &a, const Room &b)
Definition:
room.h:24
Room::priority
int priority
Definition:
room.h:9
Room::name
QString name
Definition:
room.h:8
Room
Definition:
room.h:6
Generated on Tue Jul 9 2024 12:00:03 for Pool Video Switch v2 by
1.8.8