Skip to content

class InputOutput

Package: swiss.avm.up.core.generic.specification.interface_local.javamodel.InputOutput

Direct Known Subclasses: DataTypeIoType, DigitalType


abstract class InputOutput extends APrefixedResource, AMainVariable, AnnotableComment

InputOutput is the abstract base for all hardware I/O pins on a controller interface. Its concrete subtypes - digital and analog, input and output - encode the signal direction and kind; you always create a concrete subtype, never InputOutput itself.

Properties

comment

Describes the intent of this Resource.

TextLiteral[0..1]

A Literal that accepts multiple lines of text.

Method Summary

extendedNameEnableForce

@TemplateNameFunctions

extendedNameForce

@TemplateNameFunctions

extendedNameIO

@TemplateNameFunctions

Prefix for IO's is part of this function. Since getName adds prefix for analog type prefix based on type (nested Prefix). Use it if IO is a flat type (Datatype is part of name for analog type).

extendedNameLogical

@TemplateNameFunctions

Full name path with structure and variable to logical item.

extendedNamePhysical

@TemplateNameFunctions

extendedNameStructure

@TemplateNameFunctions

Name for Structure name of Io.

getComment

getComment

@FComments

getDecoration

@FInputOutput

Returns the decorations of an interface variable.

Parameters:

TypePathLiteral
ControllerInstanceWrapper

Return:

InputOutputDecorationWrapper

getIdName

@ServiceUiFunctions

getInputOutputTypePrefix

@LibraryFunctionSpace

getPrefix

@ServiceUiFunctions

Parameters:

PrefixDefinition

internal_extendedName

@TemplateNameFunctions