A timer class, which posts timer messages to CBaseObjects or calls a lambda function (c++11 only).
More...
#include <cvstguitimer.h>
|
| CVSTGUITimer (const CallbackFunc &callback, uint32_t fireTime=100, bool doStart=true) |
|
| CVSTGUITimer (CallbackFunc &&callback, uint32_t fireTime=100, bool doStart=true) |
|
| CVSTGUITimer (CBaseObject *timerObject, uint32_t fireTime=100, bool doStart=false) |
|
bool | start () |
| starts the timer
|
|
bool | stop () |
| stops the timer, returns whether timer was running or not
|
|
bool | setFireTime (uint32_t newFireTime) |
| in milliseconds
|
|
uint32_t | getFireTime () const |
| in milliseconds
|
|
| CBaseObject (const CBaseObject &o) |
|
CBaseObject & | operator= (const CBaseObject &obj) |
|
virtual CMessageResult | notify (CBaseObject *sender, IdStringPtr message) |
|
| ReferenceCounted (const ReferenceCounted &) |
|
ReferenceCounted & | operator= (const ReferenceCounted &) |
|
void | forget () override |
| decrease refcount and delete object if refcount == 0
|
|
void | remember () override |
| increase refcount
|
|
virtual int32_t | getNbReference () const |
| get refcount
|
|
|
void | beforeDelete () override |
|
void | fire () override |
|
A timer class, which posts timer messages to CBaseObjects or calls a lambda function (c++11 only).
The documentation for this class was generated from the following files:
- C:/RackAFX_v7/ASPIK_SDK/vstgui4/vstgui/lib/cvstguitimer.h
- C:/RackAFX_v7/ASPIK_SDK/vstgui4/vstgui/lib/cvstguitimer.cpp