本文整理汇总了C++中CTP_GetQueue函数的典型用法代码示例。如果您正苦于以下问题:C++ CTP_GetQueue函数的具体用法?C++ CTP_GetQueue怎么用?C++ CTP_GetQueue使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了CTP_GetQueue函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: CTP_RegOnRspQryTradingAccount
QUANTBOXC2CTPZQ_API void __stdcall CTP_RegOnRspQryTradingAccount(void* pMsgQueue,fnOnRspQryTradingAccount pCallback)
{
if(pMsgQueue)
{
CTP_GetQueue(pMsgQueue)->RegisterCallback(pCallback);
}
}
示例2: CTP_RegOnRtnInstrumentStatus
QUANTBOXC2CTPZQ_API void __stdcall CTP_RegOnRtnInstrumentStatus(void* pMsgQueue,fnOnRtnInstrumentStatus pCallback)
{
if(pMsgQueue)
{
CTP_GetQueue(pMsgQueue)->RegisterCallback(pCallback);
}
}
示例3: CTP_RegOnRspQryInstrumentMarginRate
QUANTBOXC2CTPZQ_API void __stdcall CTP_RegOnRspQryInstrumentMarginRate(void* pMsgQueue,fnOnRspQryInstrumentMarginRate pCallback)
{
if(pMsgQueue)
{
CTP_GetQueue(pMsgQueue)->RegisterCallback(pCallback);
}
}
示例4: CTP_RegOnRspQryInvestorPosition
QUANTBOXC2CTPZQ_API void __stdcall CTP_RegOnRspQryInvestorPosition(void* pMsgQueue,fnOnRspQryInvestorPosition pCallback)
{
if(pMsgQueue)
{
CTP_GetQueue(pMsgQueue)->RegisterCallback(pCallback);
}
}
示例5: CTP_RegOnRspError
QUANTBOXC2CTP_API void __stdcall CTP_RegOnRspError(void* pMsgQueue,fnOnRspError pCallback)
{
if(pMsgQueue)
{
CTP_GetQueue(pMsgQueue)->RegisterCallback(pCallback);
}
}
示例6: CTP_RegOnErrRtnQuoteInsert
QUANTBOXC2CTP_API void __stdcall CTP_RegOnErrRtnQuoteInsert(void* pMsgQueue, fnOnErrRtnQuoteInsert pCallback)
{
if (pMsgQueue)
{
CTP_GetQueue(pMsgQueue)->RegisterCallback(pCallback);
}
}
示例7: CTP_RegOnRtnForQuoteRsp
QUANTBOXC2CTP_API void __stdcall CTP_RegOnRtnForQuoteRsp(void* pMsgQueue, fnOnRtnForQuoteRsp pCallback)
{
if(pMsgQueue)
{
CTP_GetQueue(pMsgQueue)->RegisterCallback(pCallback);
}
}
示例8: CTP_RegOnRspQrySettlementInfo
QUANTBOXC2CTP_API void __stdcall CTP_RegOnRspQrySettlementInfo(void* pMsgQueue, fnOnRspQrySettlementInfo pCallback)
{
if (pMsgQueue)
{
CTP_GetQueue(pMsgQueue)->RegisterCallback(pCallback);
}
}
示例9: CTP_RegOnRtnTrade
QUANTBOXC2CTPZQ_API void __stdcall CTP_RegOnRtnTrade(void* pMsgQueue,fnOnRtnTrade pCallback)
{
if(pMsgQueue)
{
CTP_GetQueue(pMsgQueue)->RegisterCallback(pCallback);
}
}
示例10: CTP_RegOnRspQryDepthMarketData
QUANTBOXC2CTPZQ_API void __stdcall CTP_RegOnRspQryDepthMarketData(void* pMsgQueue,fnOnRspQryDepthMarketData pCallback)
{
if(pMsgQueue)
{
CTP_GetQueue(pMsgQueue)->RegisterCallback(pCallback);
}
}
示例11: CTP_RegOnRspQuoteAction
QUANTBOXC2CTP_API void __stdcall CTP_RegOnRspQuoteAction(void* pMsgQueue, fnOnRspQuoteAction pCallback)
{
if (pMsgQueue)
{
CTP_GetQueue(pMsgQueue)->RegisterCallback(pCallback);
}
}
示例12: CTP_RegOnErrRtnOrderAction
QUANTBOXC2CTPZQ_API void __stdcall CTP_RegOnErrRtnOrderAction(void* pMsgQueue,fnOnErrRtnOrderAction pCallback)
{
if(pMsgQueue)
{
CTP_GetQueue(pMsgQueue)->RegisterCallback(pCallback);
}
}
示例13: CTP_RegOnRspOrderInsert
QUANTBOXC2CTPZQ_API void __stdcall CTP_RegOnRspOrderInsert(void* pMsgQueue,fnOnRspOrderInsert pCallback)
{
if(pMsgQueue)
{
CTP_GetQueue(pMsgQueue)->RegisterCallback(pCallback);
}
}
示例14: CTP_RegOnDisconnect
QUANTBOXC2CTPZQ_API void __stdcall CTP_RegOnDisconnect(void* pMsgQueue,fnOnDisconnect pCallback)
{
if(pMsgQueue)
{
CTP_GetQueue(pMsgQueue)->RegisterCallback(pCallback);
}
}
示例15: CTP_ReleaseMsgQueue
QUANTBOXC2CTPZQ_API void __stdcall CTP_ReleaseMsgQueue(void* pMsgQueue)
{
if(pMsgQueue)
{
delete CTP_GetQueue(pMsgQueue);
}
}