![]() |
AI数据接收基类
#include "MediaAi.hpp"


Public 类型 | |
| using | OnGetInfoCallback = std::function< void(MediaInfAiData::Header &header)> |
| 仅接收到AI消息头信息的回调函数(未去接收实际消息数据) 更多... | |
Public 成员函数 | |
| MediaAiDataRecvBase () | |
| virtual | ~MediaAiDataRecvBase () |
| ErrCodeE | GetDataByInfo (const MediaInfAiData::Header &header, MediaInfAiData *data) |
| 通过OnGetInfoCallback获取到header之后可通过此函数接收实际的消息数据 更多... | |
Protected 成员函数 | |
| void | OnMsgRecv (uint32_t topic, const char *data, int32_t size) |
| ErrCodeE | OnGetBuffer (ErrCodeE e, const uint8_t *buffer, void *usr, int32_t off, int32_t size, uint32_t magicId) |
Protected 属性 | |
| OnGetInfoCallback | m_cbInfo |
| MediaRingBufferReader | m_ring |
| using Emx::MediaAiDataRecvBase::OnGetInfoCallback = std::function<void(MediaInfAiData::Header &header)> |
| header | [in] 消息头信息 |
|
inline |
|
inlinevirtual |
| ErrCodeE Emx::MediaAiDataRecvBase::GetDataByInfo | ( | const MediaInfAiData::Header & | header, |
| MediaInfAiData * | data | ||
| ) |
| header | [in] 通过OnGetInfoCallback获取到的header |
| data | [in,out] AI消息头信息 |
|
protected |
|
protected |
|
protected |
|
protected |