25 #ifndef GRAPHICS_AURORA_ANIMATIONTHREAD_H 26 #define GRAPHICS_AURORA_ANIMATIONTHREAD_H 30 #include <boost/atomic.hpp> 32 #include "glm/vec3.hpp" 33 #include "glm/vec4.hpp" 89 #endif // GRAPHICS_AURORA_ANIMATIONTHREAD_H
void unregisterModelInternal(Model *model)
boost::atomic< bool > _flushing
boost::atomic< bool > _paused
std::queue< Model * > ModelQueue
void unregisterModel(Model *model)
Remove a model from the processing pool.
A class that creates its own thread.
void registerModel(Model *model)
Add a model to the processing pool.
std::list< PoolModel > ModelList
void flush()
Apply changes to position and geometry of all models in the processing pool.
ModelQueue _registerQueue
uint8 getNumIterationsToSkip(Model *model) const
uint8 skippedCount
Number of skipped loop iterations.
Common::Semaphore _modelsSem
Semaphore protecting access to the model list.
Common::Semaphore _registerSem
Semaphore protecting access to the registration queue.
void registerModelInternal(Model *model)