|
BWAPI
|


Go to the source code of this file.
Classes | |
| class | SchedulerTask |
| Wrapper for scheduler tasks allowing parameter-less activation and deactivation. More... | |
Defines | |
| #define | SCHEDULER_EVENT(Type, Function) |
| #define SCHEDULER_EVENT | ( | Type, | |
| Function | |||
| ) |
class SchedulerTask_##Type_##Function : public SchedulerTask \ { \ public: \ SchedulerTask_##Type_##Function(Type& object, unsigned int priority, size_t period, size_t waitingTimeBeforeExecution) \ : SchedulerTask(object, priority, period, waitingTimeBeforeExecution) \ , m_object(object) {} \ virtual ~SchedulerTask_##Type_##Function() {} \ protected: \ virtual void runV() \ { \ m_object.Function(); \ } \ Type& m_object; \ }
1.7.6.1