Le 06/04/13 11:52, Sean Farrow a écrit :

Hi all,

I

‘m currently looking at redesigning an application and changing to boost/c++11 library components.

The application reads data from an input, processes the data and then send it to an output.

The current architecture is one thread per “device” where a device is a pair of input/output ports and one processing stage.

What I’d like to do is move this to either a publish/subscribe model or some form of message-based system where an input comes in and a message is then sent to the next stage of the process.

All stages will happen on the same physical/virtual machine.

Are there any good pub/subscribe or message-based components using the boost architecture that works on mac osx/win32.

Any help appreciated.




Hi,

I don't know if what you are looking  for is a pipeline. See [1] and [2]


Best,
Vicente

[1] http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2013/n3534.html
[2] https://code.google.com/p/google-concurrency-library/source/browse/include/pipeline.h