本文整理匯總了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);
}
}