コード例 #1
0
ファイル: XmlRpcUtil.cs プロジェクト: christlurker/ROS.NET
 public static void ShowOutputFromXmlRpcPInvoke(printstr handler = null)
 {
     if (handler == null)
         handler = thisishowawesomeyouare;
     if (handler != _PRINTSTR)
     {
         _PRINTSTR = thisishowawesomeyouare;
         SetAwesomeFunctionPtr(_PRINTSTR);
     }
 }
コード例 #2
0
ファイル: XmlRpcUtil.cs プロジェクト: rvlietstra/ROS.NET
 public static void ShowOutputFromXmlRpcPInvoke(XMLRPC_LOG_LEVEL verb, printstr handler = null)
 {
     if (handler == null)
         handler = thisishowawesomeyouare;
     if (handler != _PRINTSTR)
     {
         _PRINTSTR = thisishowawesomeyouare;
         SetAwesomeFunctionPtr(_PRINTSTR);
     }
     SetLogLevel((int)verb);
 }
コード例 #3
0
ファイル: XmlRpcUtil.cs プロジェクト: IAmUser4574/ROS.NET
 public static void ShowOutputFromXmlRpcPInvoke(printstr handler = null)
 {
     if (handler == null)
     {
         handler = thisishowawesomeyouare;
     }
     if (handler != _PRINTSTR)
     {
         _PRINTSTR = thisishowawesomeyouare;
         SetAwesomeFunctionPtr(_PRINTSTR);
     }
 }
コード例 #4
0
 public static void ShowOutputFromXmlRpcPInvoke(XMLRPC_LOG_LEVEL verb, printstr handler = null)
 {
     if (handler == null)
     {
         handler = thisishowawesomeyouare;
     }
     if (handler != _PRINTSTR)
     {
         _PRINTSTR = thisishowawesomeyouare;
         SetAwesomeFunctionPtr(_PRINTSTR);
     }
     SetLogLevel((int)verb);
 }
コード例 #5
0
 private static extern void SetAwesomeFunctionPtr(
     [MarshalAs(UnmanagedType.FunctionPtr)] printstr callback);