16 #ifndef __OMNETPP_CSIMPLEMODULE_H    17 #define __OMNETPP_CSIMPLEMODULE_H    69         FL_USESACTIVITY        = 1 << 13, 
    70         FL_ISTERMINATED        = 1 << 14, 
    71         FL_STACKALREADYUNWOUND = 1 << 15, 
    77     static bool stackCleanupRequested; 
    82     static void activate(
void *p);
   105     virtual void activity();
   111     virtual void handleMessage(
cMessage *msg);
   138     virtual std::string str() 
const override;
   144     virtual void forEachChild(
cVisitor *v) 
override;
   153     virtual void scheduleStart(
simtime_t t) 
override;
   189     virtual void snapshot(
cObject *obj=
nullptr, 
const char *label=
nullptr);
   204     virtual void send(
cMessage *msg, 
const char *gatename, 
int gateindex=-1)  {
return sendDelayed(msg, 
SIMTIME_ZERO, gatename, gateindex);}
   222     virtual void sendDelayed(
cMessage *msg, 
simtime_t delay, 
const char *gatename, 
int gateindex=-1);
   235     virtual void sendDirect(
cMessage *msg, 
cModule *mod, 
const char *inputGateName, 
int gateIndex=-1);
   351     virtual void cancelAndDelete(
cMessage *msg);
   410     virtual void endSimulation();
   422     virtual void error(
const char *format,...) 
const;
   436     virtual bool hasStackOverflow() 
const;
   442     virtual unsigned getStackSize() 
const;
   452     virtual unsigned getStackUsage() 
const;
 The message class in OMNeT++. cMessage objects may represent events, messages, jobs or other entities...
Definition: cmessage.h:95
 
Represents a module gate. 
Definition: cgate.h:63
 
bool isTerminated() const
Definition: csimplemodule.h:168
 
Root of the OMNeT++ class hierarchy. cObject is a lightweight class without any data members...
Definition: cobject.h:58
 
int64_t-based, base-10 fixed-point simulation time. 
Definition: simtime.h:66
 
Base class for all simple module classes. 
Definition: csimplemodule.h:62
 
Simulation manager class. 
Definition: csimulation.h:62
 
virtual void send(cMessage *msg, int gateid)
Definition: csimplemodule.h:198
 
Low-level coroutine library. Coroutines are used by cSimpleModule. 
Definition: ccoroutine.h:67
 
bool usesActivity() const
Definition: csimplemodule.h:162
 
#define SIMTIME_ZERO
Zero simulation time. 
Definition: simtime_t.h:73
 
This class represents modules in the simulation. 
Definition: cmodule.h:47
 
Queue class for objects derived from cObject. 
Definition: cqueue.h:42
 
Enables traversing the tree of (cObject-rooted) simulation objects. 
Definition: cvisitor.h:56
 
virtual void send(cMessage *msg, const char *gatename, int gateindex=-1)
Definition: csimplemodule.h:204
 
Definition: cabstracthistogram.h:21
 
virtual void send(cMessage *msg, cGate *outputgate)
Definition: csimplemodule.h:209