Changeset 3330 for Core/branches/0075_TR_SCRIPTING/Event/I_EventService.hpp
- Timestamp:
- 01/30/10 13:18:29 (6 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
Core/branches/0075_TR_SCRIPTING/Event/I_EventService.hpp
r3308 r3330 43 43 class I_EventQueue; 44 44 class I_ActionMap; 45 class I_Event; 45 46 46 47 /// Event Service. … … 62 63 /// @{ 63 64 public: 65 /// Create an event by name. 66 virtual I_Event& createEvent(const std::string& _name) = 0; 67 68 /// Get an event by name. 69 virtual I_Event& getEvent(const std::string& _name) = 0; 70 64 71 /// Get an event queue by name. 72 /// There are two special event queues. "default" and "script". 73 /// The default event queue is used if I_Event::connect() has a NULL 74 /// for the event queue. The script event queue is used as the default 75 /// event queue for scripted actions. If either of these 76 /// event queues are created by either of these use cases, make 77 /// sure you process events on those queues, otherwise the queues will 78 /// fill up and consume memory. 65 79 virtual I_EventQueue& getEventQueue(const std::string& _queueName) = 0; 66 80
