CTimer


Implementation of the Timer component.

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

class CTimer :public virtual ITimer, public CComponent
{
public:
    void(*OnTimer)(IComponent *sender);

    CTimer();
    CTimer(IForm *parent);

    float getInterval() override;
    bool isEnabled() override;

    bool setInterval(const float value) override;
    bool setEnabled(const bool value) override;
};
Namespace: nitisa::standard
Include: Standard/Components/Timer/Timer.h