![]() |
Shadowrun: Awakened 29 September 2011 - Build 871
|
#include <TimedEventManager.h>
Inheritance diagram for Support::TimedEventManager::TimedTask:Public Member Functions | |
| virtual void | execute () |
| TimedTask () | |
Public Attributes | |
| TimedEventManager * | _manager |
| TimerTracker | _tracker |
This class encapsulates a TimedTask while it is in the threadpool queue This class is used in an object pool, thus it should not be deleted by the task pool
Definition at line 82 of file TimedEventManager.h.
| Support::TimedEventManager::TimedTask::TimedTask | ( | ) |
Default constructor
Definition at line 39 of file TimedEventManager.cpp.
{
//since we're managed by a pool, we don't want to be deleted
setDelete(false);
}
| void Support::TimedEventManager::TimedTask::execute | ( | ) | [virtual] |
Executes the contents of this timed task, then recycles back into the pool
Implements Support::ThreadTaskBase.
Definition at line 48 of file TimedEventManager.cpp.
Definition at line 86 of file TimedEventManager.h.
Referenced by Support::TimedEventManager::checkTimers().
Definition at line 85 of file TimedEventManager.h.
Referenced by Support::TimedEventManager::checkTimers().
Copyright © 2007-2010 by The Shadowrun: Awakened Team. This work is licensed under the GNU Lesser General Public License 3.