Initial version of atomic measurement.
[iotivity.git] / resource / include / OCPlatform_impl.h
index 90a964e..1a59f12 100644 (file)
@@ -281,6 +281,12 @@ namespace OC
         OCStackResult bindResources(const OCResourceHandle collectionHandle,
                     const std::vector<OCResourceHandle>& addedResourceHandleList);
 
+        OCStackResult bindResourceAM(const OCResourceHandle amColHandle,
+                    const OCResourceHandle resourceHandle, bool isAtomicMeasurement);
+
+        OCStackResult bindResourcesAM(const OCResourceHandle amColHandle,
+                    const std::vector<OCResourceHandle>& addedResourceHandleList, bool isAtomicMeasurement);
+
         OCStackResult unbindResource(const OCResourceHandle collectionHandle,
                     const OCResourceHandle resourceHandle);
 
@@ -290,6 +296,9 @@ namespace OC
         OCStackResult bindTypeToResource(const OCResourceHandle& resourceHandle,
                         const std::string& resourceTypeName) const;
 
+        OCStackResult bindRtsMToResource(const OCResourceHandle& resourceHandle,
+                        const std::string& resourceTypeName) const;
+
         OCStackResult bindInterfaceToResource(const OCResourceHandle& resourceHandle,
                         const std::string& resourceInterfaceName) const;
 
@@ -321,6 +330,8 @@ namespace OC
         OCStackResult sendResponse(const std::shared_ptr<OCResourceResponse> pResponse);
         std::weak_ptr<std::recursive_mutex> csdkLock();
 
+        OCStackResult notifyNewAMAvailable(const OCResourceHandle resourceHandle);
+
 #ifdef WITH_CLOUD
         OCAccountManager::Ptr constructAccountManagerObject(const std::string& host,
                                                             OCConnectivityType connectivityType);