Changeset 7898 in orxonox.OLD for branches/gui
- Timestamp:
- May 27, 2006, 6:05:20 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/gui/src/lib/event/event_handler.cc
r7897 r7898 29 29 30 30 /** 31 * standard constructor32 */31 * @brief standard constructor 32 */ 33 33 EventHandler::EventHandler () 34 34 { … … 52 52 53 53 /** 54 * the singleton reference to this class54 * @brief the singleton reference to this class 55 55 */ 56 56 EventHandler* EventHandler::singletonRef = NULL; … … 58 58 59 59 /** 60 * standard deconstructor 61 62 */ 60 * @brief standard deconstructor 61 */ 63 62 EventHandler::~EventHandler () 64 63 { … … 80 79 81 80 /** 82 * initializes the event handler81 * @brief initializes the event handler 83 82 * 84 83 * this has to be called before the use of the event handler … … 118 117 119 118 /** 120 * pushes the current State in the State-stack, and selects state119 * @brief pushes the current State in the State-stack, and selects state 121 120 * @param state the new State to set 122 121 */ … … 135 134 136 135 /** 137 * this removes the topmost stack-entry and select the underlying one136 * @brief this removes the topmost stack-entry and select the underlying one 138 137 * @returns the next stack-entry 139 138 */ … … 184 183 * @param state: the stat in which it has been subscribed 185 184 * @param eventType: the event, that shall be unsubscribed 186 187 188 189 */185 * 186 * if you want to unsubscribe an event listener from all subscribed events, just use the 187 * unsubscribe(EventListener* el, elState state) function 188 */ 190 189 void EventHandler::unsubscribe(EventListener* el, elState state, int eventType) 191 190 { … … 259 258 260 259 /** 261 * flush all registered events260 * @brief flush all registered events 262 261 * @param state: a specific state 263 262 */ … … 317 316 318 317 /** 319 * 318 * @brief core function of event handler: receives all events from SDL 320 319 * 321 320 * The event from the SDL framework are collected here and distributed to all listeners.
Note: See TracChangeset
for help on using the changeset viewer.