ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
rtkWatcherForResourceProbe.h
Go to the documentation of this file.
1/*=========================================================================
2 *
3 * Copyright RTK Consortium
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 * https://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 rtkWatcherForResourceProbe_h
19#define rtkWatcherForResourceProbe_h
20
21#include "RTKExport.h"
22#include <itkCommand.h>
23#include <itkProcessObject.h>
24
25namespace rtk
26{
35
36using namespace itk;
37
39{
40public:
44
47
51
54
57 const char *
59 {
60 return (m_Process ? m_Process->GetNameOfClass() : "None");
61 }
62
65 [[nodiscard]] const ProcessObject *
66 GetProcess() const
67 {
68 return m_Process;
69 }
70
71protected:
73 virtual void
75
77 virtual void
79
81 virtual void
83
84
85private:
87
92
93 unsigned long m_StartTag;
94 unsigned long m_EndTag;
95 unsigned long m_DeleteTag;
96};
97
98
99} // end namespace rtk
100
101#endif
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
A Command subclass that calls a pointer to a member function.
Definition itkCommand.h:229
WatcherForResourceProbe & operator=(const WatcherForResourceProbe &)
WatcherForResourceProbe(itk::ProcessObject *o)
WatcherForResourceProbe(const WatcherForResourceProbe &)
SimpleMemberCommand< WatcherForResourceProbe > CommandType
const ProcessObject * GetProcess() const