Spinning::Spinning::SpinningThread Class Reference
Inherits QueuedThread.
Collaboration diagram for Spinning::Spinning::SpinningThread:

Public Member Functions | |
| SpinningThread (MenuObject *obj, float rotationspeed) | |
| bool | run (int time) |
Private Attributes | |
| MenuObject * | obj |
| int | time |
| float | rotationspeed |
| float | completedangle |
Constructor & Destructor Documentation
| Spinning::Spinning::SpinningThread::SpinningThread | ( | MenuObject * | obj, | |
| float | rotationspeed | |||
| ) |
Member Function Documentation
| bool Spinning::Spinning::SpinningThread::run | ( | int | time | ) | [virtual] |
This method will be called by the ThreadQueue -class, if this object has been registered using ThreadQueue::addToThreadQueue( QueuedThread *t ).
This method is abstract. Overwrite it and perform tasks periodically.
- Parameters:
-
time This is a timestamp measured in milliseconds.
- Returns:
- Return true, if this method should be called again by the ThreadQueue -class. If you return false, this object will be deleted.
Implements QueuedThread.
Member Data Documentation
float Spinning::Spinning::SpinningThread::completedangle [private] |
MenuObject* Spinning::Spinning::SpinningThread::obj [private] |
float Spinning::Spinning::SpinningThread::rotationspeed [private] |
int Spinning::Spinning::SpinningThread::time [private] |
The documentation for this class was generated from the following files:
- tools/libraries/3DMenu/libAnimations/Spinning.h
- tools/libraries/3DMenu/libAnimations/Spinning.cpp
Generated on Wed Oct 20 16:12:01 2010 for inVRs by
1.5.8