22 #ifndef USSERVICEREGISTRATIONBASE_H
23 #define USSERVICEREGISTRATIONBASE_H
28 US_MSVC_PUSH_DISABLE_WARNING(4396)
33 class ServiceRegistrationBasePrivate;
34 class ServicePropertiesImpl;
61 typedef ServiceRegistrationBasePrivate* ServiceRegistrationBase::*bool_type;
65 ServiceRegistrationBase(
const ServiceRegistrationBase& reg);
78 operator bool_type()
const;
86 ServiceRegistrationBase& operator=(
int null);
88 ~ServiceRegistrationBase();
175 bool operator<(
const ServiceRegistrationBase& o)
const;
177 bool operator==(
const ServiceRegistrationBase& registration)
const;
179 ServiceRegistrationBase& operator=(
const ServiceRegistrationBase& registration);
184 friend class ServiceRegistry;
185 friend class ServiceReferenceBasePrivate;
189 US_HASH_FUNCTION_FRIEND(ServiceRegistrationBase);
196 ServiceRegistrationBase();
198 ServiceRegistrationBase(ServiceRegistrationBasePrivate* registrationPrivate);
200 ServiceRegistrationBase(ModulePrivate* module,
const InterfaceMap& service,
201 const ServicePropertiesImpl& props);
203 ServiceRegistrationBasePrivate* d;
211 US_HASH_FUNCTION_NAMESPACE_BEGIN
213 return
US_HASH_FUNCTION(US_PREPEND_NAMESPACE(ServiceRegistrationBasePrivate)*, arg.d);
215 US_HASH_FUNCTION_NAMESPACE_END
218 inline
std::ostream& operator<<(
std::ostream& os, const US_PREPEND_NAMESPACE(ServiceRegistrationBase)& )
220 return os <<
"US_PREPEND_NAMESPACE(ServiceRegistrationBase) object";
223 #endif // USSERVICEREGISTRATIONBASE_H
std::map< std::string, void * > InterfaceMap
MITKCORE_EXPORT bool operator==(const InteractionEvent &a, const InteractionEvent &b)
US_UNORDERED_MAP_TYPE< std::string, Any > ServiceProperties
US_MSVC_POP_WARNING US_HASH_FUNCTION_NAMESPACE_BEGIN return US_HASH_FUNCTION(us::ServiceRegistrationBasePrivate *, arg.d)