Skip to content

class ChildIterator

Package: swiss.avm.up.core.generic.specification.javamodel.ChildIterator

Direct Known Subclasses:


class ChildIterator extends Resource

A ChildIterator is an indexed set of homogeneous children on a controller that all share one interface. It is used when a controller has a variable number of identical children, which it commands by index and can aggregate values across.

Properties

controllerInterface

ControllerInterface[1..1]

A ControllerInterface is the shared public contract of a controller family: the
commands, public data, hardware I/O and declared states that every implementing
controller exposes and that a parent uses to interact with it. One interface can
be reused by several sibling controllers.

data

ChildIteratorData[0..N]

Method Summary

enableStateLog

@FChildIterator

Parameters:

Model
Controller
PlatformType

getACommand

@FChildIterator

Parameters:

Model
Controller
PlatformType

getChildren

@FChildIterator

Parameters:

ACallingBaseElement

Return:

List<AbstractChild>

getControllerId

@FChildIterator

Parameters:

Model
Controller
PlatformType

getExist

@FChildIterator

Parameters:

Model
Controller
PlatformType

getFirstArrayIndex

@FChildIterator

number of childIterators - 1

Parameters:

ACallingBaseElement

Return:

IntegerLiteral

getMCommand

@FChildIterator

Parameters:

Model
Controller
PlatformType

getMessageCounter

@FChildIterator

Parameters:

Model
Controller
PlatformType

getMode

@FChildIterator

Parameters:

Model
Controller
PlatformType

getName

@FName

getNameIndexOfFunction

@FChildIterator

Parameters:

Controller

getSimulation

@FChildIterator

Parameters:

Model
Controller
PlatformType

getState

@FChildIterator

Parameters:

Model
Controller
PlatformType

getTopState

@FChildIterator

Parameters:

Model
Controller
PlatformType

indexOf

@FChildIterator

Parameters:

Model
Controller
PlatformType

setCommand

@FChildIterator

Parameters:

Model
Controller
PlatformType

setExist

@FChildIterator

Parameters:

Model
Controller
PlatformType

setMode

@FChildIterator

Parameters:

Model
Controller
PlatformType