Commit Graph

54 Commits (6da48bc58006e14ea157e70effbff64ae3b9e753)

Author SHA1 Message Date
Andrew Melim 6da48bc580 Even more comment improvements for wrap 2012-08-27 15:19:55 +00:00
Andrew Melim 4b28f4d082 Changed comment phrasing 2012-08-26 22:00:16 +00:00
Andrew Melim 0d70be459e Added method comments for wrap 2012-08-26 21:58:18 +00:00
Andrew Melim ea70673b36 Added overload constructor comments to matlab files 2012-08-26 15:46:19 +00:00
Richard Roberts 87d1e0a488 Added 'This' keyword in wrap templates to substitute instantiated class 2012-07-23 21:27:36 +00:00
Alex Cunningham 656f573c0a Removed from wrap the use of "using namespace xxx" statements - wasn't fully supported before, and now we have real namespace support 2012-07-23 18:24:43 +00:00
Alex Cunningham 79c9bc99ff Some additional cleanup in wrap 2012-07-23 18:24:39 +00:00
Alex Cunningham b7c2177f0b Generating code for global functions now works 2012-07-23 18:24:35 +00:00
Richard Roberts 8dbffd4629 Wrap generates Matlab namespaces, so now 'import gtsam.*' allows class names like Values, NonlinearFactor, to be used. Without import, syntax is gtsam.Values, etc. 2012-07-18 15:47:06 +00:00
Alex Cunningham 4b772b43cf Simplified include handling in wrap: no more default includes, includes are not associated with a class or a namespace. 2012-07-17 18:30:02 +00:00
Richard Roberts aa5beafd94 Wrap include path bug fix 2012-07-13 21:54:55 +00:00
Richard Roberts ce12f3d255 Code cleanup and comments 2012-07-12 22:28:28 +00:00
Richard Roberts 76e5375dea Added support for multi-argument templates that are then instantiated with typedefs in wrap interface header. 2012-07-12 02:11:29 +00:00
Richard Roberts c4f19a2b96 Can define template classes in wrap interface file with a fixed list of template argument expansions, to quickly generate many classes, e.g. template<T = {gtsam::Point2,gtsam::Point3}> class BetweenFactor ... generates gtsamBetweenFactorPoint2, gtsamBetweenFactorPoint3, etc. 2012-07-11 21:43:16 +00:00
Richard Roberts 7c176dd76d Automatic returning of derived-most type in matlab wrapper working but not yet well-tested 2012-07-11 15:44:04 +00:00
Alex Cunningham 6daa86f137 Fixed C++ versioning issue in wrap, now compiles and toolbox passes matlab tests, testWrap now compiles but does not pass 2012-07-10 14:21:56 +00:00
Richard Roberts 4a0866b519 Merge remote-tracking branch 'svn/branches/wrap_mods' into wrap_mods_inheritance
Conflicts:
	gtsam.h
2012-07-09 20:27:23 +00:00
Richard Roberts e915e666b5 Can return abstract base classes from functions in matlab wrapper, i.e. Values::at 2012-07-09 20:19:37 +00:00
Richard Roberts 8a8b27005f wrap_mods_inheritance branch - Can now pass derived classes in as base class arguments (i.e. pass gtsamPose2 where gtsamValues.insert expects gtsamValue) 2012-07-09 00:02:43 +00:00
Richard Roberts 3c27daae18 wrap_mods_inheritance branch: in progress with inheritance in matlab wrapper 2012-07-08 12:27:39 +00:00
Alex Cunningham 169c0191c6 Added header needed for uint64_t 2012-07-06 18:58:35 +00:00
Richard Roberts f774a380ec Implemented method overloading in matlab wrapper, made static functions static in matlab classes 2012-07-05 14:05:00 +00:00
Richard Roberts 8ab18498ad Add to collector through matlab function to allow returning objects from other wrap modules 2012-07-05 14:04:57 +00:00
Richard Roberts 8f8975f47f Removed obsolete code for generating matlab wrapper makefiles and build script 2012-07-05 14:04:51 +00:00
Richard Roberts 1ee7162383 Fixed warnings 2012-07-05 14:04:46 +00:00
Richard Roberts b5937ce35d Modified wrap to generate a single cpp wrapper file containing all wrapped functions, and one .m file per class and static method. 2012-07-05 14:04:36 +00:00
Andrew Melim e40ce8b44d Fixed class issue calling destructor 2012-07-03 01:28:41 +00:00
Andrew Melim 02df40bd73 Dependency checking for matlab.h 2012-06-30 01:33:41 +00:00
Andrew Melim fb00f4b834 fixes for two word args 2012-06-27 21:50:45 +00:00
Andrew Melim 6d776812d3 new wrap! :) 2012-06-26 18:52:27 +00:00
Alex Cunningham f8a03ddbca Added better support for "using namespace x" to wrap - only applies to classes *after* it is called 2012-05-04 19:14:58 +00:00
Andrew Melim a1da906d33 Memory leak fixed within wrap. Must call 'clear' before 'clear all' and 'clear classes'. Wrap now creates delete_classname files for all wrapped classes. MATLAB classes now derive from the handle superclass. 2012-03-30 05:34:23 +00:00
Alex Cunningham ded872af5f Forced wrap to always add a "generated by" header, updated expected test code 2012-02-06 19:45:40 +00:00
Alex Cunningham 3942f28a68 Wrap now only writes new files when there is a change, and install only updates files if necessary 2012-01-15 21:42:44 +00:00
Alex Cunningham 66a9d635b3 Unified file writing to use a custom class to allow for smart checking 2012-01-15 21:42:41 +00:00
Alex Cunningham 6a0da1519a Cleanup in wrap 2011-12-11 21:09:07 +00:00
Alex Cunningham 06dbc2b650 Changed namespace mechanism in wrap to "using namespace gtsam;" inside gtsam.h 2011-12-09 20:29:47 +00:00
Alex Cunningham 9dff4c35bd Added include overrides to parser 2011-12-09 15:44:35 +00:00
Alex Cunningham 48a2056020 Added codegen for namespace handling, examples exercising namespaces 2011-12-08 20:51:13 +00:00
Alex Cunningham 92a0cf67c9 Fixed ambiguity issues with returning non-ptr classes, added new copies of functions to gtsam.h and depreciated old ones 2011-12-07 03:05:37 +00:00
Alex Cunningham a38b7245be added an (actual) makefile to parts generated by wrap 2011-12-05 20:54:37 +00:00
Alex Cunningham 3050dc2dde Added wrap components to "wrap" namespace, added options for installing wrap program 2011-12-02 16:43:15 +00:00
Alex Cunningham 221a6ad877 Added static function parsing to wrap, included Expmap/Logmap in geometric objects. Static functions appear to still crash matlab, however. 2011-12-02 02:32:18 +00:00
Frank Dellaert 4cab1e6722 More fine-tuning of documentation 2011-11-04 04:27:13 +00:00
Frank Dellaert 3ce23e1f71 Fixed wrap unit test by moving emitted comments or removing them 2011-11-03 23:13:09 +00:00
Frank Dellaert 5d6f4ae7e5 Change ordering of comments so "doc class" works in MATLAB 2011-10-30 20:57:34 +00:00
Frank Dellaert 307fd2737a Fixed instance variable naming convention 2011-10-21 02:35:11 +00:00
Frank Dellaert 56d1d6ae34 Fixed some Doxygen problems with global replace 2011-10-14 03:23:14 +00:00
Alex Cunningham f4d9ca72a8 Added back the matlab interface to gtsam 2011-10-13 18:41:56 +00:00
Richard Roberts 08beb34060 Moved doc and wrap to experimental 2010-10-25 21:16:20 +00:00