Class to integrate Windows timer into OpenInventor. More...
#include <Inventor/ViewerComponents/MFC/WinTimer.h>
Inheritance diagram for WinTimer:Public Member Functions | |
| WinTimer () | |
| Constructor. | |
| virtual void | start () |
| Start the timer. | |
| virtual void | stop () |
| Stop the timer. | |
| virtual void | setDelay (int time) |
| Set the delay of the timer. | |
| virtual bool | isPending () const |
| Return true if the timer is pending. | |
| virtual void | setRepeat (bool flag) |
| Set if the timer is in the repeat mode. | |
| virtual void | setTask (SoSystemTimerTask *task) |
| Set task associated to the timer. | |
| void | timeOut () |
| This function is call when the timer timeout. | |
| WinTimer () | |
| Constructor. | |
| virtual void | start () |
| Start the timer. | |
| virtual void | stop () |
| Stop the timer. | |
| virtual void | setDelay (int time) |
| Set the delay of the timer. | |
| virtual bool | isPending () const |
| Return true if the timer is pending. | |
| virtual void | setRepeat (bool flag) |
| Set if the timer is in the repeat mode. | |
| virtual void | setTask (SoSystemTimerTask *task) |
| Set task associated to the timer. | |
| void | timeOut () |
| This function is call when the timer timeout. | |
Public Member Functions inherited from SoRefCounter | |
| void | ref () const |
| Adds a reference to an instance. | |
| void | unref () const |
| Removes a reference from an instance. | |
| void | unrefNoDelete () const |
| unrefNoDelete() should be called when it is desired to decrement the reference count, but not delete the instance if this brings the reference count to zero. | |
| int | getRefCount () const |
| Returns current reference count. | |
| void | lock () const |
| lock this instance. | |
| void | unlock () const |
| unlock this instance. | |
Class to integrate Windows timer into OpenInventor.
Definition at line 18 of file WinTimer.h.
| WinTimer::WinTimer | ( | ) |
Constructor.
| WinTimer::WinTimer | ( | ) |
Constructor.
|
virtual |
Return true if the timer is pending.
Implements SoSystemTimer.
|
virtual |
Return true if the timer is pending.
Implements SoSystemTimer.
|
virtual |
Set the delay of the timer.
Implements SoSystemTimer.
|
virtual |
Set the delay of the timer.
Implements SoSystemTimer.
|
virtual |
Set if the timer is in the repeat mode.
Implements SoSystemTimer.
|
virtual |
Set if the timer is in the repeat mode.
Implements SoSystemTimer.
|
virtual |
Set task associated to the timer.
Implements SoSystemTimer.
|
virtual |
Set task associated to the timer.
Implements SoSystemTimer.
|
virtual |
Start the timer.
Implements SoSystemTimer.
|
virtual |
Start the timer.
Implements SoSystemTimer.
|
virtual |
Stop the timer.
Implements SoSystemTimer.
|
virtual |
Stop the timer.
Implements SoSystemTimer.
| void WinTimer::timeOut | ( | ) |
This function is call when the timer timeout.
| void WinTimer::timeOut | ( | ) |
This function is call when the timer timeout.