Lines Matching refs:T
66 template<typename T>
72 T task;
74 PoolElement(int _id, T && _task) in PoolElement()
83 …static_assert( offsetof(PoolElement<T>, task) == sizeof(PoolElementHeader), "Invalid offset for ta… in PoolElement()
88 desc.poolDestroyFunc = T::PoolTaskDestroy; in PoolElement()
89 desc.taskFunc = T::TaskEntryPoint; in PoolElement()
90 desc.stackRequirements = T::GetStackRequirements(); in PoolElement()
91 desc.priority = T::GetTaskPriority(); in PoolElement()
95 desc.debugID = T::GetDebugID(); in PoolElement()
96 desc.debugColor = T::GetDebugColor(); in PoolElement()
232 template<typename T, size_t N>
237 typedef PoolElement<T> PoolItem;
251 inline void MoveCtor(PoolItem* element, int id, T && val) in MoveCtor()
288 pElement->task.~T(); in ~TaskPool()
297 TaskHandle TryAlloc(T && task) in TryAlloc()
320 TaskHandle Alloc(T && task) in Alloc()