QVR 4.0.1
A library to build Virtual Reality applications
Public Member Functions | List of all members
QVRProcess Class Reference

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. More...
 
 ~QVRProcess ()
 Destructor. More...
 
int index () const
 Returns the index of the process in the QVR configuration. More...
 
const QString & id () const
 Returns the unique id. More...
 
const QVRProcessConfigconfig () const
 Returns the configuration. More...
 
const QString & windowId (int windowIndex) const
 Returns the unique id of the window with the given index. More...
 
const QVRWindowConfigwindowConfig (int windowIndex) const
 Returns the configuration of the window with the given index. More...
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ QVRProcess()

QVRProcess::QVRProcess ( int  index)

Constructor for the process with the given index in the QVR configuration.

◆ ~QVRProcess()

QVRProcess::~QVRProcess ( )

Destructor.

Member Function Documentation

◆ config()

const QVRProcessConfig & QVRProcess::config ( ) const

Returns the configuration.

◆ id()

const QString & QVRProcess::id ( ) const

Returns the unique id.

◆ index()

int QVRProcess::index ( ) const

Returns the index of the process in the QVR configuration.

The process with index 0 is the main process.

◆ windowConfig()

const QVRWindowConfig & QVRProcess::windowConfig ( int  windowIndex) const

Returns the configuration of the window with the given index.

◆ windowId()

const QString & QVRProcess::windowId ( int  windowIndex) const

Returns the unique id of the window with the given index.


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