35 if (l ==
nullptr)
return;
47 if (l ==
nullptr)
return;
59 return notHandled.HasListeners() || postExecuteFailure.HasListeners() ||
60 postExecuteSuccess.HasListeners() || preExecute.HasListeners();
67 return !this->HasListeners();
virtual ~IExecutionListener()
virtual void PostExecuteSuccess(const QString &commandId, const Object::Pointer &returnValue)=0
virtual void PreExecute(const QString &commandId, const SmartPointer< const ExecutionEvent > &event)=0
virtual void PostExecuteFailure(const QString &commandId, const ExecutionException *exception)=0
virtual void RemoveListener(IExecutionListener *listener)
virtual void AddListener(IExecutionListener *listener)
virtual void NotHandled(const QString &commandId, const NotHandledException *exception)=0
virtual bool IsEmpty() const
virtual bool HasListeners() const