KCMS CMM Developer's Guide

Loading

Defer some loading functionality to other objects in the KCMS framework, because the objects can minimize and load more efficiently. With the KcsXform class, the object does not need to implement the load in all derivatives for the first time. This means that the profile instance has the objects (in this case the KcsXform derivatives) load and unload themselves, but it still has to load and minimize objects through construction and destruction to make up for those KcsXform derivatives that do not load and minimize.

The KcsXform base class provides the default load virtual methods that return the KCS_NOT_RUNTIME_LOADABLE error. This error allows the KcsProfile class, or any other KcsXform container, to check for this error condition and to use another approach if necessary.


Note -

Currently, not all technologies provide their own loading mechanism; use the base class functionality.