VR-Engage  2.2
Loading...
Searching...
No Matches
makVre::DtVreWaitingPage Class Reference

Detailed Description

DtVreWaitingPage provides a UI page that is displayed when the user is waiting for a connection or operation to complete. It typically shows a waiting indicator or animation and provides the ability to cancel the operation and go back to the previous screen. This page follows the standard header/footer UI layout of VR-Engage.

#include <vreWaitingPage.h>

Inheritance diagram for makVre::DtVreWaitingPage:
[legend]

Public Slots

virtual void slot_backClicked () override
 
virtual void slot_connectionClicked () override
 

Public Member Functions

 DtVreWaitingPage (DtPlayerStationApp &app, const std::string &target_window="")
 
virtual ~DtVreWaitingPage () override
 
virtual void tick (double dt) override
 
virtual void initMain () override
 
virtual void setVideoPlaying (bool visible)
 
virtual void setVisibility (bool visible) override
 
virtual void setMenuVisibility (bool visible)
 

Additional Inherited Members

Constructor & Destructor Documentation

◆ DtVreWaitingPage()

makVre::DtVreWaitingPage::DtVreWaitingPage ( DtPlayerStationApp & app,
const std::string & target_window = "" )

Constructor.

Parameters
appReference to the player station application
target_windowName of the window to display in (empty for default)

Creates a new waiting page UI for the specified application and target window.

◆ ~DtVreWaitingPage()

virtual makVre::DtVreWaitingPage::~DtVreWaitingPage ( )
overridevirtual

Destructor.

Cleans up resources used by the waiting page.

Member Function Documentation

◆ tick()

virtual void makVre::DtVreWaitingPage::tick ( double dt)
overridevirtual

Updates the waiting page each frame.

Parameters
dtTime in seconds since the last update

Called once per frame to update the waiting page UI elements, such as progress indicators or animations.

Implements makVre::DtVreHeaderFooterUIBase.

◆ initMain()

virtual void makVre::DtVreWaitingPage::initMain ( )
overridevirtual

Initializes the main content of the page.

Sets up the main content area of the page, including any waiting indicators and cancel buttons. Called during initialization.

Implements makVre::DtVreHeaderFooterUIBase.

◆ setVideoPlaying()

virtual void makVre::DtVreWaitingPage::setVideoPlaying ( bool visible)
virtual

Controls the background video playback.

Parameters
visibleTrue to play the video, false to pause it

Controls whether any background video is playing or paused.

◆ setVisibility()

virtual void makVre::DtVreWaitingPage::setVisibility ( bool visible)
overridevirtual

Sets the visibility of the waiting page.

Parameters
visibleTrue to show the page, false to hide it

Controls whether the waiting page is visible. This override adds additional page-specific handling when visibility changes, such as updating waiting indicators or timers.

Reimplemented from makVre::DtVreHeaderFooterUIBase.

◆ setMenuVisibility()

virtual void makVre::DtVreWaitingPage::setMenuVisibility ( bool visible)
virtual

Sets the visibility of the menu part of the page.

Parameters
visibleTrue to show the menu, false to hide it

Controls whether the menu portion of the waiting page is visible. This allows showing/hiding just the menu while keeping the rest of the page visible.

◆ slot_backClicked

virtual void makVre::DtVreWaitingPage::slot_backClicked ( )
overridevirtualslot

Handles back button clicks.

Called when the back button is clicked. This typically cancels the current operation and returns to the previous screen.

◆ slot_connectionClicked

virtual void makVre::DtVreWaitingPage::slot_connectionClicked ( )
overridevirtualslot

Handles connection button clicks.

Called when the connection button is clicked. This typically initiates or retries a connection operation.


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