Skip to content
Snippets Groups Projects
Commit 34ccca9d authored by Joan Vallvé Navarro's avatar Joan Vallvé Navarro
Browse files

remove deprecated unlinkFromXX()

parent 9266743b
No related branches found
No related tags found
1 merge request!274Resolve "Emplace API inconsistent with ProcessorTrackerFeature/Landmark functions"
This commit is part of merge request !274. Comments created here will be created in the context of that merge request.
......@@ -61,7 +61,6 @@ class CaptureBase : public NodeBase, public std::enable_shared_from_this<Capture
FrameBasePtr getFrame() const;
void setFrame(const FrameBasePtr _frm_ptr);
void unlinkFromFrame(){frame_ptr_.reset();}
virtual void setProblem(ProblemPtr _problem) final;
FeatureBasePtrList& getFeatureList();
......
......@@ -138,7 +138,6 @@ class FrameBase : public NodeBase, public std::enable_shared_from_this<FrameBase
CaptureBasePtr getCaptureOf(const SensorBasePtr _sensor_ptr);
CaptureBasePtr getCaptureOf(const SensorBasePtr _sensor_ptr, const std::string& type);
CaptureBasePtrList getCapturesOf(const SensorBasePtr _sensor_ptr);
void unlinkCapture(CaptureBasePtr _cap_ptr);
FactorBasePtr getFactorOf(const ProcessorBasePtr _processor_ptr);
FactorBasePtr getFactorOf(const ProcessorBasePtr _processor_ptr, const std::string& type);
......
......@@ -353,12 +353,6 @@ CaptureBasePtrList FrameBase::getCapturesOf(const SensorBasePtr _sensor_ptr)
return captures;
}
void FrameBase::unlinkCapture(CaptureBasePtr _cap_ptr)
{
_cap_ptr->unlinkFromFrame();
capture_list_.remove(_cap_ptr);
}
FactorBasePtr FrameBase::getFactorOf(const ProcessorBasePtr _processor_ptr, const std::string& type)
{
for (const FactorBasePtr& constaint_ptr : getConstrainedByList())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment