Blocks
←Introduction · Index↑ · Root block→
Blocks are instances of the NcBlock
control class. The formal specifications of NcBlock
and its properties are in MS-05-02.
Blocks are the means by which a device model can be organised, nested and discovered. They do not define or constrain the internal programming structures of devices.
The contents of a block are control objects which may include other nested blocks representing substructures of the device model.
Each control object is an instance of an NCA control class that defines a small API for accessing a particular device control or monitoring function. The complete control API of a block is the union of all its individual objects’ APIs; the complete control API of an NCA device is the union of all its blocks’ APIs.