|
VSTGUI
4.4
Graphical User Interface Framework not only for VST plugins
|
A timer class, which posts timer messages to CBaseObjects or calls a lambda function (c++11 only). More...
Inheritance diagram for CVSTGUITimer:Public Member Functions | |
| CVSTGUITimer (CBaseObject *timerObject, uint32_t fireTime=100, bool doStart=false) | |
| virtual bool | start () |
| starts the timer More... | |
| virtual bool | stop () |
| stops the timer, returns whether timer was running or not More... | |
| virtual bool | setFireTime (uint32_t newFireTime) |
| in milliseconds More... | |
| uint32_t | getFireTime () const |
| in milliseconds More... | |
| virtual bool | isTypeOf (IdStringPtr s) const |
| virtual CBaseObject * | newCopy () const |
Public Member Functions inherited from CBaseObject | |
| CBaseObject () | |
| virtual | ~CBaseObject () |
| virtual void | beforeDelete () |
| virtual void | forget () |
| decrease refcount and delete object if refcount == 0 More... | |
| virtual void | remember () |
| increase refcount More... | |
| virtual int32_t | getNbReference () const |
| get refcount More... | |
| virtual CMessageResult | notify (CBaseObject *sender, IdStringPtr message) |
Static Public Attributes | |
| static IdStringPtr | kMsgTimer = "timer fired" |
| message string posted to CBaseObject's notify method More... | |
Protected Member Functions | |
| ~CVSTGUITimer () | |
| void | fire () |
Protected Attributes | |
| uint32_t | fireTime |
| CBaseObject * | timerObject |
| SharedPointer< IPlatformTimer > | platformTimer |
A timer class, which posts timer messages to CBaseObjects or calls a lambda function (c++11 only).
| CVSTGUITimer | ( | CBaseObject * | timerObject, |
| uint32_t | fireTime = 100, |
||
| bool | doStart = false |
||
| ) |
|
protected |
|
protected |
|
inline |
in milliseconds
|
inlinevirtual |
|
inlinevirtual |
|
virtual |
in milliseconds
|
virtual |
starts the timer
|
virtual |
stops the timer, returns whether timer was running or not
|
protected |
|
static |
message string posted to CBaseObject's notify method
|
protected |
|
protected |