[Development] QSystemAlignedTimer to QtCore

kranthi.kumar-kuntala at nokia.com kranthi.kumar-kuntala at nokia.com
Mon Feb 20 13:40:33 CET 2012


Hi,

Ok, due to the fact that features have been freezed for Qt5.0 am proposing this to be an addon module.

so am sending a request for a new Playground project 

name of the project: alignedtimers
description: The AlignedTimer is a service for applications to synchronize their activity.
    AlignedTimer is a fuzzy timer that allows applications that must do periodic activity like
    after being in sleep mode a certain period, to synchronize their activities in the same window of time.
    For example send network "alive" messages at the same time (i.e. turn the wireless radio on at the same time).
    The service is not only for network-aware applications, it is for use by any applications
    that need to periodic wake-ups.

Best regards,
Kranthi.

________________________________________
From: development-bounces+kranthi.kumar-kuntala=nokia.com at qt-project.org [development-bounces+kranthi.kumar-kuntala=nokia.com at qt-project.org] on behalf of ext Thiago Macieira [thiago.macieira at intel.com]
Sent: Friday, February 17, 2012 2:23 PM
To: development at qt-project.org
Subject: Re: [Development] QSystemAlignedTimer to QtCore

On sexta-feira, 17 de fevereiro de 2012 14.09.05, Kumar-Kuntala Kranthi wrote:
> Hi,
>
> In continuation to the discussion we had some time time ago merge former
> mobility systeminfo Api's QSystemAlignedtimer to QTimer.
>
> http://lists.qt-project.org/pipermail/development/2011-November/000526.html
>
> I would like to keep QSystemAlignedtimer as a separate class and not to
> merge in QTimer due to below reason
>
> the underlaying layer in harmattan needs a window of time in which the
> process have to be woken up at the same time to save the battery
> consumption etc and for other backends this might not be the case
>
> so I have ported/copied the harmattan backend for QSystemAlignedtimer to
> QAlignedTimer in Qt5 in here http://codereview.qt-project.org/#change,16646
>
> any Comments ?

We're 2 weeks past the feature freeze and you're proposing an entirely new and
separate class, without requiring changes in any of the public classes that
will be in 5.0.

So this new contribution is Qt 5.1 material.

Aside from that, I understand the need for a timer window. When we suggested
merging with QTimer it was to check if that is possible. If it doesn't turn
out to be, then so be it, a new class is born.

Your contribution is also sorely lacking implementation for other platforms,
including the reference ones. Please provide such implementation or document
that the platform has no such feature.

--
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
     Intel Sweden AB - Registration Number: 556189-6027
     Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden



More information about the Development mailing list