OMNeT++ Simulation Library  5.6.1
cContextTypeSwitcher Class Reference

#include <simutil.h>

Description

The constructor switches the context type, and the destructor restores the original context type.

See also
cSimulation::getContextModule(), cSimulation::setContextModule()

Public Member Functions

 cContextTypeSwitcher (int contexttype)
 
 ~cContextTypeSwitcher ()
 

Constructor & Destructor Documentation

◆ cContextTypeSwitcher()

cContextTypeSwitcher ( int  contexttype)

Switches the context type (see CTX_xxx constants)

◆ ~cContextTypeSwitcher()

Restores the original context type


The documentation for this class was generated from the following file: