Index

A C G H I L M N O P R S T 
All Classes All Packages

A

AbstractTransceiver - Class in org.opentrafficsim.imb.transceiver
Provide the basic implementation of a Transceiver from which targeted classes can extend.
AbstractTransceiver(String, Connector, DEVSSimulatorInterface.TimeDoubleUnit) - Constructor for class org.opentrafficsim.imb.transceiver.AbstractTransceiver
Construct a new AbstractTranceiver.
addIMBtoOTSChannel(String, EventType, IMBToOTSTransformer) - Method in class org.opentrafficsim.imb.transceiver.AbstractTransceiver
Register a new channel for sending an IMB message to an OTS EventListener.
addIMBtoOTSChannel(String, IMBMessageHandler) - Method in class org.opentrafficsim.imb.transceiver.AbstractTransceiver
Register that we are interested in an IMB payload, but do not register a listener or transformer.
addOTSToIMBChannel(EventProducerInterface, EventType, String, Object[], OTSToIMBTransformer) - Method in class org.opentrafficsim.imb.transceiver.AbstractTransceiver
Make a connection from OTS to IMB, and and send a NEW message to IMB for the imbEventName with a corresponding payload.

C

create(String) - Static method in class org.opentrafficsim.imb.connector.OTSIMBConnector
Create a new OTSIMBConnector expecting the IMB hub on localhost port 4000.
create(InputParameterMap, String) - Static method in class org.opentrafficsim.imb.connector.OTSIMBConnector
Construct a new OTSIMBConnector from a InputParameterMap (preferably constructed with the standardIMBProperties method of this class.

G

getConnector() - Method in class org.opentrafficsim.imb.transceiver.AbstractTransceiver
getEventContent() - Method in class org.opentrafficsim.imb.transceiver.IMBTransformResult
 
getEventListener() - Method in class org.opentrafficsim.imb.transceiver.IMBTransformResult
 
getId() - Method in class org.opentrafficsim.imb.transceiver.AbstractTransceiver
getIMBEventName() - Method in class org.opentrafficsim.imb.transceiver.PubSubIMBMessageHandler
getSimulator() - Method in class org.opentrafficsim.imb.transceiver.AbstractTransceiver
Retrieve the simulator.
getSourceId() - Method in class org.opentrafficsim.core.graphs.imb.GraphTransceiver
getSourceId() - Method in class org.opentrafficsim.imb.transceiver.urbanstrategy.GTUTransceiver
getSourceId() - Method in class org.opentrafficsim.imb.transceiver.urbanstrategy.LaneGTUTransceiver
getSourceId() - Method in class org.opentrafficsim.imb.transceiver.urbanstrategy.LinkGTUTransceiver
getSourceId() - Method in class org.opentrafficsim.imb.transceiver.urbanstrategy.NetworkTransceiver
getSourceId() - Method in class org.opentrafficsim.imb.transceiver.urbanstrategy.NodeTransceiver
getSourceId() - Method in class org.opentrafficsim.imb.transceiver.urbanstrategy.SensorGTUTransceiver
getSourceId() - Method in class org.opentrafficsim.imb.transceiver.urbanstrategy.SimulatorTransceiver
getSourceId() - Method in class org.opentrafficsim.imb.transceiver.urbanstrategy.StatisticsGTULaneTransceiver
GraphTransceiver - Class in org.opentrafficsim.core.graphs.imb
OTS can publish graphs to IMB, e.g.
GraphTransceiver(Connector, OTSSimulatorInterface, Network, int, int, AbstractPlot, Duration) - Constructor for class org.opentrafficsim.core.graphs.imb.GraphTransceiver
Construct a new GraphTransceiver.
GTUTransceiver - Class in org.opentrafficsim.imb.transceiver.urbanstrategy
The GTUTransceiver publishes the following information on the IMB bus: LaneBasedGTU.LANEBASED_INIT_EVENT as an IMB NEW event for a GTU entering the network.
GTUTransceiver(Connector, DEVSSimulatorInterface.TimeDoubleUnit, OTSNetwork) - Constructor for class org.opentrafficsim.imb.transceiver.urbanstrategy.GTUTransceiver
Construct a new GTUTransceiver.

H

handle(TByteBuffer) - Method in class org.opentrafficsim.imb.transceiver.PubSubIMBMessageHandler
Handle the event by notifying the EventListener that was identified by the imbPayload through the imbToOTSTransformer.
handleMessageFromIMB(String, TByteBuffer) - Method in class org.opentrafficsim.imb.transceiver.AbstractTransceiver

I

IMBToOTSTransformer - Interface in org.opentrafficsim.imb.transceiver
Convert an event received over IMB to an equivalent event for OTS (DSOL).
IMBTransformResult - Class in org.opentrafficsim.imb.transceiver
Store the results of an IBM message transformation, as the aTByteBuffer message can only be parsed once.
IMBTransformResult(Serializable, EventListenerInterface) - Constructor for class org.opentrafficsim.imb.transceiver.IMBTransformResult
Store the results of an IBM message transformation, as the aTByteBuffer message can only be parsed once.

L

LaneGTUTransceiver - Class in org.opentrafficsim.imb.transceiver.urbanstrategy
OTS publishes events about the lanes to IMB, e.g.
LaneGTUTransceiver(Connector, DEVSSimulatorInterface.TimeDoubleUnit, OTSNetwork) - Constructor for class org.opentrafficsim.imb.transceiver.urbanstrategy.LaneGTUTransceiver
Construct a new LaneGTUTransceiver.
LinkGTUTransceiver - Class in org.opentrafficsim.imb.transceiver.urbanstrategy
OTS publishes events about the links to IMB, e.g.
LinkGTUTransceiver(Connector, DEVSSimulatorInterface.TimeDoubleUnit, OTSNetwork) - Constructor for class org.opentrafficsim.imb.transceiver.urbanstrategy.LinkGTUTransceiver
Construct a new LinkGTUTransceiver.

M

makePNG(AbstractPlot) - Method in class org.opentrafficsim.core.graphs.imb.GraphTransceiver
 

N

NetworkTransceiver - Class in org.opentrafficsim.imb.transceiver.urbanstrategy
IMB transceiver for the network.
NetworkTransceiver(Connector, DEVSSimulatorInterface.TimeDoubleUnit, OTSNetwork) - Constructor for class org.opentrafficsim.imb.transceiver.urbanstrategy.NetworkTransceiver
Construct a new NetworkTransceiver.
NodeTransceiver - Class in org.opentrafficsim.imb.transceiver.urbanstrategy
OTS publishes events about the Nodes to IMB to be able to identify the nodes in the network.
At the start of the OTS simulation, or when a Node is added later, a NEW message is sent to IMB for each node to identify the node id.
NodeTransceiver(Connector, DEVSSimulatorInterface.TimeDoubleUnit, OTSNetwork) - Constructor for class org.opentrafficsim.imb.transceiver.urbanstrategy.NodeTransceiver
Construct a new NodeTransceiver.
notify(EventInterface) - Method in class org.opentrafficsim.imb.transceiver.AbstractTransceiver
notify(EventInterface) - Method in class org.opentrafficsim.imb.transceiver.urbanstrategy.GTUTransceiver
notify(EventInterface) - Method in class org.opentrafficsim.imb.transceiver.urbanstrategy.LaneGTUTransceiver
notify(EventInterface) - Method in class org.opentrafficsim.imb.transceiver.urbanstrategy.LinkGTUTransceiver
notify(EventInterface) - Method in class org.opentrafficsim.imb.transceiver.urbanstrategy.NodeTransceiver
notify(EventInterface) - Method in class org.opentrafficsim.imb.transceiver.urbanstrategy.SensorGTUTransceiver

O

org.opentrafficsim.core.graphs.imb - package org.opentrafficsim.core.graphs.imb
package-info.java.
org.opentrafficsim.imb.connector - package org.opentrafficsim.imb.connector
The connector classes to link OTS and IMB.
org.opentrafficsim.imb.transceiver - package org.opentrafficsim.imb.transceiver
Interfaces and abstract classes for Transceivers and Transformers.
org.opentrafficsim.imb.transceiver.urbanstrategy - package org.opentrafficsim.imb.transceiver.urbanstrategy
Implementation of the transceivers for OTS to TNO's Urban Strategy.
OTSIMBConnector - Class in org.opentrafficsim.imb.connector
Copyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
OTSIMBConnector(String, int, String, int, String) - Constructor for class org.opentrafficsim.imb.connector.OTSIMBConnector
Create a new OTSIMBConnector by specifying all the details.
OTSIMBConnector(TConnection) - Constructor for class org.opentrafficsim.imb.connector.OTSIMBConnector
 
OTSToIMBTransformer - Interface in org.opentrafficsim.imb.transceiver
Convert an OTS/DSOL event received to an equivalent event for IMB.

P

PROPERTY_KEY - Static variable in class org.opentrafficsim.imb.connector.OTSIMBConnector
Key for compound property with IMB settings.
PubSubIMBMessageHandler - Class in org.opentrafficsim.imb.transceiver
The PubSubIMBMessageHandler handles the IMB message by transforming it into a DSOL Event and sending it to an EventListener at the current simulation time through a simulation event.
PubSubIMBMessageHandler(String, EventType, IMBToOTSTransformer, DEVSSimulatorInterface.TimeDoubleUnit) - Constructor for class org.opentrafficsim.imb.transceiver.PubSubIMBMessageHandler
Construct a new PubSubIMBMessageHandler.

R

removeOTSToIMBChannel(EventProducerInterface, EventType, Object[]) - Method in class org.opentrafficsim.imb.transceiver.AbstractTransceiver
Remove a connection from OTS to IMB, and and send a DELETE message to IMB for the imbEventName with a corresponding payload.

S

sendStatisticsUpdate() - Method in class org.opentrafficsim.imb.transceiver.urbanstrategy.StatisticsGTULaneTransceiver
 
SensorGTUTransceiver - Class in org.opentrafficsim.imb.transceiver.urbanstrategy
OTS publishes events about sensor triggers to IMB, e.g.
SensorGTUTransceiver(Connector, DEVSSimulatorInterface.TimeDoubleUnit, OTSNetwork) - Constructor for class org.opentrafficsim.imb.transceiver.urbanstrategy.SensorGTUTransceiver
Construct a new SensorGTUTransceiver.
SimulatorTransceiver - Class in org.opentrafficsim.imb.transceiver.urbanstrategy
The SimulatorTranseiver sends and listens to start, stop and change speed messages.
SimulatorTransceiver(Connector, DEVSSimulatorInterface.TimeDoubleUnit) - Constructor for class org.opentrafficsim.imb.transceiver.urbanstrategy.SimulatorTransceiver
Construct a new SimulatorTransceiver.
standardIMBProperties(int) - Static method in class org.opentrafficsim.imb.connector.OTSIMBConnector
Create a InputParameterMap with the settings for an IMB connection.
standardIMBProperties(int, String) - Static method in class org.opentrafficsim.imb.connector.OTSIMBConnector
Create a InputParameterMap with the settings for an IMB connection.
StatisticsGTULaneTransceiver<G extends GtuDataInterface> - Class in org.opentrafficsim.imb.transceiver.urbanstrategy
OTS can publish messages about statistics or Key Performance Indicators (KPIs) of the relation between GTUs and a part of the network.
StatisticsGTULaneTransceiver(Connector, OTSSimulatorInterface, String, Query<G>, Duration) - Constructor for class org.opentrafficsim.imb.transceiver.urbanstrategy.StatisticsGTULaneTransceiver
Construct a new StatisticsGTULaneTransceiver.

T

toString() - Method in class org.opentrafficsim.imb.transceiver.AbstractTransceiver
transform(TByteBuffer) - Method in interface org.opentrafficsim.imb.transceiver.IMBToOTSTransformer
Transform an IMB payload to a combination of an OTS (DSOL) event content and an identified listener.
transform(EventInterface) - Method in interface org.opentrafficsim.imb.transceiver.OTSToIMBTransformer
Transform an IMB payload to an OTS (DSOL) event.
transformChange(EventInterface) - Method in class org.opentrafficsim.imb.transceiver.urbanstrategy.LaneGTUTransceiver
Transform the GTU added or removed event content to a corresponding IMB message.
transformChange(EventInterface) - Method in class org.opentrafficsim.imb.transceiver.urbanstrategy.LinkGTUTransceiver
Transform the GTU added or removed event content to a corresponding IMB message.
transformDelete(EventInterface) - Method in class org.opentrafficsim.imb.transceiver.urbanstrategy.LaneGTUTransceiver
Transform the removal of a Lane from the network to a corresponding IMB message.
transformDelete(EventInterface) - Method in class org.opentrafficsim.imb.transceiver.urbanstrategy.LinkGTUTransceiver
Transform the removal of a link to the network to a corresponding IMB message.
transformNew(EventInterface) - Method in class org.opentrafficsim.imb.transceiver.urbanstrategy.LaneGTUTransceiver
Transform the addition of a Lane to the network to a corresponding IMB message.
transformNew(EventInterface) - Method in class org.opentrafficsim.imb.transceiver.urbanstrategy.LinkGTUTransceiver
Transform the addition of a link to the network to a corresponding IMB message.
A C G H I L M N O P R S T 
All Classes All Packages