Commit Graph

46 Commits (7cfc5c352254b5bbc710f3e1d5b1f9bf19cfd84f)

Author SHA1 Message Date
Jose Luis Blanco Claraco 0198c648e3
Fix all new gcc warnings/errors: make explicit virtual/override methods.
Rules are:
- use "virtual" in base classes only.
- use "override" in all derived classes.
2020-07-26 11:20:42 +02:00
Duy-Nguyen Ta 1cdc228d6a remove trailing spaces 2019-02-11 10:58:34 -05:00
Duy-Nguyen Ta fbcb9041f2 big refactoring, support method/static method overloading 2016-11-20 09:24:43 -05:00
Duy-Nguyen Ta e35f0c3f50 remove inherited functions for Cython classes. Testing HessianFactor with debug info... 2016-09-12 11:05:28 -04:00
Duy-Nguyen Ta 1b04c6713b handle "This". Wrap all geometry 2016-09-11 18:14:19 -04:00
Duy-Nguyen Ta fabfac65f4 unify and simplify function call in Method and StaticMethod 2016-09-11 17:14:06 -04:00
Duy-Nguyen Ta 10f510119a pyx class methods with arguments/return type casting 2016-09-09 18:37:48 -04:00
Duy-Nguyen Ta 40da298f68 emit methods to pxd, change the way template methods are handled
pxd allows template methods, whereas the current scheme instantiates/expands all template methods and add them to the same methods_ container. The new scheme treats them all separately: nontemplated methods in methods_, template methods in templateMethods_, and template methods after instantiation in expandedTemplateMethods_.
2016-09-09 07:26:11 -04:00
dellaert ba51b02cf0 Moving to optionals fixed template dreturn argument!
Merge branch 'qualified' into grammar_wrongtest

Conflicts:
	wrap/Class.cpp
	wrap/Function.h
	wrap/Qualified.h
	wrap/ReturnType.h
	wrap/tests/testWrap.cpp
2014-12-01 09:48:56 +01:00
dellaert 14ef786dfe Removing empty in favor of boost::optional 2014-11-30 10:38:24 +01:00
dellaert b0fa5ce684 Cut out unused arguments 2014-11-29 19:34:46 +01:00
dellaert 6c0439f6ea Method and StaticMethod now inherit from MethodBase - much better 2014-11-29 15:31:29 +01:00
dellaert 7a4748d3dc Simplified method/function hierarchy drastically, and renamed bottom addOverload to initializeOrCheck to reflect what it does. Also, gratuitous re-ordering of addOverload arguments. 2014-11-14 16:44:08 +01:00
dellaert 2d654f7fa7 Fixed some wrap unit tests that were left by the wayside 2014-11-14 01:12:43 +01:00
dellaert 67bc951ac2 Fixed proxy files and calls for static methods 2014-11-13 23:21:05 +01:00
dellaert efd544527f Stream operator for many classes 2014-11-13 21:11:29 +01:00
dellaert fe481dc775 typedef to cope with abundance of strings 2014-11-13 18:58:44 +01:00
dellaert b451e97f6f New TemplateSubstitution object simplifies a lot 2014-11-13 17:28:05 +01:00
dellaert a5e0adb7e6 Made methods and global functions derive from Function 2014-11-13 12:52:41 +01:00
dellaert 341ad9f288 gtsam.h with templated Values::at now compiles ! 2014-11-13 01:26:06 +01:00
dellaert 7d4f5a4820 Make explicit whether wrapper or proxy is written to... 2014-11-12 20:51:47 +01:00
dellaert 95b85e8494 Now using ArgumentList::emit_prototype everywhere, for non copy/paste code 2014-05-25 13:22:10 -04:00
Chris Beall 4297d24c96 changed tabs to spaces for consistent indentation in all of GTSAM 2012-10-02 14:40:07 +00:00
Andrew Melim 6da48bc580 Even more comment improvements for wrap 2012-08-27 15:19:55 +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
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
Richard Roberts ce12f3d255 Code cleanup and comments 2012-07-12 22:28:28 +00:00
Alex Cunningham 5d58dbd512 Fixed testWrap so that it passes, fixed dependency checking in codegen, fixed warnings 2012-07-10 14:21:58 +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 f774a380ec Implemented method overloading in matlab wrapper, made static functions static in matlab classes 2012-07-05 14:05:00 +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
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 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 307fd2737a Fixed instance variable naming convention 2011-10-21 02:35:11 +00:00
Frank Dellaert 5fd71a33eb Documentation 2011-10-14 04:43:06 +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
Kai Ni 24d499039f prepend license information on all the codes 2010-10-14 04:54:38 +00:00
Richard Roberts 1df4385d84 Added 'verbose' flag, making unit tests silent 2010-02-23 17:04:49 +00:00
Richard Roberts d80fa24a9f Fixing directory structure 2009-08-21 22:23:24 +00:00