ITimer


Describes minimum required functionality from timer component.

You can find more information in comments below. Overrided methods can be found in corresponding base interface.

class ITimer :public virtual IComponent
{
public:
    virtual float getInterval() = 0; // Return interval 
    virtual bool isEnabled() = 0; // Return whether is enabled 

    virtual bool setInterval(const float value) = 0; // Set interval(in seconds) 
    virtual bool setEnabled(const bool value) = 0; // Enable/disable 
};
Namespace: nitisa::standard
Include: Standard/Components/ITimer.h