OMNeT++ Simulation Library  5.6.1
Simulation Core

Description

Classes in this group, such as cSimpleModule or cMessage, are essential to writing OMNeT++ simulation models.

Classes

class  cChannel
 Base class for channels. More...
 
class  cIdealChannel
 Channel with zero propagation delay, zero transmission delay (infinite datarate), and always enabled. More...
 
class  cComponent
 Common base for module and channel classes. More...
 
class  cDatarateChannel
 Channel that models delay, bit error rate and data rate. More...
 
class  cDelayChannel
 Channel with propagation delay. More...
 
class  cGate
 Represents a module gate. More...
 
class  cMessage
 The message class in OMNeT++. cMessage objects may represent events, messages, jobs or other entities in a simulation. To represent network packets, use the cPacket subclass. More...
 
class  cModule
 This class represents modules in the simulation. More...
 
class  cPacket
 A subclass of cMessage to represent packets, frames, datagrams, application messages, and similar data. More...
 
class  cPar
 Represents a module or channel parameter. More...
 
class  cSimpleModule
 Base class for all simple module classes. More...
 

Functions

simtime_t simTime ()
 Returns the current simulation time. More...
 

Function Documentation

◆ simTime()

simtime_t omnetpp::simTime ( )
inline

Returns the current simulation time.

References cSimulation::getActiveSimulation(), and cSimulation::getSimTime().

Referenced by cDatarateChannel::isBusy().