1 //******************************************************************
3 // Copyright 2014 Intel Corporation All Rights Reserved.
4 //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
6 /// @file OCObserverHandler.h
8 /// @brief This file contains the declaration of classes and its members related to
11 #ifndef __OCOBSERVERHANDLER_H
12 #define __OCOBSERVERHANDLER_H
19 * @brief OCObserverHandler is a pure abstract class and it can be used for
20 * observer related callbacks
23 class OCObserverHandler
26 virtual ~OCObserverHandler(void)
30 * @fn This function is called when the property gets updated
32 * @param propertyName name of the property
33 * @param value value of the property
35 virtual void onObserverUpdate(std::string propertyName, void *value) = 0;
39 #endif //__OCOBSERVERHANDLER_H