Package core
Class AbstractVehicle
- java.lang.Object
-
- core.AbstractVehicle
-
public abstract class AbstractVehicle extends Object
-
-
Field Summary
Fields Modifier and Type Field Description AbstractLaneGrouplgcommodity.Pathpath
-
Constructor Summary
Constructors Constructor Description AbstractVehicle()AbstractVehicle(AbstractVehicle that)AbstractVehicle(Long comm_id, Set<output.InterfaceVehicleListener> event_listeners)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd_event_listeners(Set<output.InterfaceVehicleListener> x)longget_commodity_id()Set<output.InterfaceVehicleListener>get_event_listeners()AbstractLaneGroupget_lanegroup()Longget_next_link_id()core.Stateget_state()longgetId()voidremove_event_listeners(Set<output.InterfaceVehicleListener> x)voidset_next_link_id(Long nextlink_id)voidset_state(core.State state)StringtoString()
-
-
-
Field Detail
-
lg
public AbstractLaneGroup lg
-
path
public commodity.Path path
-
-
Constructor Detail
-
AbstractVehicle
public AbstractVehicle()
-
AbstractVehicle
public AbstractVehicle(AbstractVehicle that)
-
-
Method Detail
-
set_next_link_id
public void set_next_link_id(Long nextlink_id)
-
getId
public long getId()
-
get_commodity_id
public long get_commodity_id()
-
get_lanegroup
public AbstractLaneGroup get_lanegroup()
-
add_event_listeners
public void add_event_listeners(Set<output.InterfaceVehicleListener> x)
-
remove_event_listeners
public void remove_event_listeners(Set<output.InterfaceVehicleListener> x)
-
get_event_listeners
public Set<output.InterfaceVehicleListener> get_event_listeners()
-
set_state
public void set_state(core.State state)
-
get_state
public core.State get_state()
-
get_next_link_id
public Long get_next_link_id()
-
-