File tree Expand file tree Collapse file tree 5 files changed +1
-22
lines changed Expand file tree Collapse file tree 5 files changed +1
-22
lines changed Original file line number Diff line number Diff line change 33
33
#include < stdint.h>
34
34
35
35
#include < libfreenect2/config.h>
36
- #define LIBFREENECT2_SETCONFIGURATION_COMPAT_INTERNAL
37
36
#include < libfreenect2/libfreenect2.hpp>
38
37
#include < libfreenect2/frame_listener.hpp>
39
38
#include < libfreenect2/packet_processor.h>
@@ -53,7 +52,7 @@ struct DepthPacket
53
52
/* * Class for processing depth information. */
54
53
typedef PacketProcessor<DepthPacket> BaseDepthPacketProcessor;
55
54
56
- class DepthPacketProcessor : public ConfigPacketProcessor , public BaseDepthPacketProcessor
55
+ class DepthPacketProcessor : public BaseDepthPacketProcessor
57
56
{
58
57
public:
59
58
typedef Freenect2Device::Config Config;
Original file line number Diff line number Diff line change @@ -365,19 +365,6 @@ class LIBFREENECT2_API Freenect2Device
365
365
virtual void close () = 0;
366
366
};
367
367
368
- /* * Deprecated method to configure packet processors
369
- * @deprecated Use Freenect2Device::setConfiguration() instead.
370
- *
371
- * Usage of `pipeline->getDepthPacketProcessor()->setConfiguration(config)`
372
- * should be converted to `device->setConfiguration(config)`
373
- */
374
- class ConfigPacketProcessor
375
- {
376
- public:
377
- typedef Freenect2Device::Config Config;
378
- LIBFREENECT2_DEPRECATED virtual void setConfiguration (const Config &config) = 0;
379
- };
380
-
381
368
class Freenect2Impl ;
382
369
383
370
/* *
Original file line number Diff line number Diff line change @@ -39,11 +39,6 @@ class RgbPacketProcessor;
39
39
class DepthPacketProcessor ;
40
40
class PacketPipelineComponents ;
41
41
42
- class ConfigPacketProcessor ;
43
- #ifndef LIBFREENECT2_SETCONFIGURATION_COMPAT_INTERNAL
44
- #define DepthPacketProcessor ConfigPacketProcessor
45
- #endif
46
-
47
42
/* * @defgroup pipeline Packet Pipelines
48
43
* Implement various methods to decode color and depth images with different performance and platform support
49
44
*
Original file line number Diff line number Diff line change 34
34
#include < cmath>
35
35
#define WRITE_LIBUSB_ERROR (__RESULT ) libusb_error_name(__RESULT) << " " << libusb_strerror((libusb_error)__RESULT)
36
36
37
- #define LIBFREENECT2_SETCONFIGURATION_COMPAT_INTERNAL
38
37
#include < libfreenect2/libfreenect2.hpp>
39
38
40
39
#include < libfreenect2/usb/event_loop.h>
Original file line number Diff line number Diff line change 26
26
27
27
/* * @file packet_pipeline.cpp Packet pipeline implementation. */
28
28
29
- #define LIBFREENECT2_SETCONFIGURATION_COMPAT_INTERNAL
30
29
#include < libfreenect2/packet_pipeline.h>
31
30
#include < libfreenect2/async_packet_processor.h>
32
31
#include < libfreenect2/data_callback.h>
You can’t perform that action at this time.
0 commit comments