|
OMNeT++ Simulation Library
5.6.1
|
#include <simutil.h>
The constructor switches the context type, and the destructor restores the original context type.
Public Member Functions | |
| cContextTypeSwitcher (int contexttype) | |
| ~cContextTypeSwitcher () | |
| cContextTypeSwitcher | ( | int | contexttype | ) |
Switches the context type (see CTX_xxx constants)
| ~cContextTypeSwitcher | ( | ) |
Restores the original context type