OMNeT++ Simulation Library
6.0.3
|
#include <ccontextswitcher.h>
Internal class. May only be used via the Enter_Method() and Enter_Method_Silent() macros!
Public Member Functions | |
cMethodCallContextSwitcher (const cComponent *newContext) | |
~cMethodCallContextSwitcher () | |
void | methodCall (const char *methodFmt,...) |
Public Member Functions inherited from cContextSwitcher | |
cContextSwitcher (const cComponent *newContext) | |
~cContextSwitcher () | |
cComponent * | getCallerContext () const |
Static Public Member Functions | |
static int | getDepth () |
cMethodCallContextSwitcher | ( | const cComponent * | newContext | ) |
Switches context to the given module
Restores the original context
void methodCall | ( | const char * | methodFmt, |
... | |||
) |
Various ways to tell the user interface about the method call so that the call can be animated, recorded into the event log, etc.
|
inlinestatic |
Returns the depth of Enter_Method[_Silent] calls