|
Click
|
This class defines a RouterVisitor that will be used to build the function stack Each element starts a visitor downsteam so that when the visitor reaches the next CTXElement, the object that started the visitor will be registered as the next element in the function stack of the visited element. More...
#include <ctxelement.hh>
Public Member Functions | |
| StackVisitor (CTXElement *startElement) | |
| Construct a StackVisitor. | |
| ~StackVisitor () | |
| Destruct a StackVisitor. | |
| bool | visit (Element *e, bool, int port, Element *, int, int) |
| Visit the path of elements until we find a stack element. We will indicate to this element that we are the next element in the function stack so that it will propagate the calls to us. See the Click documentation for the description of the parameters. | |
Public Member Functions inherited from RouterVisitor | |
| RouterVisitor () | |
| Construct an RouterVisitor. | |
| virtual | ~RouterVisitor () |
| Destroy an RouterVisitor. | |
| virtual int | distance (Element *e, Element *from_e) |
| return the distance between two neighbour elements | |
This class defines a RouterVisitor that will be used to build the function stack Each element starts a visitor downsteam so that when the visitor reaches the next CTXElement, the object that started the visitor will be registered as the next element in the function stack of the visited element.
|
inline |
Construct a StackVisitor.
|
inline |
Destruct a StackVisitor.
Visit the path of elements until we find a stack element. We will indicate to this element that we are the next element in the function stack so that it will propagate the calls to us. See the Click documentation for the description of the parameters.
Reimplemented from RouterVisitor.