diff --git a/src/capture_image.h b/src/capture_image.h index 9f5126ce7e5fe5d25992de9e8dc4244cf109c88d..6cd3a0b3d202c62bf8fdbf89c396ec49bd61087f 100644 --- a/src/capture_image.h +++ b/src/capture_image.h @@ -32,11 +32,6 @@ class CaptureImage : public CaptureBase public: CaptureImage(const TimeStamp& _ts, SensorCamera::Ptr _camera_ptr, cv::Mat _data_cv); - - /** \brief Default destructor (not recommended) - * - * Default destructor (please use destruct() instead of delete for guaranteeing the wolf tree integrity) - */ virtual ~CaptureImage(); virtual const cv::Mat& getImage() const; diff --git a/src/capture_laser_2D.h b/src/capture_laser_2D.h index 314ed3160c7529c352a608132c3da5c58aff58ec..80fdfc47fec927024efa6fdfd1c6ce9c4fafd4c6 100644 --- a/src/capture_laser_2D.h +++ b/src/capture_laser_2D.h @@ -21,11 +21,6 @@ class CaptureLaser2D : public CaptureBase /** \brief Constructor with ranges **/ CaptureLaser2D(const TimeStamp& _ts, SensorBasePtr _sensor_ptr, const std::vector<float>& _ranges); - - /** \brief Default destructor (not recommended) - * - * Default destructor (please use destruct() instead of delete for guaranteeing the wolf tree integrity) - **/ virtual ~CaptureLaser2D(); laserscanutils::LaserScan& getScan(); diff --git a/src/capture_void.h b/src/capture_void.h index 2d6b23f932b075bbf6937b0953344e551315d965..1b0602fa1645b6a18d5b86a81c9b71efadf4373a 100644 --- a/src/capture_void.h +++ b/src/capture_void.h @@ -12,12 +12,6 @@ class CaptureVoid : public CaptureBase { public: CaptureVoid(const TimeStamp& _ts, SensorBasePtr _sensor_ptr); - - /** \brief Default destructor (not recommended) - * - * Default destructor (please use destruct() instead of delete for guaranteeing the wolf tree integrity) - * - **/ virtual ~CaptureVoid(); }; diff --git a/src/constraint_AHP.h b/src/constraint_AHP.h index a88a7259ba3690eb8cccf66815b9c3dd32a940e4..fa160656d2aa40132d1c6ead69e4db65fab3a304 100644 --- a/src/constraint_AHP.h +++ b/src/constraint_AHP.h @@ -40,11 +40,6 @@ class ConstraintAHP : public ConstraintSparse<2, 3, 4, 3, 4, 4> distortion_ = (std::static_pointer_cast<SensorCamera>(_ftr_ptr->getCapturePtr()->getSensorPtr()))->getDistortionVector(); } - /** \brief Default destructor (not recommended) - * - * Default destructor (please use destruct() instead of delete for guaranteeing the wolf tree integrity) - * - **/ virtual ~ConstraintAHP() { // diff --git a/src/constraint_analytic.h b/src/constraint_analytic.h index ea4e668053d268acd101ddc63d8322beb226c5aa..e2b95a90256594be51f7342f48c47c343ca28ab1 100644 --- a/src/constraint_analytic.h +++ b/src/constraint_analytic.h @@ -84,11 +84,6 @@ class ConstraintAnalytic: public ConstraintBase StateBlock* _state8Ptr = nullptr, StateBlock* _state9Ptr = nullptr ) ; - /** \brief Default destructor (not recommended) - * - * Default destructor (please use destruct() instead of delete for guaranteeing the wolf tree integrity) - * - **/ virtual ~ConstraintAnalytic(); /** \brief Returns a vector of pointers to the state blocks diff --git a/src/constraint_container.h b/src/constraint_container.h index b055fd1f9827688203b8b236210090bb1b5f24b2..9da4469e7f1e4fbf38ac4a1b00b4f5e6f316c355 100644 --- a/src/constraint_container.h +++ b/src/constraint_container.h @@ -28,11 +28,6 @@ class ConstraintContainer: public ConstraintSparse<3,2,1,2,1> std::cout << "new constraint container: corner idx = " << corner_ << std::endl; } - /** \brief Default destructor (not recommended) - * - * Default destructor (please use destruct() instead of delete for guaranteeing the wolf tree integrity) - * - **/ virtual ~ConstraintContainer() { //std::cout << "deleting ConstraintContainer " << nodeId() << std::endl; diff --git a/src/constraint_corner_2D.h b/src/constraint_corner_2D.h index b61db7a4e2242ed25db3dcf4ef9e7dfbde570aa7..06186d63b2aff9de9c8d838778feead34795420f 100644 --- a/src/constraint_corner_2D.h +++ b/src/constraint_corner_2D.h @@ -17,11 +17,6 @@ class ConstraintCorner2D: public ConstraintSparse<3,2,1,2,1> setType("CORNER 2D"); } - /** \brief Default destructor (not recommended) - * - * Default destructor (please use destruct() instead of delete for guaranteeing the wolf tree integrity) - * - **/ virtual ~ConstraintCorner2D() { //std::cout << "deleting ConstraintCorner2D " << nodeId() << std::endl; diff --git a/src/constraint_gps_2D.h b/src/constraint_gps_2D.h index 09d5c78f839a40f38f5150ee8e6842e11141e8a6..6427bcb5fb2db7dd733ba1ee9162589e6af4f9aa 100644 --- a/src/constraint_gps_2D.h +++ b/src/constraint_gps_2D.h @@ -20,11 +20,6 @@ class ConstraintGPS2D : public ConstraintSparse<2, 2> setType("GPS FIX 2D"); } - /** \brief Default destructor (not recommended) - * - * Default destructor (please use destruct() instead of delete for guaranteeing the wolf tree integrity) - * - **/ virtual ~ConstraintGPS2D() { // diff --git a/src/constraint_gps_pseudorange_2D.h b/src/constraint_gps_pseudorange_2D.h index 4e4acc20bbc0a30268bb367ebf8f2c35f2238964..2cb40e0f3d270b7e50c29fd1f809d1eb5f329b96 100644 --- a/src/constraint_gps_pseudorange_2D.h +++ b/src/constraint_gps_pseudorange_2D.h @@ -46,11 +46,6 @@ public: //std::cout << "ConstraintGPSPseudorange2D() pr=" << pseudorange_ << "\tsat_pos=(" << sat_position_[0] << ", " << sat_position_[1] << ", " << sat_position_[2] << ")" << std::endl; } - /** \brief Default destructor (not recommended) - * - * Default destructor (please use destruct() instead of delete for guaranteeing the wolf tree integrity) - * - **/ virtual ~ConstraintGPSPseudorange2D() { //std::cout << "deleting ConstraintGPSPseudorange2D " << nodeId() << std::endl; diff --git a/src/constraint_gps_pseudorange_3D.h b/src/constraint_gps_pseudorange_3D.h index c971689ce90d67d9eb34ee94160347d6ac0e50c2..f03a94e191b7af5fa2d4622c0c9afc60f79a7502 100644 --- a/src/constraint_gps_pseudorange_3D.h +++ b/src/constraint_gps_pseudorange_3D.h @@ -42,11 +42,6 @@ public: } - /** \brief Default destructor (not recommended) - * - * Default destructor (please use destruct() instead of delete for guaranteeing the wolf tree integrity) - * - **/ virtual ~ConstraintGPSPseudorange3D() { //std::cout << "deleting ConstraintGPSPseudorange3D " << nodeId() << std::endl; diff --git a/src/constraint_imu.h b/src/constraint_imu.h index fd5bdd706903baf413cecdb8a14f0abe5639de18..15e04ae10f036f4d0bc3a792c0894c8d9ae37357 100644 --- a/src/constraint_imu.h +++ b/src/constraint_imu.h @@ -18,10 +18,6 @@ class ConstraintIMU : public ConstraintSparse<9, 3, 4, 3, 3, 3, 3, 4, 3> ConstraintIMU(FeatureIMU::Ptr _ftr_ptr, FrameIMU::Ptr _frame_ptr, bool _apply_loss_function = false, ConstraintStatus _status = CTR_ACTIVE); - /** \brief Default destructor (not recommended) - * - * Default destructor (please use destruct() instead of delete for guaranteeing the wolf tree integrity) - **/ virtual ~ConstraintIMU(); template<typename T> diff --git a/src/constraint_odom_2D.h b/src/constraint_odom_2D.h index 8a992e545071e32947b26215d4f1daa1ae7f803d..e2a11fd319779bfcfa22f359910b1655270ab14a 100644 --- a/src/constraint_odom_2D.h +++ b/src/constraint_odom_2D.h @@ -18,11 +18,6 @@ class ConstraintOdom2D : public ConstraintSparse<3, 2, 1, 2, 1> setType("ODOM 2D"); } - /** \brief Default destructor (not recommended) - * - * Default destructor (please use destruct() instead of delete for guaranteeing the wolf tree integrity) - * - **/ virtual ~ConstraintOdom2D() { // diff --git a/src/constraint_odom_2D_analytic.h b/src/constraint_odom_2D_analytic.h index 4c0bdbea41d856ccbcf248e11a1768346f471a94..45beb38e8e8c5c22bb8d8b35a2af50436f090f49 100644 --- a/src/constraint_odom_2D_analytic.h +++ b/src/constraint_odom_2D_analytic.h @@ -16,11 +16,6 @@ class ConstraintOdom2DAnalytic : public ConstraintRelative2DAnalytic setType("ODOM 2D ANALYTIC"); } - /** \brief Default destructor (not recommended) - * - * Default destructor (please use destruct() instead of delete for guaranteeing the wolf tree integrity) - * - **/ virtual ~ConstraintOdom2DAnalytic() { // diff --git a/src/constraint_point_2D.h b/src/constraint_point_2D.h index 71f03c3fdde9917343cb808d29dd77c001df70f4..d2ac0da0c725ce4e2e6248bcc831ad91aaed2f27 100644 --- a/src/constraint_point_2D.h +++ b/src/constraint_point_2D.h @@ -32,11 +32,6 @@ class ConstraintPoint2D: public ConstraintSparse<2,2,1,2,1,2> measurement_sqrt_information_ = measurement_sqrt_covariance.inverse().transpose(); // retrieve factor U in the decomposition } - /** \brief Default destructor (not recommended) - * - * Default destructor (please use destruct() instead of delete for guaranteeing the wolf tree integrity) - * - **/ virtual ~ConstraintPoint2D() { //std::cout << "deleting ConstraintPoint2D " << nodeId() << std::endl; diff --git a/src/constraint_point_to_line_2D.h b/src/constraint_point_to_line_2D.h index 26ffb7045cb08eeab17f7124890d7756e4215b14..e7b0841406ec6e37f813b894b51ddf607dfbbcd9 100644 --- a/src/constraint_point_to_line_2D.h +++ b/src/constraint_point_to_line_2D.h @@ -33,11 +33,6 @@ class ConstraintPointToLine2D: public ConstraintSparse<1,2,1,2,1,2,2> measurement_sqrt_information_ = measurement_sqrt_covariance.inverse().transpose(); // retrieve factor U in the decomposition } - /** \brief Default destructor (not recommended) - * - * Default destructor (please use destruct() instead of delete for guaranteeing the wolf tree integrity) - * - **/ virtual ~ConstraintPointToLine2D() { //std::cout << "deleting ConstraintPoint2D " << nodeId() << std::endl; diff --git a/src/constraint_relative_2D_analytic.h b/src/constraint_relative_2D_analytic.h index 469ee9140bf163d2baab0453d8bf96fac865cd4a..d9f88ff274967d5e6a74b43e7bbd6d42836a8e54 100644 --- a/src/constraint_relative_2D_analytic.h +++ b/src/constraint_relative_2D_analytic.h @@ -36,10 +36,6 @@ class ConstraintRelative2DAnalytic : public ConstraintAnalytic // } - /** \brief Default destructor (not recommended) - * - * Default destructor (please use destruct() instead of delete for guaranteeing the wolf tree integrity) - **/ virtual ~ConstraintRelative2DAnalytic() { // diff --git a/src/constraint_sparse.h b/src/constraint_sparse.h index 7204835e0d9017a45ffe23fa3426f97f6d2cacae..73545f4ce3e753719225b9c7f4a76762af5ad0f7 100644 --- a/src/constraint_sparse.h +++ b/src/constraint_sparse.h @@ -108,11 +108,6 @@ class ConstraintSparse: public ConstraintBase StateBlock* _state8Ptr = nullptr, StateBlock* _state9Ptr = nullptr ) ; - /** \brief Default destructor (not recommended) - * - * Default destructor (please use destruct() instead of delete for guaranteeing the wolf tree integrity) - * - **/ virtual ~ConstraintSparse(); /** \brief Returns a vector of pointers to the state blocks diff --git a/src/feature_gps_fix.h b/src/feature_gps_fix.h index 1569776f6fb0b62b3238d0217868d1f6021c1ab7..1f6ea90efb24a3aff4982ed4e46f4d6173851aff 100644 --- a/src/feature_gps_fix.h +++ b/src/feature_gps_fix.h @@ -27,12 +27,6 @@ class FeatureGPSFix : public FeatureBase * */ FeatureGPSFix(const Eigen::VectorXs& _measurement, const Eigen::MatrixXs& _meas_covariance); - - /** \brief Default destructor (not recommended) - * - * Default destructor (please use destruct() instead of delete for guaranteeing the wolf tree integrity) - * - **/ virtual ~FeatureGPSFix(); }; diff --git a/src/feature_gps_pseudorange.h b/src/feature_gps_pseudorange.h index eec2ed45721bb9747d757fbb1622fd768e2d345d..caf5d9b509a336124be93508a3a2c62d9fd09ec9 100644 --- a/src/feature_gps_pseudorange.h +++ b/src/feature_gps_pseudorange.h @@ -24,12 +24,6 @@ public: EIGEN_MAKE_ALIGNED_OPERATOR_NEW; // to guarantee alignment (see http://eigen.tuxfamily.org/dox-devel/group__TopicStructHavingEigenMembers.html) FeatureGPSPseudorange(Eigen::Vector3s& _sat_position, Scalar _pseudorange, Scalar _covariance); - - /** \brief Default destructor (not recommended) - * - * Default destructor (please use destruct() instead of delete for guaranteeing the wolf tree integrity) - * - **/ virtual ~FeatureGPSPseudorange(); const Eigen::Vector3s & getSatPosition() const; diff --git a/src/feature_imu.h b/src/feature_imu.h index bf00ab90ad4a219c9ffa0c9b5b6a27805de0a7d4..6732ae162d5f1151390de4332b1edc0f40e9a1d1 100644 --- a/src/feature_imu.h +++ b/src/feature_imu.h @@ -26,11 +26,6 @@ class FeatureIMU : public FeatureBase */ FeatureIMU(const Eigen::VectorXs& _delta_preintegrated, const Eigen::MatrixXs& _delta_preintegrated_covariance); - /** \brief Default destructor (not recommended) - * - * Default destructor (please use destruct() instead of delete for guaranteeing the wolf tree integrity) - * - **/ virtual ~FeatureIMU(); public: // TODO eventually produce getters for these and then go private diff --git a/src/feature_line_2D.h b/src/feature_line_2D.h index be36db1859a46f9756785816db3cf46a5b1fe8ba..3dfbb7223bd66c5fa777d938655b46f5d36d86ad 100644 --- a/src/feature_line_2D.h +++ b/src/feature_line_2D.h @@ -33,11 +33,6 @@ class FeatureLine2D : public FeatureBase FeatureLine2D(const Eigen::Vector3s & _line_homogeneous_params, const Eigen::Matrix3s & _params_covariance, Eigen::Vector3s & _point1, Eigen::Vector3s & _point2); - /** \brief Default destructor (not recommended) - * - * Default destructor (please use destruct() instead of delete for guaranteeing the wolf tree integrity) - * - */ virtual ~FeatureLine2D(); /** \brief Returns a const reference to first_point_ diff --git a/src/feature_odom_2D.h b/src/feature_odom_2D.h index 1b7f74d6c55d07cd1bf5b8995a576b1aa034023d..ba2be2f51edbd7e2ecb968323ea647cfa8559dfd 100644 --- a/src/feature_odom_2D.h +++ b/src/feature_odom_2D.h @@ -30,11 +30,6 @@ class FeatureOdom2D : public FeatureBase */ FeatureOdom2D(const Eigen::VectorXs& _measurement, const Eigen::MatrixXs& _meas_covariance); - /** \brief Default destructor (not recommended) - * - * Default destructor (please use destruct() instead of delete for guaranteeing the wolf tree integrity) - * - **/ virtual ~FeatureOdom2D(); /** \brief Generic interface to find constraints diff --git a/src/feature_point_image.h b/src/feature_point_image.h index 54b23843fb7aefd24ef7bbe88774b5c1d2730a4d..c44d4c6d484c5ce9e5f7b50063370b86e32a766b 100644 --- a/src/feature_point_image.h +++ b/src/feature_point_image.h @@ -61,11 +61,6 @@ class FeaturePointImage : public FeatureBase measurement_(1) = Scalar(_keypoint.pt.y); } - - /** \brief Default destructor (not recommended) - * - * Default destructor (please use destruct() instead of delete for guaranteeing the wolf tree integrity) - */ virtual ~FeaturePointImage(); const cv::KeyPoint& getKeypoint() const; diff --git a/src/frame_imu.h b/src/frame_imu.h index 929a9c18a95f11fb29f14b1cb50b26b9ae21e603..babb5cd4125ffb1b3a6f86018b03f62e87d91740 100644 --- a/src/frame_imu.h +++ b/src/frame_imu.h @@ -64,12 +64,6 @@ namespace wolf { * \param _x state vector of size 16, organized as [position, quaternion, velocity, acc_bias, gyro_bias] **/ FrameIMU(const FrameKeyType & _tp, const TimeStamp& _ts, const Eigen::VectorXs& _x); - - /** \brief Default destructor (not recommended) - * - * Default destructor (please use destruct() instead of delete for guaranteeing the wolf tree integrity) - * - **/ virtual ~FrameIMU(); // Frame values ------------------------------------------------ diff --git a/src/landmark_container.h b/src/landmark_container.h index 171c973e3634505bbdcb2e74131233d416952783..385292ebd8c1f5153dfbd15ab4a62b9ed36db992 100644 --- a/src/landmark_container.h +++ b/src/landmark_container.h @@ -72,11 +72,6 @@ class LandmarkContainer : public LandmarkBase **/ //LandmarkContainer(StateBlock* _p_ptr, StateBlock* _o_ptr, LandmarkCorner2D* _corner_A_ptr, LandmarkCorner2D* _corner_B_ptr, LandmarkCorner2D* _corner_C_ptr, LandmarkCorner2D* _corner_D_ptr, const Scalar& _witdh=2.44, const Scalar& _length=12.2); - /** \brief Default destructor (not recommended) - * - * Default destructor (please use destruct() instead of delete for guaranteeing the wolf tree integrity) - * - **/ virtual ~LandmarkContainer(); /** \brief Returns the container width diff --git a/src/landmark_corner_2D.h b/src/landmark_corner_2D.h index 4c7b16d4e36e3748e522ee6ef3764f2d1faa2165..b95eb5338c28b38bdfa0f70c4f1f1bcb3c4b4412 100644 --- a/src/landmark_corner_2D.h +++ b/src/landmark_corner_2D.h @@ -26,11 +26,6 @@ class LandmarkCorner2D : public LandmarkBase **/ LandmarkCorner2D(StateBlock* _p_ptr, StateBlock* _o_ptr, const Scalar& _aperture=0); - /** \brief Default destructor (not recommended) - * - * Default destructor (please use destruct() instead of delete for guaranteeing the wolf tree integrity) - * - **/ virtual ~LandmarkCorner2D(); /** \brief Returns aperture diff --git a/src/landmark_line_2D.h b/src/landmark_line_2D.h index 8a016eeffc418b636445601f103ab9afcc866774..ab30bf7d1ecbc84e564fa1d4d7fc60476d8841a3 100644 --- a/src/landmark_line_2D.h +++ b/src/landmark_line_2D.h @@ -32,11 +32,6 @@ class LandmarkLine2D : public LandmarkBase **/ LandmarkLine2D(StateBlock* _p_ptr, Eigen::Vector3s & _point1, Eigen::Vector3s & _point2); - /** \brief Default destructor (not recommended) - * - * Default destructor (please use destruct() instead of delete for guaranteeing the wolf tree integrity) - * - **/ virtual ~LandmarkLine2D(); /** \brief Line segment update diff --git a/src/sensor_camera.h b/src/sensor_camera.h index 58e700e60c7827e8e0812d028b009fc4d213da4d..433155286d48d00ce2d01ba026219457518a259c 100644 --- a/src/sensor_camera.h +++ b/src/sensor_camera.h @@ -40,11 +40,6 @@ class SensorCamera : public SensorBase SensorCamera(const Eigen::VectorXs & _extrinsics, const std::shared_ptr<IntrinsicsCamera> _intrinsics_ptr); - /** \brief Default destructor (not recommended) - * - * Default destructor (please use destruct() instead of delete for guaranteeing the wolf tree integrity) - * - **/ virtual ~SensorCamera(); Eigen::VectorXs getDistortionVector(){return distortion_;} diff --git a/src/sensor_gps.h b/src/sensor_gps.h index 495599fc0e54975f486e302cab913727c131d3f0..b9a32879863a05ab2ae072b9a978229eb5a98a15 100644 --- a/src/sensor_gps.h +++ b/src/sensor_gps.h @@ -41,10 +41,6 @@ public: StateBlock *getMapOPtr() const; - /** \brief Default destructor (not recommended) - * - * Default destructor (please use destruct() instead of delete for guaranteeing the wolf tree integrity) - **/ virtual ~SensorGPS(); /** \brief Adds all StateBlocks of the frame to the Problem list of new StateBlocks diff --git a/src/sensor_gps_fix.h b/src/sensor_gps_fix.h index 8336e7fa52c43cf55dd322a619e0edea4d0208ee..afa5eb2cdd03eb7e9c9c74f4ea5a422d79e11f36 100644 --- a/src/sensor_gps_fix.h +++ b/src/sensor_gps_fix.h @@ -30,11 +30,6 @@ class SensorGPSFix : public SensorBase **/ SensorGPSFix(StateBlock* _p_ptr, StateBlock* _o_ptr, const double& _noise); - /** \brief Default destructor (not recommended) - * - * Default destructor (please use destruct() instead of delete for guaranteeing the wolf tree integrity) - * - **/ virtual ~SensorGPSFix(); /** \brief Returns noise standard deviation diff --git a/src/sensor_imu.h b/src/sensor_imu.h index f5463dd06ac4c071ce084fa81da4ea53b8acccf3..630d06753ca58d83275720e35c97e0050b3d0bc0 100644 --- a/src/sensor_imu.h +++ b/src/sensor_imu.h @@ -29,11 +29,6 @@ class SensorIMU : public SensorBase **/ SensorIMU(StateBlock* _p_ptr, StateBlock* _o_ptr, StateBlock* _a_w_biases_ptr = nullptr); - /** \brief Default destructor (not recommended) - * - * Default destructor (please use destruct() instead of delete for guaranteeing the wolf tree integrity) - * - **/ virtual ~SensorIMU(); public: diff --git a/src/sensor_laser_2D.h b/src/sensor_laser_2D.h index 8020f896226d1ae6de54dc91a305dcf2d5b6be41..4711f967439b0c0e7727fa2ff4f796da66456c6c 100644 --- a/src/sensor_laser_2D.h +++ b/src/sensor_laser_2D.h @@ -48,11 +48,6 @@ class SensorLaser2D : public SensorBase **/ SensorLaser2D(StateBlock* _p_ptr, StateBlock* _o_ptr, const laserscanutils::LaserScanParams& _params); - /** \brief Default destructor (not recommended) - * - * Default destructor (please use destruct() instead of delete for guaranteeing the wolf tree integrity) - * - **/ virtual ~SensorLaser2D(); void setDefaultScanParams(); diff --git a/src/sensor_odom_2D.h b/src/sensor_odom_2D.h index 99dec762f92ee88a9f4c1704aeeb0144e5abb140..36a5421207457146ca9262632c2f46a77674b8d2 100644 --- a/src/sensor_odom_2D.h +++ b/src/sensor_odom_2D.h @@ -32,11 +32,6 @@ class SensorOdom2D : public SensorBase **/ SensorOdom2D(StateBlock* _p_ptr, StateBlock* _o_ptr, const Scalar& _disp_noise_factor, const Scalar& _rot_noise_factor); - /** \brief Default destructor (not recommended) - * - * Default destructor (please use destruct() instead of delete for guaranteeing the wolf tree integrity) - * - **/ virtual ~SensorOdom2D(); /** \brief Returns displacement noise factor