Hi, On the developer day of the SyClick sumposium we devised a solution for checking and validating the use of annotations. I have created a small patch containing the AnnotationValidation skeleton solution.
The devised solution consists of two parts: a) Each element declares its use of annotations. We extended the element interface with two methods: require_anno() and provide_anno(), indicating which annotations are used and set by this element. b) At initialization time of the click Router, an AnnotationValidator element verifies the use of annotations by traversing the Click graph and inspecting the element's annotation requirements and provisions. Kind regards, Nico -- Nicolas Letor University of Antwerp Dept. Math. and Computer Science PATS - Performance Analysis of Telecommunication Systems Research Group Middelheimlaan 1, B-2020 Antwerp, Belgium
annotationvalidator.patch
Description: Binary data
testannotation.click
Description: Binary data
_______________________________________________ click mailing list [email protected] https://amsterdam.lcs.mit.edu/mailman/listinfo/click
