|
VR-Engage
2.3
|
DtVreSelectConnectionPage provides a user interface for selecting and configuring network connections in VR-Engage. It displays available connection protocols (DIS and HLA) and allows users to configure connection parameters. This page is typically shown during the initial setup phase or when changing connection settings.
#include <vreSelectConnectionPage.h>
Public Member Functions | |
| DtVreSelectConnectionPage (DtPlayerStationApp &app, const std::string &target_window="") | |
| virtual | ~DtVreSelectConnectionPage () override |
| virtual void | initMain () override |
| virtual void | tick (double dt) override |
| virtual DtVreMessageResult | handleNetworkDisconnected (DtVreMessage *msg) |
| virtual DtVreMessageResult | handleNetworkConnected (DtVreMessage *msg) |
| virtual void | setVisibility (bool visible) override |
Public Member Functions inherited from makVre::DtVreBaseUI | |
| DtVreBaseUI (DtPlayerStationApp &app, const std::string &file, const std::string &target_window="") | |
| virtual | ~DtVreBaseUI () override |
| QQuickItem * | root () |
| DtVreHeaderFooterUI * | headerFooterUI () |
| virtual bool | isVisible () |
| virtual void | close () |
| virtual void | open () |
| virtual bool | isMainContentVisible () |
| virtual void | setMainContentVisibility (bool visible) |
| DtVreMessageResult | handleBackButtonClicked (DtVreMessage *msg) |
| DtVreMessageResult | handleEscapeMessage (DtVreMessage *msg) |
Protected Member Functions | |
| virtual void | onConnectionClicked () override |
| virtual void | onAppModeChanged (const std::string &newAppMode, const std::string &oldAppMode) override |
| void | slot_aboutToAutoStartDrivers () |
Protected Member Functions inherited from makVre::DtVreBaseUI | |
| virtual void | connectToHeaderFooter () |
| virtual void | onPopupOpened () |
| virtual void | onPopupClosed () |
Protected Attributes | |
| bool | myIsNetworkConnected |
Protected Attributes inherited from makVre::DtVreBaseUI | |
| DtPlayerStationApp & | myApp |
| QQuickItem * | myRoot |
| std::string | myTargetWindow |
| std::string | myTargetFile |
| std::string | myMainContentId |
| makVre::DtVreSelectConnectionPage::DtVreSelectConnectionPage | ( | DtPlayerStationApp & | app, |
| const std::string & | target_window = "" ) |
Constructor.
| app | Reference to the player station application |
| target_window | Name of the window to display in (empty for default) |
|
overridevirtual |
Destructor.
|
overridevirtual |
Initializes the main content of the page.
Implements makVre::DtVreBaseUI.
|
overridevirtual |
Updates the page each frame.
| dt | Time in seconds since the last update |
Implements makVre::DtVreBaseUI.
|
virtual |
Handles network disconnection messages.
| msg | Pointer to the network disconnected message |
|
virtual |
Handles network connection messages.
| msg | Pointer to the network connected message |
|
overridevirtual |
Sets the visibility of the page.
| visible | True to show the page, false to hide it |
Reimplemented from makVre::DtVreBaseUI.
|
overrideprotectedvirtual |
When on connection page, clicking connection button navigates back.
Reimplemented from makVre::DtVreBaseUI.
|
overrideprotectedvirtual |
Updates the page when the application mode changes.
| newAppMode | Identifier of the new application mode |
| oldAppMode | Identifier of the previous application mode |
Reimplemented from makVre::DtVreBaseUI.
|
protected |
Slot called when drivers are about to auto-start.
Called when the display engine signals that drivers are about to be automatically started. This triggers requests for connection information from the network thread to update the available connections.
|
protected |
Flag indicating network connection status.
True when the network is connected, false when disconnected. Used to control UI elements based on connectivity state.