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>
◆ DtVreWaitingPage()
| makVre::DtVreWaitingPage::DtVreWaitingPage |
( |
DtPlayerStationApp & | app, |
|
|
const std::string & | target_window = "" ) |
Constructor.
- Parameters
-
| app | Reference to the player station application |
| target_window | Name 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.
◆ tick()
| virtual void makVre::DtVreWaitingPage::tick |
( |
double | dt | ) |
|
|
overridevirtual |
Updates the waiting page each frame.
- Parameters
-
| dt | Time 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
-
| visible | True 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
-
| visible | True 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
-
| visible | True 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: