SingleQStation

constructor(parent: ModelElement, activityTime: RandomIfc, initialCapacity: Int, nextReceiver: QObjectReceiverIfc = NotImplementedReceiver, name: String? = null)

Allows the single queue station to be created with an initial capacity specification for its resource.

Parameters

parent

the model element serving as this element's parent

activityTime

the processing time at the station

initialCapacity

the initial capacity of the resource at the station.

nextReceiver

the receiving location that will receive the processed qObjects once the processing has been completed. A default of NotImplementedReceiver, indicates that there is no receiver implemented. If no receiver is present, there will be a run-time error.

name

the name of the station


constructor(parent: ModelElement, activityTime: RandomIfc, resource: SResource? = null, nextReceiver: QObjectReceiverIfc = NotImplementedReceiver, name: String? = null)

Parameters

parent

the model element serving as this element's parent

activityTime

the processing time at the station

resource

the resource to use at the station. The default of null will cause a resource of capacity 1 to be created and used at the station

nextReceiver

the receiving location that will receive the processed qObjects once the processing has been completed. A default of NotImplementedReceiver, indicates that there is no receiver implemented. If no receiver is present, there will be a run-time error.

name

the name of the station