dddvision / functionalnavigation

Trajectory Optimization Manager for Multiple Algorithms and Sensors (TOMMAS)
3 stars 4 forks source link

Component deletion should be handled by auto_ptr if possible. #32

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Currently, after using a factory to create a component, the user must 
remember to delete it.

This might be simplified by returning std::auto_ptr instead of a plain pointer.

Original issue reported on code.google.com by dddvis...@gmail.com on 2 Sep 2010 at 7:09

GoogleCodeExporter commented 9 years ago
Investigate whether returning references using & can solve this problem.

Original comment by dddvis...@gmail.com on 28 Oct 2010 at 10:03

GoogleCodeExporter commented 9 years ago
Updated handling of input/output pointers and references in all C++ classes. 
Deprecated support for DataContainers in C++ (moved to antbed namespace). Added 
copy constructor in Trajectory class. Done.

Original comment by dddvis...@gmail.com on 6 Nov 2010 at 1:11