22 #ifndef USSERVICELISTENERHOOK_H
23 #define USSERVICELISTENERHOOK_H
34 class ServiceListenerEntry;
50 class ListenerInfoData;
62 ListenerInfo(
const ListenerInfo& other);
66 ListenerInfo& operator=(
const ListenerInfo& other);
90 std::string GetFilter()
const;
111 bool IsRemoved()
const;
125 bool operator==(
const ListenerInfo& other)
const;
129 friend class ServiceListenerEntry;
133 ListenerInfo(ListenerInfoData* data);
135 ExplicitlySharedDataPointer<ListenerInfoData> d;
138 virtual ~ServiceListenerHook();
151 virtual void Added(
const std::vector<ListenerInfo>& listeners) = 0;
162 virtual void Removed(
const std::vector<ListenerInfo>& listeners) = 0;
static ModuleContext * GetModuleContext()
Returns the module context of the calling module.
MITKCORE_EXPORT bool operator==(const InteractionEvent &a, const InteractionEvent &b)
#define US_BEGIN_NAMESPACE
#define US_HASH_FUNCTION_NAMESPACE_END
#define US_HASH_FUNCTION_BEGIN(type)
#define US_HASH_FUNCTION_FRIEND(type)
#define US_PREPEND_NAMESPACE(name)
#define US_HASH_FUNCTION_END
#define US_HASH_FUNCTION_NAMESPACE_BEGIN
US_MSVC_POP_WARNING US_HASH_FUNCTION_NAMESPACE_BEGIN return US_HASH_FUNCTION(us::ServiceRegistrationBasePrivate *, arg.d)