OTB  6.7.0
Orfeo Toolbox
mvdProcessObjectObserver.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2005-2019 Centre National d'Etudes Spatiales (CNES)
3  *
4  * This file is part of Orfeo Toolbox
5  *
6  * https://www.orfeo-toolbox.org/
7  *
8  * Licensed under the Apache License, Version 2.0 (the "License");
9  * you may not use this file except in compliance with the License.
10  * You may obtain a copy of the License at
11  *
12  * http://www.apache.org/licenses/LICENSE-2.0
13  *
14  * Unless required by applicable law or agreed to in writing, software
15  * distributed under the License is distributed on an "AS IS" BASIS,
16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * See the License for the specific language governing permissions and
18  * limitations under the License.
19  */
20 
21 #ifndef mvdProcessObjectObserver_h
22 #define mvdProcessObjectObserver_h
23 
24 //
25 // Configuration include.
27 #include "ConfigureMonteverdi.h"
28 
29 #include "OTBMonteverdiCoreExport.h"
30 
31 /*****************************************************************************/
32 /* INCLUDE SECTION */
33 
34 //
35 // Qt includes (sorted by alphabetic order)
37 #include <QtCore>
38 
39 //
40 // System includes (sorted by alphabetic order)
41 
42 //
43 // ITK includes (sorted by alphabetic order)
44 #include <itkCommand.h>
45 
46 //
47 // OTB includes (sorted by alphabetic order)
48 
49 //
50 // Monteverdi includes (sorted by alphabetic order)
51 
52 
53 /*****************************************************************************/
54 /* PRE-DECLARATION SECTION */
55 
56 //
57 // External classes pre-declaration.
58 namespace
59 {
60 }
61 
62 namespace mvd
63 {
64 //
65 // Internal classes pre-declaration.
66 class ProgressInterface;
67 
68 /*****************************************************************************/
69 /* CLASS DEFINITION SECTION */
70 
78 class OTBMonteverdiCore_EXPORT ProcessObjectObserver :
79  public itk::Command
80 {
81 
82  /*-[ QOBJECT SECTION ]-----------------------------------------------------*/
83 
84  // Q_OBJECT;
85 
86  /*-[ PUBLIC SECTION ]------------------------------------------------------*/
87 
88 //
89 // Public types.
90 public:
94 
95  itkNewMacro( Self );
96 
97 //
98 // Public methods.
99 public:
100 
102  ~ProcessObjectObserver() override;
103 
104  const ProgressInterface * GetProgressInterface() const;
105  ProgressInterface * GetProgressInterface();
106 
107  void SetProgressInterface( ProgressInterface * );
108 
109  //
110  // itk::Command overloads.
111 
112  void Execute( itk::Object * caller,
113  const itk::EventObject & event ) override;
114 
115  void Execute( const itk::Object * caller,
116  const itk::EventObject & event ) override;
117 
118  /*-[ PUBLIC SLOTS SECTION ]------------------------------------------------*/
119 
120 //
121 // Public SLOTS.
122 public slots:
123 
124  /*-[ SIGNALS SECTION ]-----------------------------------------------------*/
125 
126 //
127 // Signals.
128 signals:
129 
130  /*-[ PROTECTED SECTION ]---------------------------------------------------*/
131 
132 //
133 // Protected methods.
134 protected:
135 
138 
139 //
140 // Protected attributes.
141 protected:
142 
143  /*-[ PRIVATE SECTION ]-----------------------------------------------------*/
144 
145 //
146 // Private methods.
147 private:
149 
150 //
151 // Private attributes.
152 private:
153 
154  /*-[ PRIVATE SLOTS SECTION ]-----------------------------------------------*/
155 
156 //
157 // Slots.
158 private slots:
159 };
160 
161 } // end namespace 'mvd'.
162 
163 /*****************************************************************************/
164 /* INLINE SECTION */
165 
166 //
167 // Qt includes (sorted by alphabetic order)
169 
170 //
171 // System includes (sorted by alphabetic order)
172 
173 //
174 // ITK includes (sorted by alphabetic order)
175 
176 //
177 // OTB includes (sorted by alphabetic order)
178 
179 //
180 // Monteverdi includes (sorted by alphabetic order)
181 
182 namespace mvd
183 {
184 } // end namespace 'mvd'
185 
186 #endif // mvdProcessObjectObserver_h
itk::SmartPointer< Self > Pointer
int Execute(int argc, char *argv[])