Package core
Class AbstractVehicle
- java.lang.Object
-
- core.AbstractVehicle
-
public abstract class AbstractVehicle extends Object
-
-
Field Summary
Fields Modifier and Type Field Description AbstractLaneGroup
lg
commodity.Path
path
-
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 void
add_event_listeners(Set<output.InterfaceVehicleListener> x)
long
get_commodity_id()
Set<output.InterfaceVehicleListener>
get_event_listeners()
AbstractLaneGroup
get_lanegroup()
Long
get_next_link_id()
core.State
get_state()
long
getId()
void
remove_event_listeners(Set<output.InterfaceVehicleListener> x)
void
set_next_link_id(Long nextlink_id)
void
set_state(core.State state)
String
toString()
-
-
-
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()
-
-