Skip to content

Commit

Permalink
Merge pull request #3185 from randaz81/removed_depr_visual
Browse files Browse the repository at this point in the history
Removed deprecated Interfaces
  • Loading branch information
randaz81 authored Feb 25, 2025
2 parents 9068778 + 1d7e92a commit 61700c3
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 234 deletions.
6 changes: 0 additions & 6 deletions bindings/yarp.i
Original file line number Diff line number Diff line change
Expand Up @@ -432,12 +432,6 @@ MAKE_COMMS(Bottle)
%include <yarp/dev/MultipleAnalogSensorsInterfaces.h>
#include <yarp/dev/IFrameTransform.h>

#ifndef YARP_NO_DEPRECATED // Since YARP 3.5.0
%include <yarp/dev/IFrameGrabber.h>
%include <yarp/dev/IFrameGrabberRgb.h>
#endif YARP_NO_DEPRECATED // Since YARP 3.5.0


%template(DVector) std::vector<double>;
%template(BVector) std::vector<bool>;
%template(SVector) std::vector<std::string>;
Expand Down
19 changes: 0 additions & 19 deletions src/libYARP_dev/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -140,17 +140,6 @@ if(TARGET YARP::YARP_math)
)
endif()

if(NOT YARP_NO_DEPRECATED)
list(APPEND YARP_dev_HDRS


yarp/dev/FrameGrabberInterfaces.h # DEPRECATED Since YARP 3.5.0
yarp/dev/IFrameGrabber.h # DEPRECATED Since YARP 3.5.0
yarp/dev/IFrameGrabberRgb.h # DEPRECATED Since YARP 3.5.0
yarp/dev/IVisualParams.h # DEPRECATED Since YARP 3.5.0
)
endif()

set(YARP_dev_IMPL_HDRS
yarp/dev/impl/FixedSizeBuffersManager.h
yarp/dev/impl/FixedSizeBuffersManager-inl.h
Expand Down Expand Up @@ -247,14 +236,6 @@ if(TARGET YARP::YARP_math)
)
endif()

if(NOT YARP_NO_DEPRECATED)
list(APPEND YARP_dev_SRCS
yarp/dev/IFrameGrabber.cpp # DEPRECATED Since YARP 3.5.0
yarp/dev/IFrameGrabberRgb.cpp # DEPRECATED Since YARP 3.5.0
)
endif()


# Handle the YARP thrift messages
include(YarpChooseIDL)

Expand Down
6 changes: 0 additions & 6 deletions src/libYARP_dev/src/yarp/dev/AudioVisualInterfaces.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,6 @@
#ifndef YARP_DEV_AUDIOVISUALINTERFACES_H
#define YARP_DEV_AUDIOVISUALINTERFACES_H

#ifndef YARP_NO_DEPRECATED // Since YARP 3.5.0
#define YARP_INCLUDING_DEPRECATED_HEADER_YARP_DEV_FRAMEGRABBERINTERFACES_H_ON_PURPOSE
#include <yarp/dev/FrameGrabberInterfaces.h>
#undef YARP_INCLUDING_DEPRECATED_HEADER_YARP_DEV_FRAMEGRABBERINTERFACES_H_ON_PURPOSE
#endif // YARP_NO_DEPRECATED

#include <yarp/dev/AudioGrabberInterfaces.h>

#include <yarp/dev/IAudioVisualGrabber.h>
Expand Down
31 changes: 0 additions & 31 deletions src/libYARP_dev/src/yarp/dev/FrameGrabberInterfaces.h

This file was deleted.

10 changes: 0 additions & 10 deletions src/libYARP_dev/src/yarp/dev/IFrameGrabber.cpp

This file was deleted.

68 changes: 0 additions & 68 deletions src/libYARP_dev/src/yarp/dev/IFrameGrabber.h

This file was deleted.

10 changes: 0 additions & 10 deletions src/libYARP_dev/src/yarp/dev/IFrameGrabberRgb.cpp

This file was deleted.

58 changes: 0 additions & 58 deletions src/libYARP_dev/src/yarp/dev/IFrameGrabberRgb.h

This file was deleted.

17 changes: 0 additions & 17 deletions src/libYARP_dev/src/yarp/dev/IVisualParams.h

This file was deleted.

9 changes: 0 additions & 9 deletions src/libYARP_dev/src/yarp/dev/all.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,4 @@
#endif // YARP_NO_MATH


#ifndef YARP_NO_DEPRECATED // since YARP 3.5
#define YARP_INCLUDING_DEPRECATED_HEADER_YARP_DEV_FRAMEGRABBER_H_ON_PURPOSE
#include <yarp/dev/IFrameGrabber.h>
#undef YARP_INCLUDING_DEPRECATED_HEADER_YARP_DEV_FRAMEGRABBER_H_ON_PURPOSE
#define YARP_INCLUDING_DEPRECATED_HEADER_YARP_DEV_FRAMEGRABBERRGB_H_ON_PURPOSE
#include <yarp/dev/IFrameGrabberRgb.h>
#undef YARP_INCLUDING_DEPRECATED_HEADER_YARP_DEV_FRAMEGRABBERRGB_H_ON_PURPOSE
#endif // YARP_NO_DEPRECATED

#endif // YARP_DEV_ALL_H

0 comments on commit 61700c3

Please sign in to comment.