Class TCSResource<E extends TCSResource<E>>

java.lang.Object
org.opentcs.data.TCSObject<E>
org.opentcs.data.model.TCSResource<E>
Type Parameters:
E - The actual resource class.
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
Block, Location, Path, Point

public abstract class TCSResource<E extends TCSResource<E>>
extends TCSObject<E>
implements java.io.Serializable
Describes a resource that Vehicles may claim for exclusive usage.
See Also:
Scheduler, Serialized Form
  • Constructor Details

    • TCSResource

      protected TCSResource​(java.lang.String name)
      Creates a new TCSResource.
      Parameters:
      name - The new resource's name.
    • TCSResource

      protected TCSResource​(java.lang.String name, java.util.Map<java.lang.String,​java.lang.String> properties, ObjectHistory history)
      Creates a new TCSResource.
      Parameters:
      name - The new resource's name.
      properties - A set of properties (key-value pairs) associated with this object.
      history - A history of events related to this object.
  • Method Details