#include <Inventor/ViewerComponents/Qt/QtTimer.h>
|
| | QtTimer () |
| |
| virtual void | start () |
| | Start the timer.
|
| |
| virtual void | stop () |
| | Stop the timer.
|
| |
| virtual void | setDelay (int time) |
| | Set the timer's timeout in milliseconds.
|
| |
| virtual bool | isPending () const |
| | Return true if the timer is running.
|
| |
| virtual void | setRepeat (bool flag) |
| | If set to true, the timer will be triggered periodically at the rate defined by setDelay.
|
| |
| virtual void | setTask (SoSystemTimerTask *task) |
| | Sets the task executed when the timer is triggered.
|
| |
| 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.
|
| |
Definition at line 20 of file QtTimer.h.
◆ QtTimer()
◆ isPending()
| virtual bool QtTimer::isPending |
( |
| ) |
const |
|
virtual |
◆ setDelay()
| virtual void QtTimer::setDelay |
( |
int |
time | ) |
|
|
virtual |
Set the timer's timeout in milliseconds.
Implements SoSystemTimer.
◆ setRepeat()
| virtual void QtTimer::setRepeat |
( |
bool |
flag | ) |
|
|
virtual |
If set to true, the timer will be triggered periodically at the rate defined by setDelay.
Implements SoSystemTimer.
◆ setTask()
Sets the task executed when the timer is triggered.
When the timer is is triggered, it calls the run() method of task.
Implements SoSystemTimer.
◆ start()
| virtual void QtTimer::start |
( |
| ) |
|
|
virtual |
Start the timer.
If it is already started, stop it and restart
Implements SoSystemTimer.
◆ startRequired
| void QtTimer::startRequired |
( |
| ) |
|
|
signal |
◆ stop()
| virtual void QtTimer::stop |
( |
| ) |
|
|
virtual |
◆ stopRequired
| void QtTimer::stopRequired |
( |
| ) |
|
|
signal |
The documentation for this class was generated from the following file: