QVR 4.1.0
A library to build Virtual Reality applications
|
Application process. More...
#include <process.hpp>
Inherits QProcess.
Public Member Functions | |
QVRProcess (int index) | |
Constructor for the process with the given index in the QVR configuration. | |
~QVRProcess () | |
Destructor. | |
int | index () const |
Returns the index of the process in the QVR configuration. | |
const QString & | id () const |
Returns the unique id. | |
const QVRProcessConfig & | config () const |
Returns the configuration. | |
const QString & | windowId (int windowIndex) const |
Returns the unique id of the window with the given index. | |
const QVRWindowConfig & | windowConfig (int windowIndex) const |
Returns the configuration of the window with the given index. | |
Application process.
A process is connected to exactly one Qt display, which typically represents one GPU. A display can contain multiple screens, which typically correspond to multiple monitors or projectors.
A process can drive multiple QVRWindow windows with different screens, positions, and sizes.
The first process started by the user is the main process and has index 0. Child processes, if configured in the QVR configuration, are launched by the QVRManager.
A process is configured via QVRProcessConfig.
QVRProcess::QVRProcess | ( | int | index | ) |
Constructor for the process with the given index in the QVR configuration.
QVRProcess::~QVRProcess | ( | ) |
Destructor.
const QVRProcessConfig & QVRProcess::config | ( | ) | const |
Returns the configuration.
const QString & QVRProcess::id | ( | ) | const |
Returns the unique id.
int QVRProcess::index | ( | ) | const |
Returns the index of the process in the QVR configuration.
The process with index 0 is the main process.
const QVRWindowConfig & QVRProcess::windowConfig | ( | int | windowIndex | ) | const |
Returns the configuration of the window with the given index.
const QString & QVRProcess::windowId | ( | int | windowIndex | ) | const |
Returns the unique id of the window with the given index.