Defines

blpapi_call.h File Reference

Provide functions for dispatchtbl. More...

Go to the source code of this file.

Defines

#define BLPAPI_CALL_AVAILABLE(FUNCNAME)   true
#define BLPAPI_CALL(FUNCNAME)   FUNCNAME
#define BLPAPI_CALL_EVENTFORMATTER_APPENDMESSAGESEQ(a1, a2, a3, a4, a5, a6)   (blpapi_EventFormatter_appendMessageSeq)(a1, a2, a3, a4, a5, a6)
#define BLPAPI_CALL_EVENTFORMATTER_APPENDRECAPMESSAGESEQ(a1, a2, a3, a4, a5)   (blpapi_EventFormatter_appendRecapMessageSeq)(a1, a2, a3, a4, a5)
#define BLPAPI_CALL_MESSAGE_ADDREF(a1)   (blpapi_Message_addRef)(a1)
#define BLPAPI_CALL_MESSAGE_RELEASE(a1)   (blpapi_Message_release)(a1)
#define BLPAPI_CALL_SESSIONOPTIONS_SETMAXEVENTQUEUESIZE(a1, a2)   (blpapi_SessionOptions_setMaxEventQueueSize)(a1, a2)
#define BLPAPI_CALL_SESSIONOPTIONS_SETSLOWCONSUMERHIWATERMARK(a1, a2)   (blpapi_SessionOptions_setSlowConsumerWarningHiWaterMark)(a1, a2)
#define BLPAPI_CALL_SESSIONOPTIONS_SETSLOWCONSUMERLOWATERMARK(a1, a2)   (blpapi_SessionOptions_setSlowConsumerWarningLoWaterMark)(a1, a2)
#define BLPAPI_CALL_REQUEST_SETPREFERREDROUTE(a1, a2)   (blpapi_Request_setPreferredRoute)(a1, a2)
#define BLPAPI_CALL_MESSAGE_FRAGMENTTYPE(a1)   (blpapi_Message_fragmentType)(a1)
#define BLPAPI_CALL_SESSIONOPTIONS_MAXEVENTQUEUESIZE(a1)   (blpapi_SessionOptions_maxEventQueueSize)(a1)
#define BLPAPI_CALL_SESSIONOPTIONS_SLOWCONSUMERHIWATERMARK(a1)   (blpapi_SessionOptions_slowConsumerWarningHiWaterMark)(a1)
#define BLPAPI_CALL_SESSIONOPTIONS_SLOWCONSUMERLOWATERMARK(a1)   (blpapi_SessionOptions_slowConsumerWarningLoWaterMark)(a1)
#define BLPAPI_CALL_SESSIONOPTIONS_DEFAULTKEEPALIVEINACTIVITYTIME(a1)   (blpapi_SessionOptions_defaultKeepAliveInactivityTime)(a1)
#define BLPAPI_CALL_SESSIONOPTIONS_DEFAULTKEEPALIVERESPONSETIMEOUT(a1)   (blpapi_SessionOptions_defaultKeepAliveResponseTimeout)(a1)
#define BLPAPI_CALL_SESSIONOPTIONS_KEEPALIVEENABLED(a1)   (blpapi_SessionOptions_keepAliveEnabled)(a1)
#define BLPAPI_CALL_SESSIONOPTIONS_SETDEFAULTKEEPALIVEINACTIVITYTIME(a1, a2)   (blpapi_SessionOptions_setDefaultKeepAliveInactivityTime)(a1, a2)
#define BLPAPI_CALL_SESSIONOPTIONS_SETDEFAULTKEEPALIVERESPONSETIMEOUT(a1, a2)   (blpapi_SessionOptions_setDefaultKeepAliveResponseTimeout)(a1, a2)
#define BLPAPI_CALL_SESSIONOPTIONS_SETKEEPALIVEENABLED(a1, a2)   (blpapi_SessionOptions_setKeepAliveEnabled)(a1, a2)
#define BLPAPI_CALL_HIGHPRECISIONDATETIME_COMPARE(a1, a2)   (blpapi_HighPrecisionDatetime_compare)(a1, a2)
#define BLPAPI_CALL_HIGHPRECISIONDATETIME_PRINT(a1, a2, a3, a4, a5)   (blpapi_HighPrecisionDatetime_print)(a1, a2, a3, a4, a5)
#define BLPAPI_CALL_ELEMENT_SETVALUEHIGHPRECISIONDATETIME(a1, a2, a3)   (blpapi_Element_setValueHighPrecisionDatetime(a1, a2, a3))
#define BLPAPI_CALL_ELEMENT_SETELEMENTHIGHPRECISIONDATETIME(a1, a2, a3, a4)   (blpapi_Element_setElementHighPrecisionDatetime(a1, a2, a3, a4))
#define BLPAPI_CALL_ELEMENT_GETVALUEASHIGHPRECISIONDATETIME(a1, a2, a3)
#define BLPAPI_CALL_SESSION_RESUBSCRIBEWITHID(a1, a2, a3, a4, a5)   (blpapi_Session_resubscribeWithId)(a1, a2, a3, a4, a5)
#define BLPAPI_CALL_EVENTFORMATTER_SETVALUENULL(a1, a2, a3)   (blpapi_EventFormatter_setValueNull)(a1, a2, a3)
#define BLPAPI_CALL_DIAGNOSTICSUTIL_MEMORYINFO(a1, a2)   return blpapi_DiagnosticsUtil_memoryInfo(a1, a2);
#define BLPAPI_CALL_SUBSCRIPTIONLIST_ADDRESOLVED(a1, a2, a3)   (blpapi_SubscriptionList_addResolved)(a1, a2, a3)
#define BLPAPI_CALL_SUBSCRIPTIONLIST_ISRESOLVEDAT(a1, a2, a3)   (blpapi_SubscriptionList_isResolvedAt)(a1, a2, a3)
#define BLPAPI_CALL_PROVIDERSESSION_DEREGISTERSERVICE(a1, a2)   (blpapi_ProviderSession_deregisterService(a1, a2))
#define BLPAPI_CALL_SERVICEREGISTRATIONOPTIONS_SETPARTSTOREGISTER(a1, a2)   (blpapi_ServiceRegistrationOptions_setPartsToRegister(a1, a2))
#define BLPAPI_CALL_SERVICEREGISTRATIONOPTIONS_GETPARTSTOREGISTER(a1)   (blpapi_ServiceRegistrationOptions_getPartsToRegister(a1))
#define BLPAPI_CALL_PROVIDERSESSION_DELETETOPICS(a1, a2, a3)   (blpapi_ProviderSession_deleteTopics(a1, a2, a3))
#define BLPAPI_CALL_PROVIDERSESSION_ACTIVATESUBSERVICECODERANGE(a1, a2, a3, a4, a5)   (blpapi_ProviderSession_activateSubServiceCodeRange)(a1, a2, a3, a4, a5)
#define BLPAPI_CALL_PROVIDERSESSION_DEACTIVATESUBSERVICECODERANGE(a1, a2, a3, a4)   (blpapi_ProviderSession_deactivateSubServiceCodeRange)(a1, a2, a3, a4)
#define BLPAPI_CALL_SERVICEREGISTRATIONOPTIONS_ADDACTIVATESUBSERVICECODERANGE(a1, a2, a3, a4)
#define BLPAPI_CALL_SERVICEREGISTRATIONOPTIONS_REMOVEALLACTIVESUBSERVICECODERANGES(a1)   (blpapi_ServiceRegistrationOptions_removeAllActiveSubServiceCodeRanges)(a1)
#define BLPAPI_CALL_MESSAGE_TIMERECEIVED(a1, a2)   (blpapi_Message_timeReceived)(a1, a2)
#define BLPAPI_CALL_SESSIONOPTION_SETRECORDSUBSCRIPTIONDATARECEIVETIMES(a1,a2)   (blpapi_SessionOptions_setRecordSubscriptionDataReceiveTimes)(a1, a2)
#define BLPAPI_CALL_SESSIONOPTION_RECORDSUBSCRIPTIONDATARECEIVETIMES(a1)   (blpapi_SessionOptions_recordSubscriptionDataReceiveTimes)(a1)
#define BLPAPI_CALL_TIMEPOINTUTIL_NANOSECONDSBETWEEN(a1, a2)   (blpapi_TimePointUtil_nanosecondsBetween)(a1, a2)
#define BLPAPI_CALL_HIGHRESOLUTIONCLOCK_NOW(a1)   (blpapi_HighResolutionClock_now)(a1)
#define BLPAPI_CALL_HIGHPRECISIONDATETIME_FROMTIMEPOINT(a1, a2, a3)   (blpapi_HighPrecisionDatetime_fromTimePoint)(a1, a2, a3)

Detailed Description

Provide functions for dispatchtbl.


Define Documentation

#define BLPAPI_CALL_AVAILABLE (   FUNCNAME  )     true
#define BLPAPI_CALL (   FUNCNAME  )     FUNCNAME
#define BLPAPI_CALL_EVENTFORMATTER_APPENDMESSAGESEQ (   a1,
  a2,
  a3,
  a4,
  a5,
  a6 
)    (blpapi_EventFormatter_appendMessageSeq)(a1, a2, a3, a4, a5, a6)
#define BLPAPI_CALL_EVENTFORMATTER_APPENDRECAPMESSAGESEQ (   a1,
  a2,
  a3,
  a4,
  a5 
)    (blpapi_EventFormatter_appendRecapMessageSeq)(a1, a2, a3, a4, a5)
#define BLPAPI_CALL_MESSAGE_ADDREF (   a1  )     (blpapi_Message_addRef)(a1)
#define BLPAPI_CALL_MESSAGE_RELEASE (   a1  )     (blpapi_Message_release)(a1)
#define BLPAPI_CALL_SESSIONOPTIONS_SETMAXEVENTQUEUESIZE (   a1,
  a2 
)    (blpapi_SessionOptions_setMaxEventQueueSize)(a1, a2)
#define BLPAPI_CALL_SESSIONOPTIONS_SETSLOWCONSUMERHIWATERMARK (   a1,
  a2 
)    (blpapi_SessionOptions_setSlowConsumerWarningHiWaterMark)(a1, a2)
#define BLPAPI_CALL_SESSIONOPTIONS_SETSLOWCONSUMERLOWATERMARK (   a1,
  a2 
)    (blpapi_SessionOptions_setSlowConsumerWarningLoWaterMark)(a1, a2)
#define BLPAPI_CALL_REQUEST_SETPREFERREDROUTE (   a1,
  a2 
)    (blpapi_Request_setPreferredRoute)(a1, a2)
#define BLPAPI_CALL_MESSAGE_FRAGMENTTYPE (   a1  )     (blpapi_Message_fragmentType)(a1)
#define BLPAPI_CALL_SESSIONOPTIONS_MAXEVENTQUEUESIZE (   a1  )     (blpapi_SessionOptions_maxEventQueueSize)(a1)
#define BLPAPI_CALL_SESSIONOPTIONS_SLOWCONSUMERHIWATERMARK (   a1  )     (blpapi_SessionOptions_slowConsumerWarningHiWaterMark)(a1)
#define BLPAPI_CALL_SESSIONOPTIONS_SLOWCONSUMERLOWATERMARK (   a1  )     (blpapi_SessionOptions_slowConsumerWarningLoWaterMark)(a1)
#define BLPAPI_CALL_SESSIONOPTIONS_DEFAULTKEEPALIVEINACTIVITYTIME (   a1  )     (blpapi_SessionOptions_defaultKeepAliveInactivityTime)(a1)
#define BLPAPI_CALL_SESSIONOPTIONS_DEFAULTKEEPALIVERESPONSETIMEOUT (   a1  )     (blpapi_SessionOptions_defaultKeepAliveResponseTimeout)(a1)
#define BLPAPI_CALL_SESSIONOPTIONS_KEEPALIVEENABLED (   a1  )     (blpapi_SessionOptions_keepAliveEnabled)(a1)
#define BLPAPI_CALL_SESSIONOPTIONS_SETDEFAULTKEEPALIVEINACTIVITYTIME (   a1,
  a2 
)    (blpapi_SessionOptions_setDefaultKeepAliveInactivityTime)(a1, a2)
#define BLPAPI_CALL_SESSIONOPTIONS_SETDEFAULTKEEPALIVERESPONSETIMEOUT (   a1,
  a2 
)    (blpapi_SessionOptions_setDefaultKeepAliveResponseTimeout)(a1, a2)
#define BLPAPI_CALL_SESSIONOPTIONS_SETKEEPALIVEENABLED (   a1,
  a2 
)    (blpapi_SessionOptions_setKeepAliveEnabled)(a1, a2)
#define BLPAPI_CALL_HIGHPRECISIONDATETIME_COMPARE (   a1,
  a2 
)    (blpapi_HighPrecisionDatetime_compare)(a1, a2)
#define BLPAPI_CALL_HIGHPRECISIONDATETIME_PRINT (   a1,
  a2,
  a3,
  a4,
  a5 
)    (blpapi_HighPrecisionDatetime_print)(a1, a2, a3, a4, a5)
#define BLPAPI_CALL_ELEMENT_SETVALUEHIGHPRECISIONDATETIME (   a1,
  a2,
  a3 
)    (blpapi_Element_setValueHighPrecisionDatetime(a1, a2, a3))
#define BLPAPI_CALL_ELEMENT_SETELEMENTHIGHPRECISIONDATETIME (   a1,
  a2,
  a3,
  a4 
)    (blpapi_Element_setElementHighPrecisionDatetime(a1, a2, a3, a4))
#define BLPAPI_CALL_ELEMENT_GETVALUEASHIGHPRECISIONDATETIME (   a1,
  a2,
  a3 
)
Value:
return blpapi_Element_getValueAsHighPrecisionDatetime(                    \
                                                 a1,                          \
                                                 &a2->rawHighPrecisionValue(),\
                                                 a3);
#define BLPAPI_CALL_SESSION_RESUBSCRIBEWITHID (   a1,
  a2,
  a3,
  a4,
  a5 
)    (blpapi_Session_resubscribeWithId)(a1, a2, a3, a4, a5)
#define BLPAPI_CALL_EVENTFORMATTER_SETVALUENULL (   a1,
  a2,
  a3 
)    (blpapi_EventFormatter_setValueNull)(a1, a2, a3)
#define BLPAPI_CALL_DIAGNOSTICSUTIL_MEMORYINFO (   a1,
  a2 
)    return blpapi_DiagnosticsUtil_memoryInfo(a1, a2);
#define BLPAPI_CALL_SUBSCRIPTIONLIST_ADDRESOLVED (   a1,
  a2,
  a3 
)    (blpapi_SubscriptionList_addResolved)(a1, a2, a3)
#define BLPAPI_CALL_SUBSCRIPTIONLIST_ISRESOLVEDAT (   a1,
  a2,
  a3 
)    (blpapi_SubscriptionList_isResolvedAt)(a1, a2, a3)
#define BLPAPI_CALL_PROVIDERSESSION_DEREGISTERSERVICE (   a1,
  a2 
)    (blpapi_ProviderSession_deregisterService(a1, a2))
#define BLPAPI_CALL_SERVICEREGISTRATIONOPTIONS_SETPARTSTOREGISTER (   a1,
  a2 
)    (blpapi_ServiceRegistrationOptions_setPartsToRegister(a1, a2))
#define BLPAPI_CALL_SERVICEREGISTRATIONOPTIONS_GETPARTSTOREGISTER (   a1  )     (blpapi_ServiceRegistrationOptions_getPartsToRegister(a1))
#define BLPAPI_CALL_PROVIDERSESSION_DELETETOPICS (   a1,
  a2,
  a3 
)    (blpapi_ProviderSession_deleteTopics(a1, a2, a3))
#define BLPAPI_CALL_PROVIDERSESSION_ACTIVATESUBSERVICECODERANGE (   a1,
  a2,
  a3,
  a4,
  a5 
)    (blpapi_ProviderSession_activateSubServiceCodeRange)(a1, a2, a3, a4, a5)
#define BLPAPI_CALL_PROVIDERSESSION_DEACTIVATESUBSERVICECODERANGE (   a1,
  a2,
  a3,
  a4 
)    (blpapi_ProviderSession_deactivateSubServiceCodeRange)(a1, a2, a3, a4)
#define BLPAPI_CALL_SERVICEREGISTRATIONOPTIONS_ADDACTIVATESUBSERVICECODERANGE (   a1,
  a2,
  a3,
  a4 
)
Value:
(blpapi_ServiceRegistrationOptions_addActiveSubServiceCodeRange)(         \
                                                                a1, a2, a3, a4)
#define BLPAPI_CALL_SERVICEREGISTRATIONOPTIONS_REMOVEALLACTIVESUBSERVICECODERANGES (   a1  )     (blpapi_ServiceRegistrationOptions_removeAllActiveSubServiceCodeRanges)(a1)
#define BLPAPI_CALL_MESSAGE_TIMERECEIVED (   a1,
  a2 
)    (blpapi_Message_timeReceived)(a1, a2)
#define BLPAPI_CALL_SESSIONOPTION_SETRECORDSUBSCRIPTIONDATARECEIVETIMES (   a1,
  a2 
)    (blpapi_SessionOptions_setRecordSubscriptionDataReceiveTimes)(a1, a2)
#define BLPAPI_CALL_SESSIONOPTION_RECORDSUBSCRIPTIONDATARECEIVETIMES (   a1  )     (blpapi_SessionOptions_recordSubscriptionDataReceiveTimes)(a1)
#define BLPAPI_CALL_TIMEPOINTUTIL_NANOSECONDSBETWEEN (   a1,
  a2 
)    (blpapi_TimePointUtil_nanosecondsBetween)(a1, a2)
#define BLPAPI_CALL_HIGHRESOLUTIONCLOCK_NOW (   a1  )     (blpapi_HighResolutionClock_now)(a1)
#define BLPAPI_CALL_HIGHPRECISIONDATETIME_FROMTIMEPOINT (   a1,
  a2,
  a3 
)    (blpapi_HighPrecisionDatetime_fromTimePoint)(a1, a2, a3)