The method ListenerRegistered (Interactor *interactor) of the class mitkGlobalInteraction takes the same argumenttype as the InteractorRegistered (Interactor *interactor), although the add and remove method AddListener (StateMachine *listener) and RemoveListener (StateMachine *listener) use a different type. This causes a problem since a StateMachine can be a listener as well, but cannot be checked by the method ListenerRegistered().
Simple solution: changing the type of the parameter