Virtualizer

onera.pmlanalyzer.pml.model.hardware.Virtualizer$
See theVirtualizer companion class

Builder of targets

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

utilFun

final def formatName(name: Symbol, owner: Owner): Symbol

Formatting of object name

Formatting of object name

Attributes

name

the name of the object

owner

the name of its owner

Returns:

the formatted name

Note:

this method should not be used in models

Inherited from:
BaseHardwareNodeBuilder

embedFunctions

def all(implicit owner: Owner): Set[T]

Provide all the object of the current type created for the platform, including the ones created in composite components

Provide all the object of the current type created for the platform, including the ones created in composite components

Attributes

owner

the name of the platform owning the objects

Returns:

set of created objects

Inherited from:
PMLNodeBuilder
def allDirect(implicit owner: Owner): Set[T]

Provide all the object of the current type created for the platform, without the ones created in composite components

Provide all the object of the current type created for the platform, without the ones created in composite components

Attributes

owner

the name of the platform owning the objects

Returns:

set of created objects

Inherited from:
PMLNodeBuilder

publicConstructor

def apply(name: Symbol)(implicit p: ProvideRelation[Hardware, Service], owner: Owner): T

A physical component can be defined only its name, the services will be defined by default

A physical component can be defined only its name, the services will be defined by default

Attributes

name

the physical component name

owner

implicitly retrieved name of the platform

p

implicitly retrieved relation linking components to their provided services

Returns:

the physical component

Inherited from:
BaseHardwareNodeBuilder
def apply(name: Symbol, basics: Set[Service])(implicit p: ProvideRelation[Hardware, Service], owner: Owner): T

A physical component can be defined by its name and the basic services it provides A transporter is only defined by its name, so if the transporter already exists it will simply add the services provided by basics

A physical component can be defined by its name and the basic services it provides A transporter is only defined by its name, so if the transporter already exists it will simply add the services provided by basics

Attributes

basics

the set of basic services provided, if empty a default store and load services are added

name

the physical component name

owner

implicitly retrieved name of the platform

p

implicitly retrieved relation linking components to their provided services

Returns:

the physical component

Inherited from:
BaseHardwareNodeBuilder
def apply(basics: Set[Service])(implicit implicitName: Name, p: ProvideRelation[Hardware, Service], owner: Owner): T

A physical component can be defined only with the basic services it provides The name will be retrieved by using the implicit declaration context (the name of the value enclosing the object)

A physical component can be defined only with the basic services it provides The name will be retrieved by using the implicit declaration context (the name of the value enclosing the object)

Attributes

basics

the set of basic services provided, if empty a default store and load services are added

implicitName

implicitly retrieved name from the declaration context

owner

implicitly retrieved name of the platform

p

implicitly retrieved relation linking components to their provided services

Returns:

the physical component

Example:
        val mySimpleTransporter = SimpleTransporter()
Inherited from:
BaseHardwareNodeBuilder

Value members

Inherited fields

protected val _memo: HashMap[(Symbol, Symbol), Virtualizer]

Attributes

Inherited from:
PMLNodeBuilder