![]() |
VR-Exchange 2.8 API Documentation
|
An abstract version of a Broker Interface. More...

Public Member Functions | |
| DtGenericUserInterface () | |
| Constructor. More... | |
| virtual | ~DtGenericUserInterface () |
| Destructor. More... | |
Broker Dialog Interface | |
| virtual void | brokerStarted ()=0 |
| Called when the broker starts. More... | |
| virtual void | brokerStopped ()=0 |
| Called when the broker stops. More... | |
| virtual void | show ()=0 |
| Called when a request has been made to display the UI. More... | |
| virtual void | showConfigurationOnly () |
| Called when a request has been made to display the UI. More... | |
| virtual void | objectDiscovered (const DtBrokerObject *brokerObject)=0 |
| Function called when an object is discovered. More... | |
| virtual void | objectUpdated (const DtBrokerObject *brokerObject)=0 |
| Function called when an object is updated. More... | |
| virtual void | objectRemoved (const DtBrokerObject *brokerObject)=0 |
| Function called when an object is removed. More... | |
| virtual void | addTranslator (const char *name, bool reflectStatus, bool publishStatus, bool debugging)=0 |
| Called when a translator is added. More... | |
| virtual void | deleteTranslator (const char *name)=0 |
| Called when a translator is removed. More... | |
| virtual void | updateTranslator (const char *name, bool reflectStatus, bool publishStatus, bool debugging)=0 |
| Called when a translator's information has changed. More... | |
| virtual void | revertSettings ()=0 |
| Refreshes the GUI with the saved settings. More... | |
| virtual void | clientsUpdated () |
| Notifies that the number of clients being served has changed This is only used in client-based brokers such as WebLVC. More... | |
| virtual bool | darkModeEnabled () |
| Get the dark mode status. More... | |
| virtual void | setDarkModeEnabled (bool enable) |
| Set the boolean for the current stylesheet theme. More... | |
Protected Attributes | |
| bool | myDarkModeEnabled |
Private Member Functions | |
| DtGenericUserInterface (const DtGenericUserInterface &other) | |
| Copy constructor not implemented - cannot be copied. More... | |
| DtGenericUserInterface & | operator= (const DtGenericUserInterface &other) |
| Assignment operator not implemented - cannot be copied. More... | |
An abstract version of a Broker Interface.
|
inline |
Constructor.
|
inlinevirtual |
Destructor.
|
private |
Copy constructor not implemented - cannot be copied.
|
pure virtual |
Called when a translator is added.
Implemented in MAKVrExchange::DtQtUserInterface, MAKVrExchange::DtTextUserInterface, and MAKVrExchange::DtNullUserInterface.
|
pure virtual |
Called when the broker starts.
Depending on the type of UI, this may be a no-op. UIs who need to be updated when the broker starts can do that here.
Implemented in MAKVrExchange::DtQtUserInterface, MAKVrExchange::DtTextUserInterface, and MAKVrExchange::DtNullUserInterface.
|
pure virtual |
Called when the broker stops.
Depending on the type of UI, this may be a no-op. UIs who need to be updated when the broker stops can do that here.
Implemented in MAKVrExchange::DtQtUserInterface, MAKVrExchange::DtTextUserInterface, and MAKVrExchange::DtNullUserInterface.
|
inlinevirtual |
Notifies that the number of clients being served has changed This is only used in client-based brokers such as WebLVC.
Reimplemented in MAKVrExchange::DtQtUserInterface.
|
inlinevirtual |
Get the dark mode status.
|
pure virtual |
Called when a translator is removed.
Implemented in MAKVrExchange::DtQtUserInterface, MAKVrExchange::DtTextUserInterface, and MAKVrExchange::DtNullUserInterface.
|
pure virtual |
Function called when an object is discovered.
| [in] | brokerObject | The object discovered. |
Implemented in MAKVrExchange::DtQtUserInterface, MAKVrExchange::DtTextUserInterface, and MAKVrExchange::DtNullUserInterface.
|
pure virtual |
Function called when an object is removed.
| [in] | brokerObject | The object removed. |
Implemented in MAKVrExchange::DtQtUserInterface, MAKVrExchange::DtTextUserInterface, and MAKVrExchange::DtNullUserInterface.
|
pure virtual |
Function called when an object is updated.
| [in] | brokerObject | The object updated. |
Implemented in MAKVrExchange::DtQtUserInterface, MAKVrExchange::DtTextUserInterface, and MAKVrExchange::DtNullUserInterface.
|
private |
Assignment operator not implemented - cannot be copied.
|
pure virtual |
Refreshes the GUI with the saved settings.
Implemented in MAKVrExchange::DtQtUserInterface.
|
inlinevirtual |
Set the boolean for the current stylesheet theme.
|
pure virtual |
Called when a request has been made to display the UI.
Depending on the type of UI, this may be a no-op. Shows all parts of the interface.
Implemented in MAKVrExchange::DtQtUserInterface, MAKVrExchange::DtTextUserInterface, and MAKVrExchange::DtNullUserInterface.
|
inlinevirtual |
Called when a request has been made to display the UI.
Depending on the type of UI, this may be a no-op. Only shows the configuration relevant of the interface.
Reimplemented in MAKVrExchange::DtQtUserInterface.
|
pure virtual |
Called when a translator's information has changed.
Implemented in MAKVrExchange::DtQtUserInterface, MAKVrExchange::DtTextUserInterface, and MAKVrExchange::DtNullUserInterface.
|
protected |