X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=service%2Fsimulator%2Fsrc%2Fservice-provider%2Fresource_update_automation.h;h=6ae1f0e1683d34dda8eb7eed632da4f0446e5a97;hb=3e9402ad71cb3e93266a77796f44d17bab9853fd;hp=ba80911425ca891965be2cf4d069c99d7caf9000;hpb=17c68b2fd1e74586f85e552eeab4e32dc121f8a0;p=platform%2Fupstream%2Fiotivity.git diff --git a/service/simulator/src/service-provider/resource_update_automation.h b/service/simulator/src/service-provider/resource_update_automation.h index ba80911..6ae1f0e 100644 --- a/service/simulator/src/service-provider/resource_update_automation.h +++ b/service/simulator/src/service-provider/resource_update_automation.h @@ -66,17 +66,17 @@ class ResourceUpdateAutomation void stop(); - void finished(int id); - private: + void updateAttributes(std::vector attributes); + SimulatorResourceServer *m_resource; AutomationType m_type; int m_id; + bool m_stopRequested; int m_updateInterval; - SimulatorResourceModel m_resModel; - std::map m_attrUpdationList; updateCompleteCallback m_callback; std::function m_finishedCallback; + std::thread *m_thread; }; typedef std::shared_ptr ResourceUpdateAutomationSP;