コード例 #1
0
ファイル: HDevProcedure.cs プロジェクト: zshankang/OpenHalcon
        /// <summary>Returns the names of all refered procedures</summary>
        public HTuple GetUsedProcedureNames()
        {
            IntPtr tuple;

            HDevProcedure.HCkE(HalconAPI.CreateTuple(out tuple));
            HDevProcedure.HCkE(EngineAPI.GetUsedProcedureNamesForProcedure(this.procedure, tuple));
            GC.KeepAlive((object)this);
            HTuple htuple = HalconAPI.LoadTuple(tuple);

            HDevProcedure.HCkE(HalconAPI.DestroyTuple(tuple));
            return(htuple);
        }