20 #ifndef OMNI_INPUT_INTERFACE_H_
21 #define OMNI_INPUT_INTERFACE_H_
27 #include <QOpenGLTexture>
45 return QString(
"Input cannot have children!");
55 public PropertyMapSerializer,
56 private std::map<QString, std::unique_ptr<Interface> >{
66 using container_type::empty;
67 using container_type::begin;
68 using container_type::end;
69 using container_type::clear;
83 virtual QSize
size()
const = 0;
86 return container_type::size();
92 return size().width();
98 return size().height();
112 virtual QWidget*
widget();
145 _idCallback.second();
185 QString
path()
const;
229 #define OMNI_INPUT_INTERFACE_IID "org.omnidome.input.Interface"
233 #define OMNI_INPUT_PLUGIN_DECL \
235 Q_PLUGIN_METADATA(IID OMNI_INPUT_INTERFACE_IID) \
236 Q_INTERFACES(omni::input::Interface) \
237 OMNI_PLUGIN_TYPE("Input")
Id type for classes An Id must only contain alpha numerical characters and must begin with a letter...
Definition: Id.h:34
Definition: exception.h:71
#define OMNI_EXCEPTION(EXCEPTION)
Definition: exception.h:55
input::Factory InputFactory
Definition: Interface.h:226
Abstract Interface with a single virtual member function which returns.
Definition: TypeIdInterface.h:28
input::Interface Input
Definition: Interface.h:225
The central factory class.
Definition: factory.hpp:38