Dali 3D User Interface Engine
List of all members | Public Member Functions | Protected Member Functions
Dali::Internal::Adaptor::TimerInterface Class Referenceabstract

Interface for a timer class. More...

#include <timer-interface.h>

Inheritance diagram for Dali::Internal::Adaptor::TimerInterface:
Inheritance graph
[legend]

Public Member Functions

virtual void Start ()=0
 Start timer. More...
 
virtual void Stop ()=0
 Stop timer. More...
 
virtual void SetInterval (unsigned int intervalInMilliseconds)=0
 Sets a new interval on the timer and starts the timer. More...
 
virtual unsigned int GetInterval () const =0
 Get the interval of timer. More...
 
virtual bool IsRunning () const =0
 Tells whether timer is running. More...
 

Protected Member Functions

virtual ~TimerInterface ()
 Virtual protected destructor, no deletion through this interface. More...
 

Detailed Description

Interface for a timer class.

Definition at line 31 of file timer-interface.h.

Constructor & Destructor Documentation

virtual Dali::Internal::Adaptor::TimerInterface::~TimerInterface ( )
inlineprotectedvirtual

Virtual protected destructor, no deletion through this interface.

Definition at line 63 of file timer-interface.h.

Member Function Documentation

virtual unsigned int Dali::Internal::Adaptor::TimerInterface::GetInterval ( ) const
pure virtual

Get the interval of timer.

Returns
Interval in milliseconds. .0

Implemented in Dali::Internal::Adaptor::Timer, and Dali::Internal::Adaptor::Timer.

virtual bool Dali::Internal::Adaptor::TimerInterface::IsRunning ( ) const
pure virtual

Tells whether timer is running.

.0

Returns
Whether Timer is started or not.

Implemented in Dali::Internal::Adaptor::Timer, and Dali::Internal::Adaptor::Timer.

virtual void Dali::Internal::Adaptor::TimerInterface::SetInterval ( unsigned int  intervalInMilliseconds)
pure virtual

Sets a new interval on the timer and starts the timer.

Cancels the previous timer. .0

Parameters
milliSecInterval in milliseconds.

Implemented in Dali::Internal::Adaptor::Timer, and Dali::Internal::Adaptor::Timer.

virtual void Dali::Internal::Adaptor::TimerInterface::Start ( )
pure virtual

Start timer.

In case a Timer is already running it's time is reset and timer is restarted. .0

Implemented in Dali::Internal::Adaptor::Timer, and Dali::Internal::Adaptor::Timer.

virtual void Dali::Internal::Adaptor::TimerInterface::Stop ( )
pure virtual

The documentation for this class was generated from the following file:
Dali Docs Home
Read more about Dali