#include <Gui.hh>
◆ Gui()
◆ AddPlugin()
void sdf::v12::Gui::AddPlugin |
( |
const Plugin & |
_plugin | ) |
|
Add a plugin to this object.
- Parameters
-
◆ ClearPlugins()
void sdf::v12::Gui::ClearPlugins |
( |
| ) |
|
◆ Element()
Get a pointer to the SDF element that was used during load.
- Returns
- SDF element pointer. The value will be nullptr if Load has not been called.
◆ Fullscreen()
bool sdf::v12::Gui::Fullscreen |
( |
| ) |
const |
Get whether the Gui should be fullscreen.
- Returns
- True if the Gui should be fullscreen.
◆ Load()
Load the gui based on a element pointer.
This is not the usual entry point. Typical usage of the SDF DOM is through the Root object.
- Parameters
-
- Returns
- Errors, which is a vector of Error objects. Each Error includes an error code and message. An empty vector indicates no error.
◆ operator==()
bool sdf::v12::Gui::operator== |
( |
const Gui & |
_gui | ) |
const |
Equality operator that returns true if this Gui instance equals the given Gui instance.
- Parameters
-
[in] | _gui | Gui instance to compare. |
- Returns
- True if this instance equals the given Gui.
◆ PluginByIndex()
const Plugin* sdf::v12::Gui::PluginByIndex |
( |
const uint64_t |
_index | ) |
const |
Get a plugin based on an index.
- Parameters
-
[in] | _index | Index of the plugin. The index should be in the range [0..PluginCount()). |
- Returns
- Pointer to the plugin. Nullptr if the index does not exist.
- See also
- uint64_t PluginCount() const
◆ PluginCount()
uint64_t sdf::v12::Gui::PluginCount |
( |
| ) |
const |
Get the number of plugins.
- Returns
- Number of plugins contained in this Gui object.
◆ Plugins() [1/2]
Get a mutable vector of plugins attached to this object.
- Returns
- A vector of Plugin, which will be empty if there are no plugins.
◆ Plugins() [2/2]
Get the plugins attached to this object.
- Returns
- A vector of Plugin, which will be empty if there are no plugins.
◆ SetFullscreen()
void sdf::v12::Gui::SetFullscreen |
( |
const bool |
_fullscreen | ) |
|
Set whether the Gui should be full screen.
- Parameters
-
[in] | _fullscreen | True indicates that the Gui should be fullscreen. |
◆ ToElement()
Create and return an SDF element filled with data from this gui.
Note that parameter passing functionality is not captured with this function.
- Returns
- SDF element pointer with updated gui values.
The documentation for this class was generated from the following file: