ccontextswitcher.h Source File¶
|
API
|
ccontextswitcher.h
37enum ContextType {CTX_NONE, CTX_BUILD, CTX_INITIALIZE, CTX_EVENT, CTX_SCHEDULER, CTX_REFRESHDISPLAY, CTX_FINISH, CTX_CLEANUP};
61#define Enter_Method(...) omnetpp::cMethodCallContextSwitcher __ctx(this); __ctx.methodCall(__VA_ARGS__)
82#define Enter_Method_Silent(...) omnetpp::cMethodCallContextSwitcher __ctx(this); __ctx.methodCallSilent(__VA_ARGS__)
~cContextSwitcher()
cComponent * getCallerContext() const
Definition ccontextswitcher.h:109
cContextSwitcher(const cComponent *newContext)
cContextTypeSwitcher(ContextType contexttype)
~cContextTypeSwitcher()
~cMethodCallContextSwitcher()
void methodCall(const char *methodFmt,...)
cMethodCallContextSwitcher(const cComponent *newContext)
cObject is a lightweight class which serves as the root of the OMNeT++ class hierarchy....
Definition cobject.h:93
Generated on for API by