[aspectc-user] Can I call proceed in a simple method
Wagner Salazar
salazar.wagner at gmail.com
Wed Mar 7 20:03:00 CET 2007
Hi,
I would call proceed in a simple method like this.
__________________________________________________________
code of aspect
pointcut executeTreat() = execution(" void Operations::treatAdd()");
advice executeTreat() : around() {
SomeClass *obj = SomeClass::getInstance();
obj->control_advice(tjp);
}
__________________________________________________________
.h of a class
#include <?????>
class SomeClass {
public:
void control_advice(?????);
}
__________________________________________________________
.cc of a class
void SomeClass::control_advice(?????){
tjp->proceed();
}
__________________________________________________________
How can I do it? How can I pass this possibility for a method? What I have
to include?
thxs for any help!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.aspectc.org/pipermail/aspectc-user/attachments/20070307/252caf42/attachment.html>
More information about the aspectc-user
mailing list