Go to file
Christopher Haster f396e3165f Added improved FuncPtr type
FuncPtr provides a more flexible templated function class as a
replacement for FunctionPointer.

FuncPtr provides an intuitive template interface:

void doit(int, char *);
FuncPtr<void(int, char *)> doit_ptr(doit);
doit_ptr(10, "hi!");

FuncPtr places memory management on the user, only supporting
storing an extra pointer for pointers to externally stored objects
that can be passed to the function. Additional binding can be
supplied by an external class.

FuncPtr<void(int)> hello(&object, &Object::method);

Additionally FuncPtr provides a copy constructor, allowing FuncPtrs
themselves to be passed to existing interfaces.

FuncPtr<void()> hello(doit); ticker.attach(hello, 1000);
2016-04-06 08:01:28 -05:00
TARGET_Ignore Preparing new layout - ignored unused networking libs 2016-04-05 16:40:58 +01:00
core RTOS - update for RTX v4.79 for Cortex-M 2016-04-06 17:41:08 +01:00
docs Preparing new layout - moved ./workspace_tools to ./tools 2016-04-05 16:26:31 +01:00
hal Added improved FuncPtr type 2016-04-06 08:01:28 -05:00
net Preparing new layout - added networking deps 2016-04-05 16:40:58 +01:00
tools Add support for project naming based on current directory Cleanup print output 2016-04-06 16:08:11 +01:00
travis Use only GCC_ARM toolcahin for Travis CI 2013-11-08 11:20:23 +00:00
.gitattributes Added .gitattributes for automatic LF line ending conversion 2013-08-08 13:19:34 +03:00
.gitignore dont track commit venv directory 2016-01-10 14:26:32 -06:00
.travis.yml Renamed Jenkins specific options to general "Build" options 2015-04-17 09:39:26 -05:00
CONTRIBUTING.md Mentioned the Contributor Agreement in Contributing.md 2015-04-16 11:47:51 -04:00
LICENSE Add Apache v2 LICENSE file 2013-08-06 12:05:04 +01:00
MANIFEST.in mbed-tools package improvements 2013-12-18 16:03:27 +02:00
requirements.txt Update dep on progen to at least 0.8.11 2016-03-14 22:13:00 +00:00
setup.py Update dep on progen to at least 0.8.11 2016-03-14 22:13:00 +00:00