NERtc Windows SDK V5.6.30
载入中...
搜索中...
未找到
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
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:61
#define kNERtcMaxDeviceNameLength
Definition nertc_engine_defines.h:70
Definition nertc_engine_defines.h:2043