public KM_CoordMotion(KM_Controller controller)
{
try
{
_Controller = controller;
KM_dotnet_Interop_CoordMotion_New(_Controller.InstanceHandle, ref _InstanceHandle);
Abort();
ClearAbort();
SetStraightTraverseCallback();
SetStraightFeedCallback();
SetArcFeedCallback();
}
catch (DllNotFoundException e)
{
throw new DMException(this, e, String.Format("Dll Not Found Exception thrown : Caller - [{0}] :: Member - [{1}]",
this.ToString(), "KM_CoordMotion"));
}
catch (EntryPointNotFoundException e)
{
throw new DMException(this, e, String.Format("Entry Point Not Found Exception thrown : Caller - [{0}] :: Member - [{1}]",
this.ToString(), "KM_CoordMotion"));
}
catch (Exception e)
{
throw new DMException(this, e, String.Format("General Exception thrown : Caller - [{0}] :: Member - [{1}]",
this.ToString(), "KM_CoordMotion"));
}
}