[aspectc-user] QT application + AOP + middleware component: is it possible?

geetwo at infinito.it geetwo at infinito.it
Wed Oct 19 15:43:55 CEST 2005


Hi there,
I'm a Computer Science student and I'm on my final Thesis 
at the moment. I just want to know if AspectC++ could fit 
my needs.

*** CONTEXT ***
I'm developing a graphical application (using QT libs) 
whose task is to execute and monitor the services of the 
main communication component of a Nomadic Computing 
middleware.

*** IDEA ***
I've already completed the step about executing the 
services using traditional OO programming . What I need 
now is a mechanism to monitor this component ( messages 
sent/received, devices connection/disconnection, 
performances, ...) using AspectC++.
I'm asking this because my constraint is not to modify the 
code of the middleware. To make it clear, my monitor 
executes the binaries of the middleware services via 
fork/execute style (the GUI monitor and middleware codes 
are completely separated).
Then, my application should hook somehow the middleware 
component.

*** DOUBTS ***
I've tried a little bit AspectC++ and it worked well as 
far as the aspects introduced involved changing the 
behaviour of one application (the one weaved and 
recompiled).
I'm doubtful about how to find a solution for my specific 
request. I mean, to me it looks like the aspects should 
float in the middle between the middleware component and 
my GUI monitor (there must be some kind of 
communication!).
I'm confused and I'm not sure whether this is the right 
way.

could you please make it clear?
and most of all, if AOP is not the solution, do you know 
any workaround and/or different strategy?

I'm looking forward to hearing from you soon. If you need 
more detailed information, please let me know.

Best regards,
Giulio Galiero

PS: i didn't register to the mailing list. Please let me 
know if it's necessary, in order to receive your replies.

INFINITO ADSLFLAT 4 MEGA: SOLO 27,90 EURO AL MESE IVA INCLUSA IP STATICO, BANDA GARANTITA 256Kbps ANTIVIRUS E FIREWALL INCLUSI NEL PREZZO

http://adsl.infinito.it






More information about the aspectc-user mailing list