|
OMNeT++ API 6.1
Discrete Event Simulation Library
|
|
16 #ifndef __OMNETPP_CLISTENER_H
17 #define __OMNETPP_CLISTENER_H
21 #include "simtime_t.h"
22 #include "simtime_t.h"
39 #define SIMSIGNAL_NULL ((omnetpp::simsignal_t)-1)
57 SIMSIGNAL_LONG [[deprecated]] = SIMSIGNAL_INT,
58 SIMSIGNAL_ULONG [[deprecated]] = SIMSIGNAL_UINT
76 std::vector<std::pair<cComponent*,simsignal_t>> subscriptions;
83 virtual void unsubscribeAll();
194 virtual void unsupportedType(
simsignal_t signalID,
const char *dataType);
int simsignal_t
Signal handle.
Definition: clistener.h:27
cObject is a lightweight class which serves as the root of the OMNeT++ class hierarchy....
Definition: cobject.h:92
A do-nothing implementation of cIListener, suitable as a base class for other listeners.
Definition: clistener.h:190
Interface for listeners in a simulation model.
Definition: clistener.h:71
int64_t-based, base-10 fixed-point simulation time.
Definition: simtime.h:66
virtual void unsubscribedFrom(cComponent *component, simsignal_t signalID)
Definition: clistener.h:173
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
cIListener(const cIListener &other)
Definition: clistener.h:94
virtual void subscribedTo(cComponent *component, simsignal_t signalID)
Definition: clistener.h:155
SimsignalType
Signal data types.
Definition: clistener.h:47
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
cIListener()
Definition: clistener.h:89
Common base for module and channel classes.
Definition: ccomponent.h:49
virtual void finish(cComponent *component, simsignal_t signalID)
Definition: clistener.h:148
Base class for result filters.
Definition: cresultfilter.h:72
virtual int getSubscribeCount() const
Definition: clistener.h:178