NERtc Linux SDK  V4.4.9
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 
73  virtual int getDevice(uint16_t index, char device_name[kNERtcMaxDeviceNameLength], char device_id[kNERtcMaxDeviceIDLength]) = 0;
74 
96  virtual int getDeviceInfo(uint16_t index, NERtcDeviceInfo* device_info) = 0;
97 
107  virtual void destroy() = 0;
108 };
109 } //namespace nertc
110 
111 #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:54
#define kNERtcMaxDeviceNameLength
Definition: nertc_engine_defines.h:63
Definition: nertc_engine_defines.h:1868