14.3.1 @Config - Annotation of Input interface
The input parameters to be used by plugins are defined through the interface Input{}. Inside this interface the different parameters are configured through the annotation @Config.
Figure 315: Example of an input interface and @Config
Figure 316: display of the example
Each of these annotations is described in detail below:
- order
defines the position on the input panel and must be therefore unique. - name
to show the user which the parameter is intended for - general
it has to be noted that without specifying a default vale, as for instance above for the propagation model, the default values of the corresponding types are applied. which are e.g. for
double: 0.0
distribution: constant 0.0
function: constant 0.0
propagation model: Extended Hata
antenna: Antenna Peak Gain;
- Factory
allows you to create your own default setting for distributions, functions, antennas and propagation models. The implemented DataExporter allows you to the create tabular data sets and save these onto you hard disk.
It has to be noted that String selections like shown below have to be implemented as ‘enum’:
Figure 317: Selection parameter