Class SchedulerLayer
This class provides scheduling by publishing events into the running
simulation given an input scheduling data where the time, optionally the spatial dimension
and an arbitrary set of data can be associated to this event.
Inheritance
System.Object
SchedulerLayer
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Mars.Components.Layers
Assembly: Mars.Components.dll
Syntax
public abstract class SchedulerLayer : AbstractActiveLayer, ISteppedActiveLayer, ILayer, ITickClient, IModelObject
Constructors
| Improve this Doc View SourceSchedulerLayer()
Creates an empty SchedulerLayer used to expose events by a given schedule.
Declaration
protected SchedulerLayer()
SchedulerLayer(DataTable)
Creates an empty SchedulerLayer using the a the given schedule.
Declaration
protected SchedulerLayer(DataTable table)
Parameters
Type | Name | Description |
---|---|---|
System.Data.DataTable | table |
Properties
| Improve this Doc View SourceSingleScheduling
This flags describes whether the scheduling shall be applied for each desired amount in the input
described by the SchedulingEventAmounts or just once
in case that the model is using the amount information by himself.
Declaration
public bool SingleScheduling { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
| Improve this Doc View SourceInitLayer(LayerInitData, RegisterAgent, UnregisterAgent)
This class provides scheduling by publishing events into the running
simulation given an input scheduling data where the time, optionally the spatial dimension
and an arbitrary set of data can be associated to this event.
Declaration
public override bool InitLayer(LayerInitData layerInitData, RegisterAgent registerAgentHandle = null, UnregisterAgent unregisterAgent = null)
Parameters
Type | Name | Description |
---|---|---|
LayerInitData | layerInitData | |
RegisterAgent | registerAgentHandle | |
UnregisterAgent | unregisterAgent |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
| Improve this Doc View SourcePreTick()
This class provides scheduling by publishing events into the running
simulation given an input scheduling data where the time, optionally the spatial dimension
and an arbitrary set of data can be associated to this event.
Declaration
public override void PreTick()
Overrides
| Improve this Doc View SourceSchedule(SchedulerEntry)
This class provides scheduling by publishing events into the running
simulation given an input scheduling data where the time, optionally the spatial dimension
and an arbitrary set of data can be associated to this event.
Declaration
protected abstract void Schedule(SchedulerEntry dataRow)
Parameters
Type | Name | Description |
---|---|---|
SchedulerEntry | dataRow |