Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Main Repositories
otb
Commits
b91c0eb4
Commit
b91c0eb4
authored
Oct 03, 2022
by
Rémi Cresson
Browse files
COMP: virtual --> override, typedef --> using
parent
f8c9481b
Pipeline
#11674
canceled with stages
in 2 minutes and 57 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Modules/IO/ImageIO/include/otbStreamingBufferGenerator.h
View file @
b91c0eb4
...
...
@@ -40,10 +40,10 @@ class ITK_EXPORT StreamingBufferGenerator : public itk::ImageToImageFilter<TInpu
public:
/** Standard class typedefs. */
typedef
StreamingBufferGenerator
Self
;
typedef
itk
::
ImageToImageFilter
<
TInputImage
,
TInputImage
>
Superclass
;
typedef
itk
::
SmartPointer
<
Self
>
Pointer
;
typedef
itk
::
SmartPointer
<
const
Self
>
ConstPointer
;
using
Self
=
StreamingBufferGenerator
;
using
Superclass
=
itk
::
ImageToImageFilter
<
TInputImage
,
TInputImage
>
;
using
Pointer
=
itk
::
SmartPointer
<
Self
>
;
using
ConstPointer
=
itk
::
SmartPointer
<
const
Self
>
;
/** Method for creation through the object factory. */
itkNewMacro
(
Self
);
...
...
@@ -52,12 +52,12 @@ public:
itkTypeMacro
(
StreamingBufferGenerator
,
itk
::
ImageToImageFilter
);
/** Images typedefs */
typedef
typename
Superclass
::
InputImageType
ImageType
;
typedef
typename
Superclass
::
InputImageRegionType
RegionType
;
using
ImageType
=
typename
Superclass
::
InputImageType
;
using
RegionType
=
typename
Superclass
::
InputImageRegionType
;
/** Streaming manager base class pointer */
typedef
RAMDrivenAdaptativeStreamingManager
<
TInputImage
>
RAMDrivenAdaptativeStreamingManagerType
;
typedef
typename
RAMDrivenAdaptativeStreamingManagerType
::
Pointer
StreamingManagerPointerType
;
using
RAMDrivenAdaptativeStreamingManagerType
=
RAMDrivenAdaptativeStreamingManager
<
TInputImage
>
;
using
StreamingManagerPointerType
=
typename
RAMDrivenAdaptativeStreamingManagerType
::
Pointer
;
protected:
StreamingBufferGenerator
(){
...
...
@@ -67,15 +67,13 @@ protected:
};
~
StreamingBufferGenerator
()
override
=
default
;
virtual
void
UpdateOutputData
(
itk
::
DataObject
*
output
)
void
UpdateOutputData
(
itk
::
DataObject
*
output
)
override
{
(
void
)
output
;
this
->
GenerateData
();
}
virtual
void
GenerateData
();
void
GenerateData
()
override
;
StreamingManagerPointerType
m_StreamingManager
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment