KCMS CMM Developer's Guide

KcsIO Class

The KcsIO class provides a generic input/output (I/O) interface to access data in a static store like files on a disk or in memory. The KcsIO class provides a common interface for device-, platform-, and transport-independent I/O operations such as read and write. It is a derivative of the KcsShareable class. The KcsFile, KcsMemoryBlock, KcsSolarisFile, and KcsXwindow are derivatives of the KcsIO class that provide I/O for more specific types of data storage.

The KcsIO class is primarily provided for operating system vendors to access profiles in devices that cannot be created by deriving from other classes in the system. For example, you may require access to profiles in a printer that have properties not accessible in other classes--if you could not mmap(2) the printer memory.


Note -

You must derive from the KcsIO class if you require device-, platform- or transport-dependent I/O operations.


See Chapter 4, KcsIO Derivative for detailed information.