OMNeT++ Simulation Library  6.0.3
cContextTypeSwitcher Class Reference

#include <ccontextswitcher.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 (ContextType contexttype)
 
 ~cContextTypeSwitcher ()
 

Constructor & Destructor Documentation

◆ cContextTypeSwitcher()

cContextTypeSwitcher ( ContextType  contexttype)

Switches the to the given context type.

◆ ~cContextTypeSwitcher()

Restores the original context type


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