xlight行情解码迭代器
更多...
#include <xlt_quote_decoder.h>
◆ StepFunc
◆ XLTQuoteDecoder() [1/2]
| x1::XLTQuoteDecoder::XLTQuoteDecoder |
( |
QuoteMCType | mc_type, |
|
|
const void * | msg_data, |
|
|
uint32_t | msg_len ) |
◆ ~XLTQuoteDecoder()
| x1::XLTQuoteDecoder::~XLTQuoteDecoder |
( |
| ) |
|
|
default |
◆ XLTQuoteDecoder() [2/2]
◆ get_next()
获取下一条解码后的行情数据
- 返回
- 非空指针表示一条有效数据,nullptr 表示遍历结束或构造时 mc_type 不支持
- 注解
- 返回的指针在下一次调用 get_next() 后失效(指向内部复用对象)
-
data 指针的生命周期与构造时传入的 msg_data 一致
◆ operator=()
◆ data_
| uint8_t* x1::XLTQuoteDecoder::data_ |
|
protected |
◆ item_
◆ remain_
| uint32_t x1::XLTQuoteDecoder::remain_ |
|
protected |
◆ step_fn_
该类的文档由以下文件生成: