vdk 2.4.0
Public Member Functions | Public Attributes
VDKTimer Class Reference

Provides a timer. More...

#include <timer.h>

Inheritance diagram for VDKTimer:
VDKObject VDKNotCopyAble

List of all members.

Public Member Functions

Public Attributes


Detailed Description

Provides a timer.

SIGNAL
  • timer_tick_signal received whenever timer interval expires
EXAMPLES
Into ./testvdk/progresswin.cc

Constructor & Destructor Documentation

VDKTimer::VDKTimer ( VDKForm owner,
unsigned int  tick = 1000,
bool  start = true 
)

Constructor

Parameters:
owner
ticktimer interval
startif true starts at creation
VDKTimer::~VDKTimer ( ) [virtual]

Destructor


Member Function Documentation

void VDKTimer::SetTimeTick ( unsigned int  t)

Set/gets timer tick interval

void VDKTimer::Start ( )

Explicitely starts the timer

bool VDKTimer::Started ( ) [inline]

Answers if timer was started or not

void VDKTimer::Stop ( )

Stop the timer


Member Data Documentation

VDKReadWriteValueProp<VDKTimer, unsigned int> VDKTimer::TimeTick

Set/gets timer tick interval


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