Home | History | Annotate | Download | only in deprecated

Lines Matching refs:EventType

23 // 1. Choose an EventType. This could be an Enum or something more complicated.
24 // 2. Create an EventTraits class for your EventType. It must have
27 // typedef x EventType;
28 // static bool IsChannelShutdownEvent(const EventType& event);
100 typedef typename EventTraits::EventType EventType;
101 typedef EventListener<EventType> Listener;
108 explicit EventChannel(const EventType& shutdown_event)
170 void NotifyListeners(const EventType& event) {
213 const EventType shutdown_event_;
233 public EventListener<typename EventTraits::EventType> {
248 typedef typename EventTraits::EventType EventType;
249 virtual void HandleEvent(const EventType& event) {
285 typedef typename EventTraits::EventType EventType;
286 void Callback(const EventType& event) {
310 typedef typename EventTraits::EventType EventType;
311 void Callback(const EventType& event) {