|
OMNeT++ API 6.1
Discrete Event Simulation Library
|
|
16 #ifndef __OMNETPP_SIMKERNELDEFS_H
17 #define __OMNETPP_SIMKERNELDEFS_H
23 #include "platdep/platdefs.h"
28 #define OMNETPP_VERSION 0x0601
31 #define OMNETPP_BUILDNUM 1540
33 #if defined(SIM_EXPORT)
34 # define SIM_API OPP_DLLEXPORT
35 #elif defined(SIM_IMPORT) || defined(OMNETPPLIBS_IMPORT)
36 # define SIM_API OPP_DLLIMPORT
50 #define ASSERT(expr) \
51 ((void) ((expr) ? 0 : (throw omnetpp::cRuntimeError("ASSERT: Condition '%s' does not hold in function '%s' at %s:%d", \
52 #expr, __FUNCTION__, __FILE__, __LINE__), 0)))
58 #define ASSERT2(expr,text) \
59 ((void) ((expr) ? 0 : (throw omnetpp::cRuntimeError("ASSERT: %s in function '%s' at %s:%d", \
60 text, __FUNCTION__, __FILE__, __LINE__), 0)))
62 #define ASSERT(expr) ((void)0)
63 #define ASSERT2(expr,text) ((void)0)
70 #define ASSERT_DTOR(expr) assert(expr)
int64_t msgid_t
Message ID. See cMessage::getId().
Definition: simkerneldefs.h:85
uint64_t uintval_t
Unsigned integer type which is guaranteed to be at least 64 bits wide. It is used throughout the libr...
Definition: simkerneldefs.h:109
int64_t eventnumber_t
Sequence number of events during the simulation. Events are numbered from one. (Event number zero is ...
Definition: simkerneldefs.h:78
int64_t txid_t
Transmission ID. See SendOptions::transmissionId(), cMessage::getTransmissionId().
Definition: simkerneldefs.h:92
int64_t intval_t
Signed integer type which is guaranteed to be at least 64 bits wide. It is used throughout the librar...
Definition: simkerneldefs.h:101
intval_t intpar_t
Definition: simkerneldefs.h:116