Update doc comments

This commit is contained in:
John Zhao
2018-05-16 10:31:31 +08:00
parent de0f0d0639
commit dd2fc88846
11 changed files with 420 additions and 38 deletions

View File

@@ -30,11 +30,18 @@ struct context;
class Device;
/**
* The context about devices.
*/
class MYNTEYE_API Context {
public:
Context();
~Context();
/**
* Get all devices now.
* @return a vector of all devices.
*/
std::vector<std::shared_ptr<Device>> devices() const {
return devices_;
}