Pool Video Switch v2
Software video switch for distributed remote display in a lecture environment
Public Member Functions | Private Member Functions | Private Attributes | List of all members
ServerApp Class Reference

#include "serverapp.h"

+ Inheritance diagram for ServerApp:
+ Collaboration diagram for ServerApp:

Public Member Functions

 ServerApp (int &argc, char **argv)
 
virtual QStringList arguments ()
 
const QString & sessionName () const
 
const QByteArray & sessionNameArray () const
 
const QMap< QString, Room * > & getRooms () const
 
bool isExam () const
 
const RoomgetCurrentRoom () const
 
QSettings * getSettings ()
 
void setSessionName (const QString &name)
 
void setSessionName ()
 
void setCurrentRoom (const QString &room)
 
void setExam (bool exam)
 
bool shouldExit () const
 

Private Member Functions

QStringList parseParameters ()
 
void loadRooms ()
 

Private Attributes

QStringList _arguments
 
QString _sessionName
 
QByteArray _sessionNameArray
 
QMap< QString, Room * > _rooms
 
QString _currentRoom
 
bool _doExit {}
 
bool _managerOnly {}
 
bool _isExam {}
 
QString _iniPath
 

Detailed Description

Definition at line 38 of file serverapp.h.

Constructor & Destructor Documentation

ServerApp::ServerApp ( int &  argc,
char **  argv 
)

Definition at line 12 of file serverapp.cpp.

+ Here is the call graph for this function:

Member Function Documentation

QStringList ServerApp::arguments ( )
virtual

Definition at line 70 of file serverapp.cpp.

+ Here is the caller graph for this function:

const Room * ServerApp::getCurrentRoom ( ) const

Definition at line 140 of file serverapp.cpp.

const QMap<QString, Room *>& ServerApp::getRooms ( ) const
inline

Definition at line 69 of file serverapp.h.

QSettings * ServerApp::getSettings ( )

Definition at line 165 of file serverapp.cpp.

+ Here is the caller graph for this function:

bool ServerApp::isExam ( ) const
inline

Definition at line 70 of file serverapp.h.

void ServerApp::loadRooms ( )
private

Definition at line 75 of file serverapp.cpp.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

QStringList ServerApp::parseParameters ( )
private

Definition at line 53 of file serverapp.cpp.

+ Here is the caller graph for this function:

const QString& ServerApp::sessionName ( ) const
inline

Definition at line 67 of file serverapp.h.

const QByteArray& ServerApp::sessionNameArray ( ) const
inline

Definition at line 68 of file serverapp.h.

void ServerApp::setCurrentRoom ( const QString &  room)
inline

Definition at line 77 of file serverapp.h.

void ServerApp::setExam ( bool  exam)
inline

Definition at line 78 of file serverapp.h.

void ServerApp::setSessionName ( const QString &  name)

Definition at line 152 of file serverapp.cpp.

void ServerApp::setSessionName ( )

Definition at line 158 of file serverapp.cpp.

bool ServerApp::shouldExit ( ) const
inline

Definition at line 80 of file serverapp.h.

+ Here is the caller graph for this function:

Member Data Documentation

QStringList ServerApp::_arguments
private

Definition at line 44 of file serverapp.h.

QString ServerApp::_currentRoom
private

Definition at line 49 of file serverapp.h.

bool ServerApp::_doExit {}
private

Definition at line 50 of file serverapp.h.

QString ServerApp::_iniPath
private

Definition at line 54 of file serverapp.h.

bool ServerApp::_isExam {}
private

Definition at line 53 of file serverapp.h.

bool ServerApp::_managerOnly {}
private

Definition at line 52 of file serverapp.h.

QMap<QString, Room*> ServerApp::_rooms
private

Definition at line 48 of file serverapp.h.

QString ServerApp::_sessionName
private

Definition at line 46 of file serverapp.h.

QByteArray ServerApp::_sessionNameArray
private

Definition at line 47 of file serverapp.h.


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