]> git.mxchange.org Git - simgear.git/commit
Command-manager supports functors.
authorJames Turner <zakalawe@mac.com>
Sat, 9 Feb 2013 12:40:44 +0000 (12:40 +0000)
committerJames Turner <zakalawe@mac.com>
Sat, 9 Feb 2013 12:40:44 +0000 (12:40 +0000)
commitb0063f8db67066c1ad4d9481c33b4627a1c51d3b
tree09c541095f4f9de36e186ec6ddd461d85a841227
parent632abdd87be8d021984773580e46e30625e0f196
Command-manager supports functors.

Will be used to support native Nasal commands, which was tricky with pure function pointers before. Can also be used to avoid some trampoline functions in the code, but this can happen gradually.
simgear/structure/SGBinding.hxx
simgear/structure/commands.cxx
simgear/structure/commands.hxx
simgear/structure/state_machine_test.cxx