![]() |
Boost : |
From: Yigong Liu (yigongliu_at_[hidden])
Date: 2006-12-21 03:53:19
Hello,
I just uploaded a new version of "Channel" at http://channel.sourceforge.net.
Channel is a C++ template framework for distributed message passing and
event dispatching. Channel is built for boost and depend solely on boost
facilities.
This release introduced associative lookup based name-matching and message
passing. 2 kinds are implemented:
. regex based name-matching is implemented using Boost.Regex.
applications can use regex patterns to subscribe to messages, e.g. use
regex(".*ball.*") to subscribe to messages sent for "basketball",
"baseball",etc.
. Linda style tuple associative lookup, implemented using Boost.Tuple.
For example, we can use tuple ("Adam","Smith","Male","Math Dept") to
identify a person; application can use (wildcard, wildcard, wildcard, "Math
Dept") to subscribe to messages for all persons in math department.
Examples are added to demo these 2 methods.
The design document is also updated; i tried to clarify main design idea;
sections are added to clarify class concepts and explain how to extend the
framework by adding new id_type , id_trait and new dispatchers.
Corrections, comments and suggestions are highly appreciated.
Happy holiday!
yigong
Boost list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk