NERtc Windows SDK
nertc_device_collection.h
Go to the documentation of this file.
1 
9 #ifndef NERTC_DEVICE_COLLECTION_H
10 #define NERTC_DEVICE_COLLECTION_H
11 
12 #include "nertc_base_types.h"
13 #include "nertc_engine_defines.h"
14 
19 namespace nertc
20 {
26 {
27 protected:
28  virtual ~IDeviceCollection(){}
29 
30 public:
37  virtual uint16_t getCount() = 0;
38 
48  virtual int getDevice(uint16_t index, char device_name[kNERtcMaxDeviceNameLength], char device_id[kNERtcMaxDeviceIDLength]) = 0;
49 
58  virtual int getDeviceInfo(uint16_t index, NERtcDeviceInfo* device_info) = 0;
59 
62  virtual void destroy() = 0;
63 };
64 } //namespace nertc
65 
66 #endif
virtual int getDeviceInfo(uint16_t index, NERtcDeviceInfo *device_info)=0
virtual int getDevice(uint16_t index, char device_name[kNERtcMaxDeviceNameLength], char device_id[kNERtcMaxDeviceIDLength])=0
Definition: nertc_device_collection.h:25
#define kNERtcMaxDeviceIDLength
Definition: nertc_engine_defines.h:14
NERtc SDK的一些定义
Definition: nertc_engine_defines.h:457
virtual void destroy()=0
namespace nertc
virtual uint16_t getCount()=0
SDK基本类型定义
#define kNERtcMaxDeviceNameLength
Definition: nertc_engine_defines.h:15