![]() |
Section 8.10.1.1: |
This abstract class defines a state component which is a set of all instantiations of objects of any class sub-typing from this class in addition to the vdm model types used wherever this class name is used. Note that SAME has to be an instantiated class, not an abstract one.
NOTE | See the important note about vdm state in the notes on vdm-sl usage in this specification. |
This abstraction models a device which, at least potentially, has the ability to obtain data from some device external to a program.
This feature provides an enquiry facility for a program to determine whether input is currently possible from the instantiated class device.
Since this feature is a predicate there is no pre-condition - ie it is vacuously true.
The result reflects the state of the real device being modelled by the instantiating class.
This predicate returns true if and only if the device is in a state where data can be imported by the program.
![]() |
Language Index | ![]() |
Library Index | ![]() |
Input/Output Index |
Comments or enquiries should be made to
Keith
Hopper. Page last modified: Thursday, 13 July 2000. |
![]() |