28 class ServiceEventData :
public SharedData
32 ServiceEventData(
const ServiceEvent::Type& type,
const ServiceReferenceBase& reference)
33 : type(type), reference(reference)
38 ServiceEventData(
const ServiceEventData& other)
39 : SharedData(other), type(other.type), reference(other.reference)
44 const ServiceEvent::Type type;
45 const ServiceReferenceBase reference;
50 ServiceEventData& operator=(
const ServiceEventData&);
53 ServiceEvent::ServiceEvent()
70 : d(new ServiceEventData(type, reference))
106 default:
return os <<
"unknown service event type (" <<
static_cast<int>(type) <<
")";
112 if (event.
IsNull())
return os <<
"NONE";
114 os <<
event.GetType();
124 os <<
" objectClass=" << classes.
ToString() <<
")";
ServiceEvent & operator=(const ServiceEvent &other)
ServiceReferenceU GetServiceReference() const
ValueType * any_cast(Any *operand)
US_Core_EXPORT std::ostream & operator<<(std::ostream &os, ModuleEvent::Type eventType)
US_Core_EXPORT const std::string & OBJECTCLASS()
std::string ToString() const
US_Core_EXPORT const std::string & SERVICE_ID()