glossary:interface
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
glossary:interface [2020-10-12 17:18] – old revision restored (2013-05-27 13:53) 159.69.186.191 | glossary:interface [2020-12-10 08:40] – old revision restored (2013-06-14 15:39) 95.216.172.175 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Interface | + | ====== Interface ====== |
- | ===== Alternative Terms ===== | + | |
+ | ===== Meaning 1: Interface as a Concept ===== | ||
+ | |||
+ | ==== Alternative Terms ==== | ||
/*i.e. alternative names meaning the same thing*/ | /*i.e. alternative names meaning the same thing*/ | ||
- | ===== Definition | + | ==== Definition ==== |
An **interface** defines the interaction between certain [[modules]]. | An **interface** defines the interaction between certain [[modules]]. | ||
- | ===== Description | + | ==== Description ==== |
Interface is a very general concept which refers to the interaction points of arbitrary modules: | Interface is a very general concept which refers to the interaction points of arbitrary modules: | ||
* The interface of a [[class]] is defined by its public [[methods]]. | * The interface of a [[class]] is defined by its public [[methods]]. | ||
Line 15: | Line 18: | ||
* A [[graphical user interface]] is defined by buttons, menus, text boxes, and other controls. | * A [[graphical user interface]] is defined by buttons, menus, text boxes, and other controls. | ||
- | The interface defines how a module shall be used. There may be ways circumventing the interface and accessing internal parts of a module directly. This should be avoided ([[principels: | + | The interface defines how a module shall be used. There may be ways circumventing the interface and accessing internal parts of a module directly. This should be avoided ([[principels: |
A module can be described as having a [[provided interface]] and a [[required interface]]. | A module can be described as having a [[provided interface]] and a [[required interface]]. | ||
- | ===== Examples | + | ==== Examples ==== |
- | ===== Alternative Definitions | + | ==== Alternative Definitions ==== |
/*i.e. slightly different definitions for basically the same thing*/ | /*i.e. slightly different definitions for basically the same thing*/ | ||
- | ===== See Also ===== | + | ==== See Also ==== |
* [[Module]] | * [[Module]] | ||
* [[Application Programming Interface]] (API) | * [[Application Programming Interface]] (API) | ||
Line 31: | Line 34: | ||
* [[Service Provider Interface]] (SPI) | * [[Service Provider Interface]] (SPI) | ||
- | ===== Further Reading | + | ==== Further Reading ==== |
* [[wp> | * [[wp> | ||
---- | ---- | ||
- | ====== Interface | + | ===== Meaning 2: Interface |
- | ===== Alternative Terms ===== | + | |
+ | ==== Alternative Terms ==== | ||
/*i.e. alternative names meaning the same thing*/ | /*i.e. alternative names meaning the same thing*/ | ||
- | ===== Definition | + | ==== Definition ==== |
An **'' | An **'' | ||
- | ===== Description ===== | + | ==== Description ==== |
+ | An '' | ||
+ | There are '' | ||
Note that in this wiki whenever the language construct is meant (and not the concept) '' | Note that in this wiki whenever the language construct is meant (and not the concept) '' | ||
- | ===== Examples | + | ==== Examples ==== |
- | ===== Alternative Definitions | + | ==== Alternative Definitions ==== |
/*i.e. slightly different definitions for basically the same thing*/ | /*i.e. slightly different definitions for basically the same thing*/ | ||
- | ===== See Also ===== | + | ==== See Also ==== |
* [[Class]] | * [[Class]] | ||
* [[Abstract Class]] | * [[Abstract Class]] | ||
* [[Mixin]] | * [[Mixin]] | ||
- | ===== Further Reading | + | ==== Further Reading ==== |
---- | ---- | ||
- | ====== Other Uses ====== | + | ===== Other Meanings |
/*i.e. the same term referring to something different; put short mentions here or better add more detailed descriptions as additional sections */ | /*i.e. the same term referring to something different; put short mentions here or better add more detailed descriptions as additional sections */ | ||
+ | |||
+ | * In [[Object Pascal]] a [[unit]], i.e. a pas-file, typically contains an interface and an implementation section. The interface section lists the declarations which are visible outside the unit. |
glossary/interface.txt · Last modified: 2021-10-20 20:14 by christian