Rename GenericTimerEvent -> TimerEvent

This commit is contained in:
Adrian Böckenkamp
2013-03-19 13:37:18 +01:00
parent eb17e9ef82
commit f844eb0e98
3 changed files with 24 additions and 24 deletions

View File

@ -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

View File

@ -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-