cStackCleanupException Class Reference
[Internal classes]

Used internally when deleting an activity() simple module. More...

#include <cexception.h>

Inheritance diagram for cStackCleanupException:
cException

List of all members.

Public Member Functions

 cStackCleanupException ()
 cStackCleanupException (const cStackCleanupException &e)
virtual cStackCleanupExceptiondup () const
virtual bool isError () const

Detailed Description

Used internally when deleting an activity() simple module.

Then, the coroutine running activity() is "asked" to throw a cStackCleanupException to achieve stack unwinding, a side effect of exceptions, in order to properly clean up activity()'s local variables.


Member Function Documentation

virtual cStackCleanupException* cStackCleanupException::dup (  )  const [inline, virtual]

Virtual copy constructor.

We unfortunately need to copy exception objects when handing them back from an activity().

Reimplemented from cException.


The documentation for this class was generated from the following file:
Generated on Mon Jul 14 12:57:26 2014 for OMNeT++ Simulation Library by  doxygen 1.6.3