SimpleITK  
sitkEvent.h
Go to the documentation of this file.
1/*=========================================================================
2 *
3 * Copyright NumFOCUS
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0.txt
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 *
17 *=========================================================================*/
18#ifndef sitkEvent_h
19#define sitkEvent_h
20
21#include "sitkCommon.h"
22#include <ostream>
23
24namespace itk::simple
25{
26
65
66#ifndef SWIG
67SITKCommon_EXPORT std::ostream &
68 operator<<(std::ostream & os, const EventEnum k);
69#endif
70
71} // namespace itk::simple
72
73#endif
SITKCommon_EXPORT std::ostream & operator<<(std::ostream &os, const EventEnum k)
EventEnum
Events which can be observed from ProcessObject.
Definition sitkEvent.h:32
@ sitkProgressEvent
Occurs when the progress changes in most process objects.
Definition sitkEvent.h:50
@ sitkAnyEvent
Occurs for all event types.
Definition sitkEvent.h:35
@ sitkAbortEvent
Occurs after the process has been aborted, but before exiting the Execute method.
Definition sitkEvent.h:38
@ sitkStartEvent
Occurs when then itk::ProcessObject is starting.
Definition sitkEvent.h:53
@ sitkUserEvent
Other events may fall into this enumeration.
Definition sitkEvent.h:63
@ sitkMultiResolutionIterationEvent
Occurs when some filters change processing to a different scale.
Definition sitkEvent.h:60
@ sitkEndEvent
Occurs at then end of normal processing.
Definition sitkEvent.h:44
@ sitkDeleteEvent
Occurs when the underlying itk::ProcessObject is deleted.
Definition sitkEvent.h:41
@ sitkIterationEvent
Occurs with some algorithms that run for a fixed or undetermined number of iterations.
Definition sitkEvent.h:47
#define SITKCommon_EXPORT
Definition sitkCommon.h:41