E
Emmanuel Charruau
Hi,
I am looking for a class or any information which would allow me to
make communicate mini-module in c++. I have been looking
on the net for some examples of such implementation, but I did not
find any good one. This is why I am asking here if some
of you know where to find some information on the internet about such
implementation.
I explain you what I mean per communication between mini-modules.
I want to implement an application for example composed from modules
A,B,C,D and E.
Module A : simply reads the content of a file per n bytes
Module B : convert the binary content in integers numbers text
Module C : Insert html tags in text
Module D : Change text color
Module E : Display text on the screen
What I want to do is using a communication tool (a class) between
these modules, to create dinamicaly a chain which would
allow me to create any combinaision between these modules.
For e.g.
1: A -> B -> C -> D -> E (go back to A)
or
2: A -> B -> D -> C -> E (go back to A)
You can see that the program would be able to first insert the html
tags before to change the color (1), or do it the other
way around (2).
The really interesting part is that the order could be then
configurable and changed whenever a user need to insert a new
module without compliling a new program.
I have been searching extensively the internet, believing several
times that I found the solution.
I though CORBA was the solution, but it seems that even if it could do
the job, the kde team as abandonned it because it was
too slow.
I tryed communicating through the pipe and using stdin stdout, but
even if this works, that is a one way channel and does
not allow complex connection between modules.
I have tryed using soap but this is definitly to slow.
I have tryed using ip (using sockets) but this is not the best
solution if all the modules are on the same machine (though
this is quite good if the modules are on separate machines).
Thanks in advance,
Emmanuel Charruau
I am looking for a class or any information which would allow me to
make communicate mini-module in c++. I have been looking
on the net for some examples of such implementation, but I did not
find any good one. This is why I am asking here if some
of you know where to find some information on the internet about such
implementation.
I explain you what I mean per communication between mini-modules.
I want to implement an application for example composed from modules
A,B,C,D and E.
Module A : simply reads the content of a file per n bytes
Module B : convert the binary content in integers numbers text
Module C : Insert html tags in text
Module D : Change text color
Module E : Display text on the screen
What I want to do is using a communication tool (a class) between
these modules, to create dinamicaly a chain which would
allow me to create any combinaision between these modules.
For e.g.
1: A -> B -> C -> D -> E (go back to A)
or
2: A -> B -> D -> C -> E (go back to A)
You can see that the program would be able to first insert the html
tags before to change the color (1), or do it the other
way around (2).
The really interesting part is that the order could be then
configurable and changed whenever a user need to insert a new
module without compliling a new program.
I have been searching extensively the internet, believing several
times that I found the solution.
I though CORBA was the solution, but it seems that even if it could do
the job, the kde team as abandonned it because it was
too slow.
I tryed communicating through the pipe and using stdin stdout, but
even if this works, that is a one way channel and does
not allow complex connection between modules.
I have tryed using soap but this is definitly to slow.
I have tryed using ip (using sockets) but this is not the best
solution if all the modules are on the same machine (though
this is quite good if the modules are on separate machines).
Thanks in advance,
Emmanuel Charruau