From f844eb0e985a1dafb487e860d76d502a80f9a1d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20B=C3=B6ckenkamp?= Date: Tue, 19 Mar 2013 13:37:18 +0100 Subject: [PATCH] Rename GenericTimerEvent -> TimerEvent --- doc/class-diagram.dia | 38 +++++++++++++++++++------------------- src/core/sal/Event.hpp | 8 ++++---- src/core/sal/Listener.hpp | 2 +- 3 files changed, 24 insertions(+), 24 deletions(-) diff --git a/doc/class-diagram.dia b/doc/class-diagram.dia index 0f237c0b..8ca3d8ab 100644 --- a/doc/class-diagram.dia +++ b/doc/class-diagram.dia @@ -6199,7 +6199,7 @@ - + @@ -9786,8 +9786,8 @@ - - + + @@ -17241,7 +17241,7 @@ - #GenericTimerEvent# + #TimerEvent# ## @@ -18919,8 +18919,8 @@ - - + + @@ -19135,16 +19135,16 @@ - + - - - + + + @@ -20852,7 +20852,7 @@ - + @@ -21078,17 +21078,17 @@ - + - + - - + + @@ -21119,17 +21119,17 @@ - + - + - - + + diff --git a/src/core/sal/Event.hpp b/src/core/sal/Event.hpp index f47b9fd4..fb196527 100644 --- a/src/core/sal/Event.hpp +++ b/src/core/sal/Event.hpp @@ -334,18 +334,18 @@ public: }; /** - * \class GenericTimerEvent + * \class TimerEvent * This event type is used to encapsulate timeout-specific data. */ -class GenericTimerEvent : public BaseEvent { +class TimerEvent : public BaseEvent { protected: timer_id_t m_Id; //!< internal timer id (sim-specific) public: /** * Creates a new timer event. */ - GenericTimerEvent(timer_id_t id = INVALID_TIMER) : m_Id(id) { } - ~GenericTimerEvent() { } + TimerEvent(timer_id_t id = INVALID_TIMER) : m_Id(id) { } + ~TimerEvent() { } /** * Retrieves the internal timer id. Maybe useful for debug output. * @return the timer id or \c INVALID_TIMER if the timer is invalid diff --git a/src/core/sal/Listener.hpp b/src/core/sal/Listener.hpp index 2d4e9e5e..61f0c5d4 100644 --- a/src/core/sal/Listener.hpp +++ b/src/core/sal/Listener.hpp @@ -653,7 +653,7 @@ public: class TimerListener : public BaseListener { protected: unsigned m_Timeout; //!< timeout interval in microseconds - GenericTimerEvent m_Data; + TimerEvent m_Data; public: /** * Creates a new timer listener. This can be used to implement a timeout-