Ops

onera.pmlanalyzer.pml.operators.Use$.Ops
trait Ops

If an element l can use an element r then the following operators can be used

l (e.g. an pml.model.software.Application) is hosted by an element r (e.g. a pml.model.hardware.Initiator)

 l hostedBy r

l (e.g. an pml.model.software.Application) reads an element r (e.g. a pml.model.software.Data)

 l read r

l writes an element r

 l write r

Attributes

See also:
Note:

pml.model.software uses pml.model.hardware.Hardware through hostedBy keyword and pml.model.software.Application uses pml.model.software.Data or directly pml.model.hardware.Target through read and write keywords

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view

Extensions

Extensions

extension [L <: Application](self: L)
def hostedBy(b: Initiator)(using ev: Use[L, Initiator]): (L, Initiator)

The PML keyword to allocate self on an initiator

The PML keyword to allocate self on an initiator

Attributes

b

the initiator

ev

the proof that self can use an initiator

Returns:

the link

extension [L <: Application | Initiator](self: L)
def read[B](b: B)(using p: Provided[B, Load], ev: Use[L, Load]): Set[(L, Load)]

The PML keyword specify that self reads something

The PML keyword specify that self reads something

Attributes

B

the type of b

b

the element to read

ev

the proof that an application can use load services

p

that the element provide load services

Returns:

the link

def read(b: Set[Service])(using ev: Use[L, Load]): Set[(L, Load)]

The PML keyword specify that self uses some load services

The PML keyword specify that self uses some load services

Attributes

b

the set of services

ev

the proof that an application can use load services

Returns:

the link

def read[B](b: Set[B])(using p: Provided[B, Load], ev: Use[L, Load]): Set[(L, Load)]

The PML keyword specify that self reads something

The PML keyword specify that self reads something

Attributes

B

the type of b

b

the set of elements to read

ev

the proof that an application can use load services

p

that the element provide load services

Returns:

the link

def write[B](b: B)(using p: Provided[B, Store], ev: Use[L, Store]): Set[(L, Store)]

The PML keyword specify that self writes something

The PML keyword specify that self writes something

Attributes

B

the type of b

b

the element to write

ev

the proof that an application can use store services

p

that the element provide store services

Returns:

the link

def write(b: Set[Service])(using ev: Use[L, Store]): Set[(L, Store)]

The PML keyword specify that self uses some store services

The PML keyword specify that self uses some store services

Attributes

b

the set of services

ev

the proof that an application can use store services

Returns:

the link

extension [L <: Data](self: L)
def hostedBy(b: Target)(using ev: Use[Data, Target]): (Data, Target)

The PML keyword to allocate self on an target

The PML keyword to allocate self on an target

Attributes

b

the target

ev

the proof that self can use an target

Returns:

the link