Orfeo Toolbox
3.16
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
OTB
Code
ApplicationEngine
otbWrapperAddProcessToWatchEvent.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: ORFEO Toolbox
4
Language: C++
5
Date: $Date$
6
Version: $Revision$
7
8
9
Copyright (c) Centre National d'Etudes Spatiales. All rights reserved.
10
See OTBCopyright.txt for details.
11
12
13
This software is distributed WITHOUT ANY WARRANTY; without even
14
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15
PURPOSE. See the above copyright notices for more information.
16
17
=========================================================================*/
18
#ifndef __otbWrapperAddProcessToWatchEvent_h
19
#define __otbWrapperAddProcessToWatchEvent_h
20
21
#include "
itkEventObject.h
"
22
#include "
itkProcessObject.h
"
23
24
namespace
otb
25
{
26
namespace
Wrapper
27
{
28
34
class
ITK_EXPORT
AddProcessToWatchEvent
:
public
itk::EventObject
35
{
36
public
:
37
38
typedef
AddProcessToWatchEvent
Self
;
39
typedef
itk::EventObject
Superclass
;
40
41
AddProcessToWatchEvent
(){}
42
AddProcessToWatchEvent
(
const
Self
& s) :itk::EventObject(s){};
43
virtual
~AddProcessToWatchEvent
() {}
44
46
virtual
void
SetProcess(
itk::ProcessObject
* process)
47
{
48
m_Process = process;
49
}
50
virtual
itk::ProcessObject
* GetProcess()
const
51
{
52
return
m_Process;
53
}
54
56
virtual
void
SetProcessDescription(
const
std::string desc)
57
{
58
m_ProcessDescription = desc;
59
}
60
61
virtual
std::string GetProcessDescription()
const
62
{
63
return
m_ProcessDescription;
64
}
65
67
virtual
itk::EventObject
* MakeObject()
const
68
{
69
return
new
Self
;
70
}
71
72
virtual
const
char
* GetEventName()
const
73
{
74
return
"AddProcess"
;
75
}
76
virtual
bool
CheckEvent(
const
itk::EventObject
* e)
const
77
{
78
return
dynamic_cast<
const
Self
*
>
(e);
79
}
80
81
private
:
82
itk::ProcessObject::Pointer
m_Process
;
83
std::string
m_ProcessDescription
;
84
};
85
86
}
87
}
88
89
#endif
Generated at Sun Feb 3 2013 00:59:06 for
Orfeo Toolbox
with
doxygen 1.8.1.1