
ofxConsole: c++ Text Console for OpenFrameworks
4 months ago
This is a first alpha version of ofxConsole, a quakestyle text console to bind functions and variables mainly for debugging. This tutorial was really helpful:
flipcode.com/archives/Creating_a_Scalable_Console_System_with_STL-Part_1.shtml
Most of the time went into the event/callback system which is based on boost::function boost::bind and also makes use of boost preprocessor to generate the functor templates. Generally this was my first time seriously working with strings and especially templates so this was a good exercise. In the future I plan to overwork the eventsystem with a scripting language (propably LUA lua.org), since that seems to be a better solution.
Right now when using boost you can register any void function/memberfunction with up to 9 arguments. if you don't have boost you can still run the example with a simple callback system similar to the one that comes with OF (doesn't use poco though).
get it here:
code.google.com/p/mokacode/downloads/list
flipcode.com/archives/Creating_a_Scalable_Console_System_with_STL-Part_1.shtml
Most of the time went into the event/callback system which is based on boost::function boost::bind and also makes use of boost preprocessor to generate the functor templates. Generally this was my first time seriously working with strings and especially templates so this was a good exercise. In the future I plan to overwork the eventsystem with a scripting language (propably LUA lua.org), since that seems to be a better solution.
Right now when using boost you can register any void function/memberfunction with up to 9 arguments. if you don't have boost you can still run the example with a simple callback system similar to the one that comes with OF (doesn't use poco though).
get it here:
code.google.com/p/mokacode/downloads/list
-
Vimeo: About / Blog / Developers / Jobs / Community Guidelines / Community Forums / Help Center / Site Map / Merchandise
/ Get Vimeo


Previous Week
(in a good way)
Looks great!
Where is the download link? ;)
code.google.com/p/mokacode/downloads/list