cContextSwitcher Class Reference
[Internal classes]

The constructor switches the context to the given component, and the destructor restores the original context. More...

#include <simutil.h>

Inheritance diagram for cContextSwitcher:
cMethodCallContextSwitcher

List of all members.

Public Member Functions

 cContextSwitcher (const cComponent *newContext)
 ~cContextSwitcher ()

Detailed Description

The constructor switches the context to the given component, and the destructor restores the original context.

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

The documentation for this class was generated from the following file:
Generated on Tue Dec 2 11:16:28 2014 for OMNeT++ Simulation Library by  doxygen 1.6.3