Commit Graph

72 Commits (a281240ff190998bb75f9bf0524d5372b8f9613b)

Author SHA1 Message Date
dellaert 95b85e8494 Now using ArgumentList::emit_prototype everywhere, for non copy/paste code 2014-05-25 13:22:10 -04:00
dellaert 26cae48338 First successful use of new ArgumentList::emit_prototype method 2014-05-25 13:02:29 -04:00
dellaert 82d6bae4b9 Standard BORG formatting 2014-05-25 12:43:19 -04:00
Chris Beall ef5fb525de add missing end on saveobj 2013-06-25 18:30:59 +00:00
Alex Cunningham 0e1f07acaa Added matlab codegen for matlab save/load hooks. Can now save and load a gtsam object to/from a mat file 2013-06-22 23:16:53 +00:00
Alex Cunningham 23de91d44d serialization works for graph and PriorFactor. Added second flag for serialization: can add "void serializable()" or "void serialize()" to allow for either just exporting (necessary if no default constructor), or implementing the full serialization functions 2013-06-19 17:50:05 +00:00
Alex Cunningham f1b1a2f7d2 Added export flags, Values now serializes 2013-06-19 17:50:03 +00:00
Alex Cunningham 14c5f205dd basic serialization works 2013-06-19 17:50:00 +00:00
Alex Cunningham 07407ff763 Completed codegen for serialize/deserialize functions 2013-06-19 17:49:59 +00:00
Alex Cunningham 5789c7de83 Added codegen for cpp wrapper 2013-06-19 17:49:58 +00:00
Alex Cunningham 8e73619989 Adding codegen components for serialization - in progress 2013-06-19 17:49:57 +00:00
Chris Beall 4297d24c96 changed tabs to spaces for consistent indentation in all of GTSAM 2012-10-02 14:40:07 +00:00
Frank Dellaert d8a6b6a5e4 Vastly improved "help gtsam" and "doc gtsam" output 2012-09-08 05:44:26 +00:00
Andrew Melim 9938b4785d Changed method summaries to lower case 2012-09-03 22:48:08 +00:00
Andrew Melim 84a806bf39 Final fixes made for wrap comments 2012-08-29 20:27:10 +00:00
Andrew Melim d0a1e662a7 Wrap comments are now EVEN better 2012-08-28 21:44:45 +00:00
Andrew Melim a6545b4e01 Fixed wrap tests and changed comments 2012-08-27 17:54:25 +00:00
Andrew Melim c3e615b2df Added doxygen info to wrap commenting system 2012-08-27 15:30:47 +00:00
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