Class HeidenhainDatumTableProxy
- Namespace
- Hi.NcParsers.Dependencys
- Assembly
- HiMech.dll
Get-or-create INcDependencyProxy for HeidenhainDatumTable: a placeholder in the shared PipelineNcDependencyList that resolves the host project's own per-case datum preset / datum shift tables.
public sealed class HeidenhainDatumTableProxy : INcDependencyProxy, INcDependency, IMakeXmlSource
- Inheritance
-
HeidenhainDatumTableProxy
- Implements
- Inherited Members
- Extension Methods
Properties
XName
XML element name used to register this dependency with XFactory.
public static string XName { get; }
Property Value
Methods
GetNcDependency()
Takes the host's HeidenhainDatumTable (created during
InitNcDependencyHost(INcDependencyListHost)). Returns null when no host is wired.
public INcDependency GetNcDependency()
Returns
InitNcDependencyHost(INcDependencyListHost)
Wires the host and materializes the per-case HeidenhainDatumTable: when the host list has none, one is created and installed so it exists and is editable before any run. GetNcDependency() is then a pure take. Idempotent — an existing table is left untouched.
public void InitNcDependencyHost(INcDependencyListHost host)
Parameters
MakeXmlSource(string, string, bool)
Runtime-only proxy — the wired host and the resolved table are not persisted in the shared runner; serialization writes only the empty element.
public XElement MakeXmlSource(string baseDirectory, string relFile, bool exhibitionOnly)
Parameters
Returns
Reg(XFactory)
Registers this type's deserializer with the given XFactory
(or Default when factory is
null). Idempotent.
public static void Reg(XFactory factory = null)
Parameters
factoryXFactory