Rename GenericTimerEvent -> TimerEvent
This commit is contained in:
@ -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
|
||||
|
||||
@ -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-
|
||||
|
||||
Reference in New Issue
Block a user