|
orca-robotics
INTRODUCTION
Overview
Download and Install
Documentation
REPOSITORY
Interfaces
Drivers
Libraries
Utilities
Software Map
DEVELOPER
Dashboard
PEOPLE
Contributors
Users
Project
Download
Mailing lists
|
|
|
hydroqgui::IGuiElementFactory Class Reference#include <iguielementfactory.h>
Inherits hydroutil::Uncopyable.
Inheritance diagram for hydroqgui::IGuiElementFactory:
[legend]List of all members.
Detailed Description
Intended as a base class for plug-in Gui Element factories.
Member Function Documentation
|
Creates a GuiElement using the elementType and elementDetails information. The elementType must be in the list of supportedElementTypes_. ElementDetails contains the connection details relevant to interfaces to be set up within the element. ElementDetails is a list of strings that look like this: interface/component Returns a NULL pointer if something goes wrong The factory should set a colour with guiElement->setColor, possibly using the suggested color. |
bool hydroqgui::IGuiElementFactory::isSupported |
( |
const QString & |
elementType |
) |
const |
|
|
Returns TRUE if the specified list of interface types is supported by this factory. Use addSupportedType() to define a list of supported types during initialization. |
virtual bool hydroqgui::IGuiElementFactory::lookupElementType |
( |
const QStringList & |
ids, |
|
|
QString & |
elementType |
|
) |
const [pure virtual] |
|
|
Looks up the elementType corresponding to the ids coming back from the required interfaces when connecting through clicking on the registry view. Example: 'ids' orca::LaserScanner2d maps to 'elementType' LaserScanner2d Needs to be augmented only for complicated elementTypes which have more than one interface. Returns true if an elementType was found otherwise false. |
std::vector< QString > hydroqgui::IGuiElementFactory::supportedElementTypes |
( |
|
) |
const |
|
|
Returns a vector of all supported interface types. Use addSupportedType() to define a list of supported types during initialization. |
The documentation for this class was generated from the following files:
|
|