OTB  9.0.0
Orfeo Toolbox
otbCommandProgressUpdate.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2005-2022 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 otbCommandProgressUpdate_h
22 #define otbCommandProgressUpdate_h
23 
24 #include "itkCommand.h"
25 #include <sstream>
26 
27 namespace otb
28 {
29 
37 template <class TFilter>
38 class CommandProgressUpdate : public itk::Command
39 {
40 public:
42  typedef itk::Command Superclass;
43  typedef itk::SmartPointer<Self> Pointer;
44  itkNewMacro(Self);
45 
46 protected:
48  {
49  }
50 
51 public:
52  typedef const TFilter* FilterPointer;
53 
54  void Execute(itk::Object* caller, const itk::EventObject& event) override;
55 
56  void Execute(const itk::Object* object, const itk::EventObject& event) override;
57 };
58 
59 } // end namespace otb
60 
61 #ifndef OTB_MANUAL_INSTANTIATION
63 #endif
64 
65 #endif
otb::CommandProgressUpdate::Execute
void Execute(itk::Object *caller, const itk::EventObject &event) override
Definition: otbCommandProgressUpdate.hxx:30
otb::CommandProgressUpdate::CommandProgressUpdate
CommandProgressUpdate()
Definition: otbCommandProgressUpdate.h:47
otb::CommandProgressUpdate::Self
CommandProgressUpdate Self
Definition: otbCommandProgressUpdate.h:41
otb
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.
Definition: otbJoinContainer.h:32
otb::CommandProgressUpdate
TODO.
Definition: otbCommandProgressUpdate.h:38
otb::CommandProgressUpdate::FilterPointer
const typedef TFilter * FilterPointer
Definition: otbCommandProgressUpdate.h:52
otb::CommandProgressUpdate::Pointer
itk::SmartPointer< Self > Pointer
Definition: otbCommandProgressUpdate.h:43
otbCommandProgressUpdate.hxx
otb::CommandProgressUpdate::Superclass
itk::Command Superclass
Definition: otbCommandProgressUpdate.h:42