NERtc Windows SDK  V4.6.20
nertc_device_collection.h
浏览该文件的文档.
1 
8 #ifndef NERTC_DEVICE_COLLECTION_H
9 #define NERTC_DEVICE_COLLECTION_H
10 
11 #include "nertc_base_types.h"
12 #include "nertc_engine_defines.h"
13 
18 namespace nertc
19 {
32 {
33 protected:
34  virtual ~IDeviceCollection(){}
35 
36 public:
50  virtual uint16_t getCount() = 0;
51 
72  virtual int getDevice(uint16_t index, char device_name[kNERtcMaxDeviceNameLength], char device_id[kNERtcMaxDeviceIDLength]) = 0;
73 
95  virtual int getDeviceInfo(uint16_t index, NERtcDeviceInfo* device_info) = 0;
96 
106  virtual void destroy() = 0;
107 };
108 } //namespace nertc
109 
110 #endif
Definition: nertc_device_collection.h:32
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:55
#define kNERtcMaxDeviceNameLength
Definition: nertc_engine_defines.h:64
Definition: nertc_engine_defines.h:1923