| 1 |
#ifndef __abstractTrace_ah__ |
| 2 |
#define __abstractTrace_ah__ |
| 3 |
|
| 4 |
#include <stdio.h> |
| 5 |
|
| 6 |
aspect abstractTrace { |
| 7 |
pointcut virtual methods() = 0; |
| 8 |
|
| 9 |
advice execution(methods()) : before() { |
| 10 |
printf("ADVICE BEFORE: %s\n", JoinPoint::signature()); |
| 11 |
} |
| 12 |
}; |
| 13 |
|
| 14 |
#endif /* __abstractTrace_ah__ */ |