NERTC macOS/Windows SDK V5.6.40
载入中...
搜索中...
未找到
nertc_device_collection.h
浏览该文件的文档.
1
8#ifndef NERTC_DEVICE_COLLECTION_H
9#define NERTC_DEVICE_COLLECTION_H
10
11#include "nertc_base_types.h"
13
18namespace nertc
19{
32{
33protected:
34 virtual ~IDeviceCollection(){}
35
36public:
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
定义 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
定义 nertc_engine_defines.h:61
#define kNERtcMaxDeviceNameLength
定义 nertc_engine_defines.h:70
定义 nertc_engine_defines.h:2043