|
MIRA
|
Use this class instead of a string property whenever your module has a service as property. More...
#include <fw/ServiceProperty.h>
Public Member Functions | |
| ServiceProperty () | |
| ServiceProperty (const ServiceProperty &other) | |
| ServiceProperty (const std::string &interface) | |
| Constructor where the interface is specified that the service must implement. More... | |
| template<typename Reflector > | |
| void | reflect (Reflector &r) |
| void | reflect (XMLDeserializer &r) |
| bool | operator== (const ServiceProperty &other) const |
| bool | operator!= (const ServiceProperty &other) const |
| ServiceProperty & | operator= (const ServiceProperty &other) |
| ServiceProperty & | operator= (const std::string &s) |
| const std::string & | getService () const |
| Return the service that is associated with this property. More... | |
| void | setInterface (const std::string &interface) |
| Sets the interface a service must implement. More... | |
| const std::string & | getInterface () const |
| Return the interface a service must implement. More... | |
| operator std::string () const | |
| bool | isEmpty () const |
| bool | empty () const |
| bool | isValid () const |
Use this class instead of a string property whenever your module has a service as property.
When the user clicks on that property a dialog will open where he can select a service that implements the given interface out of all existing ones.
|
inline |
|
inline |
|
inlineexplicit |
Constructor where the interface is specified that the service must implement.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Return the service that is associated with this property.
|
inline |
Sets the interface a service must implement.
|
inline |
Return the interface a service must implement.
|
inline |
|
inline |
|
inline |
|
inline |
1.8.14