Lines Matching refs:TestEvent
22 struct TestEvent {
31 typedef TestEvent EventType;
32 static bool IsChannelShutdownEvent(const TestEvent& event) {
33 return TestEvent::PAIR_BEING_DELETED == event.what_happened;
41 TestEvent shutdown = { this, TestEvent::PAIR_BEING_DELETED, 0 };
48 TestEvent event = { this, TestEvent::A_CHANGED, a_ };
53 TestEvent event = { this, TestEvent::B_CHANGED, b_ };
83 void HandlePairEvent(const std::string& name, const TestEvent& event) {
88 case TestEvent::A_CHANGED:
92 case TestEvent::B_CHANGED:
96 case TestEvent::PAIR_BEING_DELETED:
133 TestEvent event = {&sally, TestEvent::PAIR_BEING_DELETED, 0 };
142 class ThreadTester : public EventListener<TestEvent>,
213 void HandleEvent(const TestEvent& event) {
247 void HandleEvent(const TestEvent& event) {