The constructor switches the context to the given component, and the destructor restores the original context. More...
#include <simutil.h>
Public Member Functions | |
cContextSwitcher (const cComponent *newContext) | |
~cContextSwitcher () |
The constructor switches the context to the given component, and the destructor restores the original context.