Пример #1
0
 public static ARCONTROLLER_DICTIONARY_ELEMENT_t ARCONTROLLER_Device_GetCommandElements(ARCONTROLLER_Device_t deviceController, eARCONTROLLER_DICTIONARY_KEY commandKey, ref eARCONTROLLER_ERROR error)
 {
     global::System.IntPtr cPtr = ARDroneSDK3PINVOKE.ARCONTROLLER_Device_GetCommandElements(ARCONTROLLER_Device_t.getCPtr(deviceController), (int)commandKey, ref error);
     ARCONTROLLER_DICTIONARY_ELEMENT_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new ARCONTROLLER_DICTIONARY_ELEMENT_t(cPtr, false);
     return ret;
 }
Пример #2
0
 public static eARCONTROLLER_ERROR ARCONTROLLER_Dictionary_RemoveDictionaryElement(SWIGTYPE_p_ARCONTROLLER_Dictionary_t dictionary, eARCONTROLLER_DICTIONARY_KEY commandKey, System.IntPtr callback, System.IntPtr customData)
 {
     eARCONTROLLER_ERROR ret = (eARCONTROLLER_ERROR)ARDroneSDK3PINVOKE.ARCONTROLLER_Dictionary_RemoveDictionaryElement(SWIGTYPE_p_ARCONTROLLER_Dictionary_t.getCPtr(dictionary), (int)commandKey, callback, new global::System.Runtime.InteropServices.HandleRef(null, customData));
     return ret;
 }
Пример #3
0
 public static void ARCONTROLLER_DICTIONARY_NotifyAllCallbackInList(SWIGTYPE_p_p_ARCONTROLLER_DICTIONARY_CALLBAK_LIST_ELEMENT_t callbackList, eARCONTROLLER_DICTIONARY_KEY commandKey, ARCONTROLLER_DICTIONARY_ELEMENT_t elementDictionary)
 {
     ARDroneSDK3PINVOKE.ARCONTROLLER_DICTIONARY_NotifyAllCallbackInList(SWIGTYPE_p_p_ARCONTROLLER_DICTIONARY_CALLBAK_LIST_ELEMENT_t.getCPtr(callbackList), (int)commandKey, ARCONTROLLER_DICTIONARY_ELEMENT_t.getCPtr(elementDictionary));
 }
Пример #4
0
 public static eARCONTROLLER_ERROR ARCONTROLLER_Dictionary_Notify(SWIGTYPE_p_ARCONTROLLER_Dictionary_t dictionary, eARCONTROLLER_DICTIONARY_KEY commandKey, ARCONTROLLER_DICTIONARY_ELEMENT_t elementDictionary)
 {
     eARCONTROLLER_ERROR ret = (eARCONTROLLER_ERROR)ARDroneSDK3PINVOKE.ARCONTROLLER_Dictionary_Notify(SWIGTYPE_p_ARCONTROLLER_Dictionary_t.getCPtr(dictionary), (int)commandKey, ARCONTROLLER_DICTIONARY_ELEMENT_t.getCPtr(elementDictionary));
     return ret;
 }
Пример #5
0
 public static SWIGTYPE_p_ARCONTROLLER_Dictionary_t ARCONTROLLER_Dictionary_New(eARCONTROLLER_DICTIONARY_KEY commandKey, ref eARCONTROLLER_ERROR error)
 {
     global::System.IntPtr cPtr = ARDroneSDK3PINVOKE.ARCONTROLLER_Dictionary_New((int)commandKey, ref error);
     SWIGTYPE_p_ARCONTROLLER_Dictionary_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_ARCONTROLLER_Dictionary_t(cPtr, false);
     return ret;
 }
Пример #6
0
 public static eARCONTROLLER_DICTIONARY_KEY ARCONTROLLER_DICTIONARY_Key_GetFeatureFromCommandKey(eARCONTROLLER_DICTIONARY_KEY commandKey)
 {
     eARCONTROLLER_DICTIONARY_KEY ret = (eARCONTROLLER_DICTIONARY_KEY)ARDroneSDK3PINVOKE.ARCONTROLLER_DICTIONARY_Key_GetFeatureFromCommandKey((int)commandKey);
     return ret;
 }