NERtc Windows SDK  V4.4.301
nertc_device_collection.h
浏览该文件的文档.
1 
7 #ifndef NERTC_DEVICE_COLLECTION_H
8 #define NERTC_DEVICE_COLLECTION_H
9 
10 #include "nertc_base_types.h"
11 #include "nertc_engine_defines.h"
12 
17 namespace nertc
18 {
24 {
25 protected:
26  virtual ~IDeviceCollection(){}
27 
28 public:
35  virtual uint16_t getCount() = 0;
36 
46  virtual int getDevice(uint16_t index, char device_name[kNERtcMaxDeviceNameLength], char device_id[kNERtcMaxDeviceIDLength]) = 0;
47 
56  virtual int getDeviceInfo(uint16_t index, NERtcDeviceInfo* device_info) = 0;
57 
60  virtual void destroy() = 0;
61 };
62 } //namespace nertc
63 
64 #endif
Definition: nertc_device_collection.h:24
virtual int getDevice(uint16_t index, char device_name[kNERtcMaxDeviceNameLength], char device_id[kNERtcMaxDeviceIDLength])=0
virtual int getDeviceInfo(uint16_t index, NERtcDeviceInfo *device_info)=0
virtual uint16_t getCount()=0
virtual void destroy()=0
namespace nertc
NERtc SDK definitions.
#define kNERtcMaxDeviceIDLength
Definition: nertc_engine_defines.h:15
#define kNERtcMaxDeviceNameLength
Definition: nertc_engine_defines.h:16
Definition: nertc_engine_defines.h:465