eventq.hh (9158:d152d34a4adf) | eventq.hh (9159:8adc048515b8) |
---|---|
1/* 2 * Copyright (c) 2000-2005 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 418 unchanged lines hidden (view full) --- 427class EventManager 428{ 429 protected: 430 /** A pointer to this object's event queue */ 431 EventQueue *eventq; 432 433 public: 434 EventManager(EventManager &em) : eventq(em.eventq) {} | 1/* 2 * Copyright (c) 2000-2005 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 418 unchanged lines hidden (view full) --- 427class EventManager 428{ 429 protected: 430 /** A pointer to this object's event queue */ 431 EventQueue *eventq; 432 433 public: 434 EventManager(EventManager &em) : eventq(em.eventq) {} |
435 EventManager(EventManager *em) : eventq(em ? em->eventq : NULL) {} | 435 EventManager(EventManager *em) : eventq(em->eventq) {} |
436 EventManager(EventQueue *eq) : eventq(eq) {} 437 438 EventQueue * 439 eventQueue() const 440 { 441 return eventq; 442 } 443 --- 151 unchanged lines hidden --- | 436 EventManager(EventQueue *eq) : eventq(eq) {} 437 438 EventQueue * 439 eventQueue() const 440 { 441 return eventq; 442 } 443 --- 151 unchanged lines hidden --- |