Open Inventor Release 2024.1.3
 
Loading...
Searching...
No Matches

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.
 

Detailed Description

Class to integrate Windows timer into OpenInventor.

Definition at line 18 of file WinTimer.h.

Constructor & Destructor Documentation

◆ WinTimer() [1/2]

WinTimer::WinTimer ( )

Constructor.

◆ WinTimer() [2/2]

WinTimer::WinTimer ( )

Constructor.

Member Function Documentation

◆ isPending() [1/2]

virtual bool WinTimer::isPending ( ) const
virtual

Return true if the timer is pending.

Implements SoSystemTimer.

◆ isPending() [2/2]

virtual bool WinTimer::isPending ( ) const
virtual

Return true if the timer is pending.

Implements SoSystemTimer.

◆ setDelay() [1/2]

virtual void WinTimer::setDelay ( int  time)
virtual

Set the delay of the timer.

Implements SoSystemTimer.

◆ setDelay() [2/2]

virtual void WinTimer::setDelay ( int  time)
virtual

Set the delay of the timer.

Implements SoSystemTimer.

◆ setRepeat() [1/2]

virtual void WinTimer::setRepeat ( bool  flag)
virtual

Set if the timer is in the repeat mode.

Implements SoSystemTimer.

◆ setRepeat() [2/2]

virtual void WinTimer::setRepeat ( bool  flag)
virtual

Set if the timer is in the repeat mode.

Implements SoSystemTimer.

◆ setTask() [1/2]

virtual void WinTimer::setTask ( SoSystemTimerTask task)
virtual

Set task associated to the timer.

Implements SoSystemTimer.

◆ setTask() [2/2]

virtual void WinTimer::setTask ( SoSystemTimerTask task)
virtual

Set task associated to the timer.

Implements SoSystemTimer.

◆ start() [1/2]

virtual void WinTimer::start ( )
virtual

Start the timer.

Implements SoSystemTimer.

◆ start() [2/2]

virtual void WinTimer::start ( )
virtual

Start the timer.

Implements SoSystemTimer.

◆ stop() [1/2]

virtual void WinTimer::stop ( )
virtual

Stop the timer.

Implements SoSystemTimer.

◆ stop() [2/2]

virtual void WinTimer::stop ( )
virtual

Stop the timer.

Implements SoSystemTimer.

◆ timeOut() [1/2]

void WinTimer::timeOut ( )

This function is call when the timer timeout.

◆ timeOut() [2/2]

void WinTimer::timeOut ( )

This function is call when the timer timeout.


The documentation for this class was generated from the following files: