AbstractResourcePool

abstract class AbstractResourcePool<T : Resource>(parent: ModelElement, name: String? = null) : ModelElement(source)

An abstract base class that represents a pool of resources (or subclasses of Resource).

Inheritors

Constructors

Link copied to clipboard
constructor(parent: ModelElement, name: String? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open fun addResource(resource: T)

Adds a resource to the pool. The model must not be running when adding a resource.

Link copied to clipboard
Link copied to clipboard