Updated and fixed some issues w.r.t doxygen comments in resource-encapsulation dir.
Change-Id: I95f61c9d0b99a89a8d72812eb5e2c8c7ff7fe170
Signed-off-by: Ravi Nanjundappa <nravi.n@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/2343
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jonc@osg.samsung.com>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
/**
* API for setting the Id of the bundle
*
- * @param name - Id of the bundle in string form
+ * @param name Id of the bundle in string form
*
*/
virtual void setID(const std::string &name) = 0;
/**
* API for getting the Id of the bundle
*
- * @return string - Id of the bundle
+ * @return Id of the bundle
*
*/
virtual const std::string &getID() = 0;
/**
* API for setting the path of the bundle
*
- * @param path - path of the bundle in string form
+ * @param path path of the bundle in string form
*
*/
virtual void setPath(const std::string &path) = 0;
/**
* API for getting the path of the bundle
*
- * @return path - path of the bundle
+ * @return path of the bundle
*
*/
virtual const std::string &getPath() = 0;
/**
* API for setting the Activator name for the bundle
*
- * @param activator - Activator name in string form
+ * @param activator Activator name in string form
*
*/
virtual void setActivatorName(const std::string &activator) = 0;
/**
* API for setting the Activator name for the bundle
*
- * @return string - Name of the activator
+ * @return Name of the activator
*
*/
virtual const std::string &getActivatorName() = 0;
/**
* API for setting the library path for the bundle
*
- * @param libpath - Library path in string form
+ * @param libpath Library path in string form
*
*/
virtual void setLibraryPath(const std::string &libpath) = 0;
/**
* API for getting the library path for the bundle
*
- * @return string - Library path in string form
+ * @return Library path in string form
*
*/
virtual const std::string& getLibraryPath() = 0;
/**
* API for setting the version of the bundle
*
- * @param version - version of the bundle in string form
+ * @param version version of the bundle in string form
*
*/
virtual void setVersion(const std::string &version) = 0;
/**
* API for getting the version of the bundle
*
- * @return string - version of the bundle
+ * @return version of the bundle
*
*/
virtual const std::string &getVersion() = 0;
/**
* API for creating new bundle information
*
- * @return RCSBundleInfo - RCSBundleInfo pointer.
+ * @return RCSBundleInfo pointer.
*
*/
static RCSBundleInfo *build();
ResourceDiscoveredCallback;
/**
- * Returns RCSDiscoveryManager instance.
+ * @return Returns RCSDiscoveryManager instance.
*
*/
static RCSDiscoveryManager* getInstance();
~RCSRemoteResourceObject();
/**
- * Returns whether monitoring is enabled.
+ * @return Returns whether monitoring is enabled.
*
* @see startMonitoring()
*/
bool isMonitoring() const;
/**
- * Returns whether caching is enabled.
+ * @return Returns whether caching is enabled.
*
* @see startCaching()
*/
bool isCaching() const;
/**
- * Returns whether the resource is observable.
+ * @return Returns whether the resource is observable.
*
*/
bool isObservable() const;
void stopMonitoring();
/**
- * Returns the current state of the resource.
+ * @return Returns the current state of the resource.
*
* @see startMonitoring
*/
void stopCaching();
/**
- * Returns the current cache state.
+ * @return Returns the current cache state.
*
*/
CacheState getCacheState() const;
/**
- * Returns whether cached data is available.
+ * @return Returns whether cached data is available.
*
* Cache will be available always after CacheState::READY even if current state is
* CacheState::LOST_SIGNAL.
RemoteAttributesSetCallback cb);
/**
- * Returns the uri of the resource.
+ * @return Returns the uri of the resource.
*
*/
std::string getUri() const;
/**
- * Returns the address of the resource .
+ * @return Returns the address of the resource .
*
*/
std::string getAddress() const;
/**
- * Returns the resource types of the resource.
+ * @return Returns the resource types of the resource.
*
*/
std::vector< std::string > getTypes() const;
/**
- * Returns the resource interfaces of the resource.
+ * @return Returns the resource interfaces of the resource.
*
*/
std::vector< std::string > getInterfaces() const;
/**
* Constructor to set resource URI.
*
- * @param resourceUri - URI of the resource for which the request is generated.
+ * @param resourceUri URI of the resource for which the request is generated.
*/
explicit RCSRequest(const std::string &resourceUri);
RCSRequest &operator=(RCSRequest &) = delete;
/**
- * Returns the URI of the request.
+ * @return Returns the URI of the request.
*
*/
std::string getResourceUri() const;
*
* @details This API start the container with the provided Configuration file.
*
- * @param configFile - configuration File that contains the Bundle/Bundles information.
+ * @param configFile configuration File that contains the Bundle/Bundles information.
*
*/
virtual void startContainer(const std::string &configFile) = 0;
/**
* API for getting the list of all bundles in the container
*
- * @return list<BundleInfo*> -List of BundleInfo pointer each associated with a bundle
+ * @return List of BundleInfo pointer each associated with a bundle
*
*/
virtual std::list<RCSBundleInfo *> listBundles() = 0;
/**
* API for starting the bundle.
*
- * @param bundleId - Id of the Bundle
+ * @param bundleId Id of the Bundle
*
*/
virtual void startBundle(const std::string &bundleId) = 0;
/**
* API for Stopping the bundle
*
- * @param bundleId - Id of the Bundle
+ * @param bundleId Id of the Bundle
*
*/
virtual void stopBundle(const std::string &bundleId) = 0;
/**
* API for adding the bundle to the Container
*
- * @param bundleId - Id of the Bundle
- * @param bundleUri - Uri of the bundle
- * @param bundlePath - Path of the bundle
- * @param params - key-value pairs in string form for other Bundle parameters
+ * @param bundleId Id of the Bundle
+ * @param bundleUri Uri of the bundle
+ * @param bundlePath Path of the bundle
+ * @param params key-value pairs in string form for other Bundle parameters
*
*/
virtual void addBundle(const std::string &bundleId, const std::string &bundleUri, const std::string &bundlePath,
/**
* API for removing the bundle from the container
*
- * @param bundleId - Id of the Bundle
+ * @param bundleId Id of the Bundle
*
*/
virtual void removeBundle(const std::string &bundleId) = 0;
/**
* API for adding the Resource configuration information to the bundle
*
- * @param bundleId - Id of the Bundle
- * @param resourceUri - URI of the resource
- * @param params - key-value pairs in string form for other Bundle parameters
+ * @param bundleId Id of the Bundle
+ * @param resourceUri URI of the resource
+ * @param params key-value pairs in string form for other Bundle parameters
*
*/
virtual void addResourceConfig(const std::string &bundleId, const std::string &esourceUri,
/**
* API for removing the Resource configuration information from the bundle
*
- * @param bundleId - Id of the Bundle
- * @param resourceUri - URI of the resource
+ * @param bundleId Id of the Bundle
+ * @param resourceUri URI of the resource
*
*/
virtual void removeResourceConfig(const std::string &bundleId, const std::string &resourceUri) = 0;
/**
* API for getting the list of Bundle Resources
*
- * @param bundleId - Id of the Bundle
+ * @param bundleId Id of the Bundle
*
*/
virtual std::list<std::string> listBundleResources(const std::string &bundleId) = 0;
/**
* API for getting the Instance of ResourceContainer class
*
- * @return RCSResourceContainer - Instance of the "RCSResourceContainer" class
+ * @return Instance of the "RCSResourceContainer" class
*
*/
static RCSResourceContainer *getInstance();
/**
* Sets the acceptance method for the RCSSetResponse.
*
- * @param method - AcceptanceMethod value to set
+ * @param method AcceptanceMethod value to set
*
* @return The reference to this RCSSetResponse
*