20 #include <gz/utils/ImplPtr.hh>
30 inline namespace SDF_VERSION_NAMESPACE {
101 GZ_UTILS_IMPL_PTR(dataPtr)
Errors Load(ElementPtr _sdf)
Load the gui based on a element pointer.
void ClearPlugins()
Remove all plugins.
void AddPlugin(const Plugin &_plugin)
Add a plugin to this object.
const Plugin * PluginByIndex(const uint64_t _index) const
Get a plugin based on an index.
Gui()
Default constructor.
sdf::ElementPtr Element() const
Get a pointer to the SDF element that was used during load.
const sdf::Plugins & Plugins() const
Get the plugins attached to this object.
bool operator==(const Gui &_gui) const
Equality operator that returns true if this Gui instance equals the given Gui instance.
bool Fullscreen() const
Get whether the Gui should be fullscreen.
void SetFullscreen(const bool _fullscreen)
Set whether the Gui should be full screen.
sdf::Plugins & Plugins()
Get a mutable vector of plugins attached to this object.
uint64_t PluginCount() const
Get the number of plugins.
sdf::ElementPtr ToElement() const
Create and return an SDF element filled with data from this gui.
std::vector< Plugin > Plugins
A vector of Plugin.
Definition: Plugin.hh:245
std::vector< Error > Errors
A vector of Error.
Definition: Types.hh:95
std::shared_ptr< Element > ElementPtr
Definition: Element.hh:55
namespace for Simulation Description Format parser
Definition: Actor.hh:35
#define SDFORMAT_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system_util.hh:25