|
OMNeT++ Simulation Library
5.4.1
|
#include <simutil.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 () | |
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