6 #ifndef __PBIO_API__PBIO__SMART_PTR_H_
7 #define __PBIO_API__PBIO__SMART_PTR_H_
11 #define __FACE_SDK_PBIO_LIGHT_SHARED_PTR_CHECK_NULL_USE__e8dbe74d9bf04bfa9d97e90c29e858f5
14 #if defined( PBIO_OPENCV_SMART_POINTER )
17 #include <opencv2/core/core.hpp>
19 #elif defined( PBIO_BOOST_SMART_POINTER )
22 #include <boost/shared_ptr.hpp>
24 #elif defined( PBIO_CXX11_SMART_POINTER )
32 #include "shared_ptr/heavy_shared_ptr.h"
36 #include "shared_ptr/light_shared_ptr.h"
49 #if defined( PBIO_OPENCV_SMART_POINTER )
51 typedef cv::Ptr<T> tPtr;
53 #elif defined( PBIO_BOOST_SMART_POINTER )
55 typedef boost::shared_ptr<T> tPtr;
57 #elif defined( PBIO_CXX11_SMART_POINTER )
59 typedef std::shared_ptr<T> tPtr;
63 typedef pbio::cv_smart_ptr::cv::Ptr<T> tPtr;
75 typedef typename HeavySmartPtr<T>::tPtr tPtr;
87 typedef pbio::light_shared_ptr<T> tPtr;
95 #endif // __PBIO_API__PBIO__SMART_PTR_H_
Definition: SmartPtr.h:84
Definition: SmartPtr.h:45
Definition: SmartPtr.h:73