22 #ifndef USSERVICEREFERENCEBASE_H
23 #define USSERVICEREFERENCEBASE_H
32 class ServiceRegistrationBasePrivate;
33 class ServiceReferenceBasePrivate;
59 operator bool_type()
const;
86 Any GetProperty(
const std::string& key)
const;
100 void GetPropertyKeys(std::vector<std::string>& keys)
const;
116 Module* GetModule()
const;
127 void GetUsingModules(std::vector<Module*>& modules)
const;
139 std::string GetInterfaceId()
const;
153 bool IsConvertibleTo(
const std::string& interfaceid)
const;
186 friend class ModulePrivate;
188 friend class ModuleHooks;
189 friend class ServiceHooks;
191 friend class ServiceObjectsBasePrivate;
193 friend class ServiceRegistrationBasePrivate;
194 friend class ServiceListeners;
195 friend class ServiceRegistry;
202 std::size_t
Hash()
const;
213 void SetInterfaceId(
const std::string& interfaceId);
215 ServiceReferenceBasePrivate* d;
234 #endif // USSERVICEREFERENCEBASE_H