TTimer.h Source File¶
|
Simu5G
|
TTimer.h
4// Copyright (C) 2012-2021 Giovanni Nardini, Giovanni Stea, Antonio Virdis et al. (University of Pisa)
bool busy_
True if there is at least one scheduled event.
Definition TTimer.h:219
std::multimap< constsimtime_t, constunsignedint >::iterator Event_it
Event iterator.
Definition TTimer.h:227
void handle(unsigned int event)
virtual void add(simtime_t t, unsigned int event)
std::multimap< const simtime_t, const unsigned int > directList_
The event list.
Definition TTimer.h:224
TMultiTimer(cSimpleModule *module)
Build an idle multi-timer.
Definition TTimer.h:141
TMultiTimerMsg * intr_
Used for scheduling an event into the Omnet++ event scheduler.
Definition TTimer.h:216
std::map< const unsigned int, const Event_it > reverseList_
The removable list. Each event id matches with an iterator.
Definition TTimer.h:230
virtual void remove(const unsigned int event)
virtual bool busy(const unsigned int event) const
unsigned int timerId_
Timer identifier - will be inserted in each timer-generated message.
Definition TTimer.h:210
opp_component_ptr< cSimpleModule > module_
Object for handling the event.
Definition TTimer.h:213
TTimerMsg * intr_
Used for scheduling an event into the Omnet++ event scheduler.
Definition TTimer.h:117
void handle()
void stop()
void start(simtime_t t)
unsigned int timerId_
Timer identifier - will be inserted in each timer-generated message.
Definition TTimer.h:111
opp_component_ptr< cSimpleModule > module_
Object for handling the event.
Definition TTimer.h:114
Definition AlertReceiver.h:24
Generated by