[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] git://gnuradio.org/gnuradio branch, next, updated. v3.
From: |
git repository hosting |
Subject: |
[Commit-gnuradio] git://gnuradio.org/gnuradio branch, next, updated. v3.3.1git-831-gbb438e7 |
Date: |
Fri, 7 Jan 2011 06:38:44 +0000 (GMT) |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "git://gnuradio.org/gnuradio".
The branch, next has been updated
via bb438e7d12c5767123f8abed5810f284a5f18bf8 (commit)
via 1dc1dbeef3eb15e1316857d4dd7ba32c4304bf69 (commit)
via b6005d9e5823d871c091f3b4a048ca67cd885821 (commit)
from 2073fa2c09aab3c6ec20f7e75f210cacf243fa44 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit bb438e7d12c5767123f8abed5810f284a5f18bf8
Author: Eric Blossom <address@hidden>
Date: Thu Jan 6 21:48:12 2011 -0800
Add QA code for gr_basic_block::set_msg_handler.
commit 1dc1dbeef3eb15e1316857d4dd7ba32c4304bf69
Author: Eric Blossom <address@hidden>
Date: Thu Jan 6 21:46:55 2011 -0800
Augment gr_nop to count received pmt messages by way of set_msg_handler.
commit b6005d9e5823d871c091f3b4a048ca67cd885821
Author: Eric Blossom <address@hidden>
Date: Thu Jan 6 21:39:10 2011 -0800
Change pmt message handling interface in gr_basic_block.h
Change the API such that the message handler is now implemented with a
callback, not an overridden virtual function. The callback is now set
using gr_basic_block::set_msg_handler, which will accept pretty much
any kind of callable.
This change allows us to split the machinery for message handling out
from the block inheritance hierarchy, and provides a foundation that
can be used to build or experiment with arbitrary message dispatching
techniques.
-----------------------------------------------------------------------
Summary of changes:
gnuradio-core/src/lib/general/gr_nop.cc | 24 ++++--
gnuradio-core/src/lib/general/gr_nop.h | 9 ++
gnuradio-core/src/lib/runtime/Makefile.am | 2 +
gnuradio-core/src/lib/runtime/gr_basic_block.h | 54 +++++++++++--
.../src/lib/runtime/gr_tpb_thread_body.cc | 8 +-
gnuradio-core/src/lib/runtime/qa_runtime.cc | 4 +-
.../src/lib/runtime/qa_set_msg_handler.cc | 85 ++++++++++++++++++++
.../{qa_gr_hier_block2.h => qa_set_msg_handler.h} | 21 +++---
8 files changed, 177 insertions(+), 30 deletions(-)
create mode 100644 gnuradio-core/src/lib/runtime/qa_set_msg_handler.cc
copy gnuradio-core/src/lib/runtime/{qa_gr_hier_block2.h =>
qa_set_msg_handler.h} (71%)
hooks/post-receive
--
git://gnuradio.org/gnuradio
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Commit-gnuradio] git://gnuradio.org/gnuradio branch, next, updated. v3.3.1git-831-gbb438e7,
git repository hosting <=