Skip navigation links
A B C D E F G H I L M N O P Q R S T U V W 

A

AbstractTransceiver - Class in org.opentrafficsim.imb.transceiver
Provide the basic implementation of a Transceiver from which targeted classes can extend.
AbstractTransceiver(String, Connector, OTSDEVSSimulatorInterface) - Constructor for class org.opentrafficsim.imb.transceiver.AbstractTransceiver
Construct a new AbstractTranceiver.
ACTION_CHANGE - Static variable in class nl.tno.imb.TEventEntry
signal an object change: an existing object has changed
ACTION_DELETE - Static variable in class nl.tno.imb.TEventEntry
signal an object change: an object is deleted
ACTION_NEW - Static variable in class nl.tno.imb.TEventEntry
signal an object change: a new object is created
activeProperties - Variable in class org.opentrafficsim.imb.demo.IMBSuperDemo
Properties of the currently selected demonstration.
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.
AddMessage(Date, String, String) - Method in class org.opentrafficsim.imb.demo.IMBChat
Add received message to the message received box
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.
autoPublish - Variable in class nl.tno.imb.TConnection
when true events send on not-publuished events are automatically published

B

btnConnect - Variable in class org.opentrafficsim.imb.demo.IMBChat
Initiate connection to the IMB hub.
buildGUI() - Method in class org.opentrafficsim.imb.demo.IMBSuperDemo
Build the GUI.

C

CircularRoadIMB - Class in org.opentrafficsim.imb.demo
Circular road simulation demo.
CircularRoadIMB() - Constructor for class org.opentrafficsim.imb.demo.CircularRoadIMB
Create a CircularRoad simulation.
clear() - Method in class nl.tno.imb.TByteBuffer
Clear the byte buffer to zero length and reset all cursors
clear(int) - Method in class nl.tno.imb.TByteBuffer
Clear the byte buffer to the specified length and reset all cursors.
CleverRadioButton - Class in org.opentrafficsim.imb.demo
JRadioButton that also stores a WrappableAnimation.
CleverRadioButton(WrappableAnimation) - Constructor for class org.opentrafficsim.imb.demo.CleverRadioButton
Construct a JRadioButton that also stores a WrappableAnimation.
close() - Method in class nl.tno.imb.TConnection
Closes the connection and cleans up socket, streams and thread
compare(byte[], int) - Method in class nl.tno.imb.TByteBuffer
Compare the contents of this byte buffer at the read cursor to a given byte array
Connect() - Method in class org.opentrafficsim.imb.demo.IMBChat
Connect to the hub.
Connector - Interface in org.opentrafficsim.imb.connector
IMB listener and publisher.
Connector.IMBEventType - Enum in org.opentrafficsim.imb.connector
Enum for IMB event types.
constructModel(SimulatorInterface<DoubleScalar.Abs<TimeUnit>, DoubleScalar.Rel<TimeUnit>, OTSSimTimeDouble>) - Method in class org.opentrafficsim.imb.demo.N201IMB.N201Model
constructModel(SimulatorInterface<DoubleScalar.Abs<TimeUnit>, DoubleScalar.Rel<TimeUnit>, OTSSimTimeDouble>) - Method in class org.opentrafficsim.imb.demo.RoadSimulationModelIMB
convertDateToWindowsTime(Date) - Static method in class org.opentrafficsim.imb.demo.IMBChat
Convert a Date to windows time.
convertMillisecondsToWindowsTime(long) - Static method in class org.opentrafficsim.imb.demo.IMBChat
Convert a java time in milliseconds to windows time
convertWindowsTimeToDate(double) - Static method in class org.opentrafficsim.imb.demo.IMBChat
Convert a time.
convertWindowsTimeToMilliseconds(double) - Static method in class org.opentrafficsim.imb.demo.IMBChat
Convert a time.
CoordinateTransformRD(double, double) - Constructor for class org.opentrafficsim.imb.demo.N201IMB.CoordinateTransformRD
 
copyHandlersFrom(TEventEntry) - Method in class nl.tno.imb.TEventEntry
 
create(String) - Static method in class org.opentrafficsim.imb.connector.OTSIMBConnector
Create a new OTSIMBConnector expecting the IMB hub on localhost port 4000.
create(CompoundProperty, String) - Static method in class org.opentrafficsim.imb.connector.OTSIMBConnector
Construct a new OTSIMBConnector from a CompoundProperty (preferably constructed with the standardIMBProperties method of this class.

D

DecodeServerURIPort(String) - Static method in class nl.tno.imb.TLocator
 
DecodeServerURIServer(String) - Static method in class nl.tno.imb.TLocator
 
DEFAULT_FEDERATION - Static variable in class nl.tno.imb.TConnection
value to be used when no specific federation is used
DEFAULT_HUB - Static variable in class nl.tno.imb.TConnection
value to be used when no specific remote server is used
DEFAULT_PORT - Static variable in class nl.tno.imb.TConnection
value to be used when no specific port is used
description() - Method in class org.opentrafficsim.imb.demo.CircularRoadIMB
description() - Method in class org.opentrafficsim.imb.demo.N201IMB
descriptionPanel - Variable in class org.opentrafficsim.imb.demo.IMBSuperDemo
Panel with the description of the currently selected demonstration.
Disconnect() - Method in class org.opentrafficsim.imb.demo.IMBChat
Close the connection to the IMB hub.
dispatch(TConnection) - Method in interface nl.tno.imb.TConnection.TOnDisconnect
 
dispatch(TConnection, TConnection.TEventNameEntry[]) - Method in interface nl.tno.imb.TConnection.TOnEventnames
 
dispatch(TConnection, String, String, int, int) - Method in interface nl.tno.imb.TConnection.TOnStatusUpdate
 
dispatch(TConnection, int, String) - Method in interface nl.tno.imb.TConnection.TOnSubAndPub
 
dispatch(TConnection, String, byte[], byte[]) - Method in interface nl.tno.imb.TConnection.TOnVariable
 
dispatch(TEventEntry, int, int, TByteBuffer) - Method in interface nl.tno.imb.TEventEntry.TOnBuffer
 
dispatch(TConnection, int, String) - Method in interface nl.tno.imb.TEventEntry.TOnChangeFederation
 
dispatch(int, int, String, String) - Method in interface nl.tno.imb.TEventEntry.TOnChangeObject
 
dispatch(TEventEntry, int, int, String, TByteBuffer, TByteBuffer) - Method in interface nl.tno.imb.TEventEntry.TOnChangeObjectData
 
dispatch(TEventEntry, int, String) - Method in interface nl.tno.imb.TEventEntry.TOnChildEvent
 
dispatch(double, double) - Method in interface nl.tno.imb.TEventEntry.TOnFocus
 
dispatch(TEventEntry, TByteBuffer) - Method in interface nl.tno.imb.TEventEntry.TOnNormalEvent
 
dispatch(TEventEntry, int, int, TByteBuffer) - Method in interface nl.tno.imb.TEventEntry.TOnOtherEvent
 
dispatch(TEventEntry, String) - Method in interface nl.tno.imb.TEventEntry.TOnStreamCreate
 
dispatch(TEventEntry, OutputStream, String) - Method in interface nl.tno.imb.TEventEntry.TOnStreamEnd
 
dispatch(TEventEntry, int) - Method in interface nl.tno.imb.TEventEntry.TOnSubAndPubEvent
 
dispatch(TEventEntry, int, String) - Method in interface nl.tno.imb.TEventEntry.TOnTimerCmd
 
dispatch(TEventEntry, String, int, long, long) - Method in interface nl.tno.imb.TEventEntry.TOnTimerTick
 
doubleTransform(double, double) - Method in class org.opentrafficsim.imb.demo.N201IMB.CoordinateTransformRD
drawGraphs() - Method in class org.opentrafficsim.imb.demo.RoadSimulationModelIMB
Notify the contour plots that the underlying data has changed.
dx - Variable in class org.opentrafficsim.imb.demo.N201IMB.CoordinateTransformRD
 
dy - Variable in class org.opentrafficsim.imb.demo.N201IMB.CoordinateTransformRD
 

E

EF_PUBLISHERS - Static variable in class nl.tno.imb.TConnection
request event name filter: requesting publisher counts
EF_SUBSCRIBERS - Static variable in class nl.tno.imb.TConnection
request event name filter: requesting subscriber counts
EF_TIMERS - Static variable in class nl.tno.imb.TConnection
request event name filter: requesting timer counts
EK_BUFFER - Static variable in class nl.tno.imb.TEventEntry
event kind: buffer event
EK_CHANGE_OBJECT_DATA_EVENT - Static variable in class nl.tno.imb.TEventEntry
event kind: change object including changed data
EK_CHANGE_OBJECT_EVENT - Static variable in class nl.tno.imb.TEventEntry
event kind: change object
EK_CHILD_EVENT_ADD - Static variable in class nl.tno.imb.TEventEntry
event kind: a child event was created
EK_CHILD_EVENT_REMOVE - Static variable in class nl.tno.imb.TEventEntry
event kind: a child event was removed
EK_LOG_WRITELN - Static variable in class nl.tno.imb.TEventEntry
event kind: send a line to the log
EK_NORMAL_EVENT - Static variable in class nl.tno.imb.TEventEntry
event kind: normal event
EK_STREAM_BODY - Static variable in class nl.tno.imb.TEventEntry
event kind: body of a stream
EK_STREAM_HEADER - Static variable in class nl.tno.imb.TEventEntry
event kind: header of a stream
EK_STREAM_TAIL - Static variable in class nl.tno.imb.TEventEntry
event kind: end of a stream
EK_TIMER_ACKNOWLEDGE - Static variable in class nl.tno.imb.TEventEntry
event kind: acknowledge timer tick
EK_TIMER_ACKNOWLEDGE_LIST_ADD - Static variable in class nl.tno.imb.TEventEntry
event kind: add client to the acknowledge list of a timer
EK_TIMER_ACKNOWLEDGE_LIST_REMOVE - Static variable in class nl.tno.imb.TEventEntry
event kind: remove client from the acknowledge list of a timer
EK_TIMER_CANCEL - Static variable in class nl.tno.imb.TEventEntry
event kind: cancel/remove a running timer
EK_TIMER_PREPARE - Static variable in class nl.tno.imb.TEventEntry
event kind: reset a timer
EK_TIMER_SET_SPEED - Static variable in class nl.tno.imb.TEventEntry
event kind: set the relative speed of the timer
EK_TIMER_START - Static variable in class nl.tno.imb.TEventEntry
event kind: start or continue a timer
EK_TIMER_STATUS_REQUEST - Static variable in class nl.tno.imb.TEventEntry
event kind: request status update of a timer
EK_TIMER_STOP - Static variable in class nl.tno.imb.TEventEntry
event kind: stop a running timer
EK_TIMER_TICK - Static variable in class nl.tno.imb.TEventEntry
event kind: timer tick
EmptyTransformer() - Constructor for class org.opentrafficsim.imb.transceiver.urbanstrategy.SimulatorTransceiver.EmptyTransformer
 
EVENT_FILTER_POST_FIX - Static variable in class nl.tno.imb.TConnection
 
eventName - Variable in class nl.tno.imb.TConnection.TEventNameEntry
 

F

feventName - Variable in class nl.tno.imb.TEventEntry
 
finalize() - Method in class nl.tno.imb.TConnection
 
floatTransform(double, double) - Method in class org.opentrafficsim.imb.demo.N201IMB.CoordinateTransformRD
fparent - Variable in class nl.tno.imb.TEventEntry
 

G

generateCar(Length, Lane, GTUType) - Method in class org.opentrafficsim.imb.demo.RoadSimulationModelIMB
Generate cars at a fixed rate (implemented by re-scheduling this method).
get(Network) - Static method in class org.opentrafficsim.imb.demo.N201ODfactory
Creates origin-destination matrix
getAnimation() - Method in class org.opentrafficsim.imb.demo.CleverRadioButton
Retrieve the simulation.
getBuffer() - Method in class nl.tno.imb.TByteBuffer
Retrieve reference to internal byte buffer
getClientHandle() - Method in class nl.tno.imb.TConnection
Returns the client handle the hub assigned to this connection
getConnector() - Method in class org.opentrafficsim.imb.transceiver.AbstractTransceiver
Retrieve the IMB connector.
getConnector() - Method in interface org.opentrafficsim.imb.transceiver.Transceiver
Retrieve the IMB connector.
getEventContent() - Method in class org.opentrafficsim.imb.transceiver.IMBTransformResult
 
getEventEntry() - Method in enum org.opentrafficsim.imb.connector.Connector.IMBEventType
Return the corresponding integer IMB type.
getEventListener() - Method in class org.opentrafficsim.imb.transceiver.IMBTransformResult
 
getEventName() - Method in class nl.tno.imb.TEventEntry
Returns the fully qualified name of this event
getFederation() - Method in class nl.tno.imb.TConnection
Returns the current federation
getFederation() - Method in interface org.opentrafficsim.imb.connector.Connector
Return the federation name of the connection, e.g.
getFederation() - Method in class org.opentrafficsim.imb.connector.IMBConnector
Return the federation name of the connection, e.g.
getHost() - Method in interface org.opentrafficsim.imb.connector.Connector
Return the host of the connection, e.g.
getHost() - Method in class org.opentrafficsim.imb.connector.IMBConnector
Return the host of the connection, e.g.
getId() - Method in class org.opentrafficsim.imb.transceiver.AbstractTransceiver
Retrieve the id for the Transceiver channel, e.g.
getId() - Method in interface org.opentrafficsim.imb.transceiver.Transceiver
Retrieve the id for the Transceiver channel, e.g.
getIMBEventName() - Method in interface org.opentrafficsim.imb.transceiver.IMBMessageHandler
Return the IMB event name for which this hander is registered.
getIMBEventName() - Method in class org.opentrafficsim.imb.transceiver.PubSubIMBMessageHandler
Return the IMB event name for which this hander is registered.
getLength() - Method in class nl.tno.imb.TByteBuffer
length of the byte buffer in bytes
getLinger() - Method in class nl.tno.imb.TConnection
Returns the status of the linger option on the connected socket
getMinimumDistance() - Method in class org.opentrafficsim.imb.demo.RoadSimulationModelIMB
 
getModelId() - Method in interface org.opentrafficsim.imb.connector.Connector
Return the model id (owner id) of the connection, e.g.
getModelId() - Method in class org.opentrafficsim.imb.connector.IMBConnector
Return the model id (owner id) of the connection, e.g.
getModelName() - Method in interface org.opentrafficsim.imb.connector.Connector
Return the model name (owner name) of the connection, e.g.
getModelName() - Method in class org.opentrafficsim.imb.connector.IMBConnector
Return the model name (owner name) of the connection, e.g.
getNetwork() - Method in class org.opentrafficsim.imb.demo.RoadSimulationModelIMB
Retrieve the Network.
getNoDelay() - Method in class nl.tno.imb.TConnection
Returns the state of the NAGLE algorithm on the connected socket
getOwnerID() - Method in class nl.tno.imb.TConnection
Returns the currently specified owner id
getOwnerName() - Method in class nl.tno.imb.TConnection
Returns the currently specified owner name
getPath(int) - Method in class org.opentrafficsim.imb.demo.RoadSimulationModelIMB
 
getPlots() - Method in class org.opentrafficsim.imb.demo.RoadSimulationModelIMB
 
getPort() - Method in interface org.opentrafficsim.imb.connector.Connector
Return the port of the connection, e.g.
getPort() - Method in class org.opentrafficsim.imb.connector.IMBConnector
Return the port of the connection, e.g.
getQuery(OTSNetwork, Sampling) - Static method in class org.opentrafficsim.imb.demo.N201ODfactory
 
getReadAvailable() - Method in class nl.tno.imb.TByteBuffer
Retrieve the bytes that still can be read from the byte buffer
getReadCursor() - Method in class nl.tno.imb.TByteBuffer
Retrieve the current reading (cursor) position
getRemoteHost() - Method in class nl.tno.imb.TConnection
Returns the IP address or DNS name of the currently connected hub
getRemotePort() - Method in class nl.tno.imb.TConnection
Returns the TCP port of the currently connected hub
getShortEventName() - Method in class nl.tno.imb.TEventEntry
 
getSimulator() - Method in class org.opentrafficsim.imb.demo.N201IMB.N201Model
getSimulator() - Method in class org.opentrafficsim.imb.demo.RoadSimulationModelIMB
getSimulator() - Method in class org.opentrafficsim.imb.transceiver.AbstractTransceiver
Retrieve the simulator.
getUniqueClientID() - Method in class nl.tno.imb.TConnection
Returns the unique client id the hub assigned to this connection
getwriteAvailable() - Method in class nl.tno.imb.TByteBuffer
Returns the room still available in the byte buffer to write data to without reallocating memory.
getWriteCursor() - Method in class nl.tno.imb.TByteBuffer
Retrieve the current writing (cursor) position
GraphTransceiver - Class in org.opentrafficsim.imb.transceiver.urbanstrategy
OTS can publish graphs to IMB, e.g.
GraphTransceiver(Connector, SimpleSimulatorInterface, Network, int, int, AbstractOTSPlot, Duration) - Constructor for class org.opentrafficsim.imb.transceiver.urbanstrategy.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, OTSDEVSSimulatorInterface, OTSNetwork) - Constructor for class org.opentrafficsim.imb.transceiver.urbanstrategy.GTUTransceiver
Construct a new GTUTransceiver.
GTUTransceiver.GTUTransformerChange - Class in org.opentrafficsim.imb.transceiver.urbanstrategy
Transform the LaneBasedGTU.LANEBASED_MOVE_EVENT content to a corresponding IMB message.
GTUTransformerChange() - Constructor for class org.opentrafficsim.imb.transceiver.urbanstrategy.GTUTransceiver.GTUTransformerChange
 

H

handle(TByteBuffer) - Method in interface org.opentrafficsim.imb.transceiver.IMBMessageHandler
Handle an IMB payload for OTS.
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.
handleCommandOther(int, TByteBuffer) - Method in class nl.tno.imb.TConnection
 
handleEvent(TByteBuffer) - Method in class nl.tno.imb.TEventEntry
 
handleMessageFromIMB(String, TByteBuffer) - Method in class org.opentrafficsim.imb.transceiver.AbstractTransceiver
Handle an IMB message sent to OTS.
handleMessageFromIMB(String, TByteBuffer) - Method in interface org.opentrafficsim.imb.transceiver.Transceiver
Handle an IMB message sent to OTS.
handleSubAndPub(int) - Method in class nl.tno.imb.TEventEntry
 

I

IC_ALL_VARIABLES - Static variable in class nl.tno.imb.TEventEntry
 
IC_CREATE_TIMER - Static variable in class nl.tno.imb.TEventEntry
 
IC_END_OF_SESSION - Static variable in class nl.tno.imb.TEventEntry
 
IC_EVENT - Static variable in class nl.tno.imb.TEventEntry
 
IC_EVENT_NAMES - Static variable in class nl.tno.imb.TEventEntry
 
IC_HUB_FOUND - Static variable in class nl.tno.imb.TEventEntry
 
IC_HUB_LOCATE - Static variable in class nl.tno.imb.TEventEntry
 
IC_INVALID_COMMAND - Static variable in class nl.tno.imb.TEventEntry
 
IC_PUBLISH - Static variable in class nl.tno.imb.TEventEntry
 
IC_REQUEST_EVENT_NAMES - Static variable in class nl.tno.imb.TEventEntry
 
IC_SET_CLIENT_INFO - Static variable in class nl.tno.imb.TEventEntry
 
IC_SET_EVENT_ID_TRANSLATION - Static variable in class nl.tno.imb.TEventEntry
 
IC_SET_STATE - Static variable in class nl.tno.imb.TEventEntry
 
IC_SET_THROTTLE - Static variable in class nl.tno.imb.TEventEntry
 
IC_SET_VARIABLE - Static variable in class nl.tno.imb.TEventEntry
 
IC_SET_VARIABLE_PREFIXED - Static variable in class nl.tno.imb.TEventEntry
 
IC_SUBSCRIBE - Static variable in class nl.tno.imb.TEventEntry
 
IC_UNIQUE_CLIENT_ID - Static variable in class nl.tno.imb.TEventEntry
 
IC_UNPUBLISH - Static variable in class nl.tno.imb.TEventEntry
 
IC_UNSUBSCRIBE - Static variable in class nl.tno.imb.TEventEntry
 
ICE_CONNECTION_CLOSED - Static variable in class nl.tno.imb.TConnection
command result: the connection is closed
ICE_EVENT_NOT_PUBLISHED - Static variable in class nl.tno.imb.TConnection
command result: the event was not published
ID - Variable in class nl.tno.imb.TEventEntry
The local ID related to this event
imb2Compatible - Variable in class nl.tno.imb.TConnection
when true IMB2 features are used if possible to emulate IMB3 behavior
IMBChat - Class in org.opentrafficsim.imb.demo
Copyright (c) 2013-2016 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
IMBChat() - Constructor for class org.opentrafficsim.imb.demo.IMBChat
Create the window.
IMBConnector - Class in org.opentrafficsim.imb.connector
Make a connection to the IMB bus, allow messages to be posted, and register callbacks from IMB to OTS.
IMBConnector(String, int, String, int, String) - Constructor for class org.opentrafficsim.imb.connector.IMBConnector
Construct a new connection for sending events to IMB
imbConnector - Variable in class org.opentrafficsim.imb.demo.N201IMB.N201Model
Connector to the IMB hub.
imbConnector - Variable in class org.opentrafficsim.imb.demo.RoadSimulationModelIMB
Connector to the IMB hub.
IMBException - Exception in org.opentrafficsim.imb
The IMBException specifies problems with the connection to the IMB bus.
IMBException() - Constructor for exception org.opentrafficsim.imb.IMBException
Standard constructor for the IMBException specifying problems with the connection to the IMB bus.
IMBException(String) - Constructor for exception org.opentrafficsim.imb.IMBException
Standard constructor for the IMBException specifying problems with the connection to the IMB bus.
IMBException(Throwable) - Constructor for exception org.opentrafficsim.imb.IMBException
Standard constructor for the IMBException specifying problems with the connection to the IMB bus.
IMBException(String, Throwable) - Constructor for exception org.opentrafficsim.imb.IMBException
Standard constructor for the IMBException specifying problems with the connection to the IMB bus.
IMBException(String, Throwable, boolean, boolean) - Constructor for exception org.opentrafficsim.imb.IMBException
Standard constructor for the IMBException specifying problems with the connection to the IMB bus.
IMBMessageHandler - Interface in org.opentrafficsim.imb.transceiver
Handle a message received over IMB for OTS.
IMBSuperDemo - Class in org.opentrafficsim.imb.demo
Several demos in one application.
IMBSuperDemo() - Constructor for class org.opentrafficsim.imb.demo.IMBSuperDemo
 
IMBToOTSTransformer - Interface in org.opentrafficsim.imb.transceiver
Convert an event received over IMB to an equivalent event for OTS (DSOL).
imbTransceiverMap - Variable in class org.opentrafficsim.imb.connector.IMBConnector
Registration of callback ids from IMB to OTS.
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(Object, 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.
isConnected() - Method in class nl.tno.imb.TConnection
Returns the connected state of the connection
isEmpty() - Method in class nl.tno.imb.TByteBuffer
Check if the byte buffer is empty
isEmpty() - Method in class nl.tno.imb.TEventEntry
 
isPublished() - Method in class nl.tno.imb.TEventEntry
Returns true if this event is published
isSubscribed() - Method in class nl.tno.imb.TEventEntry
Returns true if this event is subscribed

L

LaneGTUTransceiver - Class in org.opentrafficsim.imb.transceiver.urbanstrategy
OTS publishes events about the lanes to IMB, e.g.
LaneGTUTransceiver(Connector, OTSDEVSSimulatorInterface, 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, OTSDEVSSimulatorInterface, OTSNetwork) - Constructor for class org.opentrafficsim.imb.transceiver.urbanstrategy.LinkGTUTransceiver
Construct a new LinkGTUTransceiver.
LocateServerURI(boolean, int, int) - Static method in class nl.tno.imb.TLocator
 
logWriteLn(String, String, TEventEntry.TLogLevel) - Method in class nl.tno.imb.TConnection
Log an entry to the framework
logWriteLn(String, TEventEntry.TLogLevel) - Method in class nl.tno.imb.TEventEntry
Send a line to the central framework log

M

MAGIC_BYTES - Static variable in class nl.tno.imb.TConnection
magic bytes to identify the start of a valid IMB packet
MAGIC_STRING_CHECK - Static variable in class nl.tno.imb.TConnection
magic bytes to identify the end of the payload on a valid IMB packet (as array of bytes)
main(String[]) - Static method in class org.opentrafficsim.imb.demo.CircularRoadIMB
Main program.
main(String[]) - Static method in class org.opentrafficsim.imb.demo.IMBChat
Start up the application.
main(String[]) - Static method in class org.opentrafficsim.imb.demo.IMBSuperDemo
Start the application.
main(String[]) - Static method in class org.opentrafficsim.imb.demo.N201IMB
Main program.
makeAnimationRectangle() - Method in class org.opentrafficsim.imb.demo.CircularRoadIMB
makeAnimationRectangle() - Method in class org.opentrafficsim.imb.demo.N201IMB
makeCharts(SimpleSimulatorInterface) - Method in class org.opentrafficsim.imb.demo.CircularRoadIMB
makeCharts(SimpleSimulatorInterface) - Method in class org.opentrafficsim.imb.demo.N201IMB
makeGeneratorsFromOD(OTSNetwork, ODMatrixTrips, OTSDEVSSimulatorInterface) - Static method in class org.opentrafficsim.imb.demo.N201ODfactory
Makes generators at origin nodes of the OD.
makeModel(GTUColorer) - Method in class org.opentrafficsim.imb.demo.CircularRoadIMB
makeModel(GTUColorer) - Method in class org.opentrafficsim.imb.demo.N201IMB
makePNG(AbstractOTSPlot) - Method in class org.opentrafficsim.imb.transceiver.urbanstrategy.GraphTransceiver
 
makePropertyEditor(AbstractProperty<?>) - Method in class org.opentrafficsim.imb.demo.IMBSuperDemo
Create a graphical editor for an AbstractProperty.
MAX_PAYLOAD_SIZE - Static variable in class nl.tno.imb.TConnection
The maximum size of the payload in a low level IMB command

N

N201IMB - Class in org.opentrafficsim.imb.demo
Copyright (c) 2013-2016 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
N201IMB() - Constructor for class org.opentrafficsim.imb.demo.N201IMB
 
N201IMB.CoordinateTransformRD - Class in org.opentrafficsim.imb.demo
Convert coordinates to/from the Dutch RD system.
N201IMB.N201Model - Class in org.opentrafficsim.imb.demo
Model to test the XML parser.
N201Model(ArrayList<AbstractProperty<?>>, GTUColorer, OTSNetwork) - Constructor for class org.opentrafficsim.imb.demo.N201IMB.N201Model
 
N201ODfactory - Class in org.opentrafficsim.imb.demo
Copyright (c) 2013-2016 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
N201ODfactory() - Constructor for class org.opentrafficsim.imb.demo.N201ODfactory
 
NetworkTransceiver - Class in org.opentrafficsim.imb.transceiver.urbanstrategy
IMB transceiver for the network.
NetworkTransceiver(Connector, OTSDEVSSimulatorInterface, OTSNetwork) - Constructor for class org.opentrafficsim.imb.transceiver.urbanstrategy.NetworkTransceiver
Construct a new NetworkTransceiver.
nl.tno.imb - package nl.tno.imb
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, OTSDEVSSimulatorInterface, 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

onBuffer - Variable in class nl.tno.imb.TEventEntry
Handler to be called on receive of a buffer event
onChangeFederation - Variable in class nl.tno.imb.TEventEntry
Handler to be called on receive of a federation change event
onChangeObject - Variable in class nl.tno.imb.TEventEntry
Handler to be called on receive of a change object event
onChangeObjectData - Variable in class nl.tno.imb.TEventEntry
Handler to be called on receive of a change object with data event
onChildEvent - Variable in class nl.tno.imb.TEventEntry
Handler to be called on receive of a child add/remove event
onDisconnect - Variable in class nl.tno.imb.TConnection
Handler to be called on a disconnect
onEventNames - Variable in class nl.tno.imb.TConnection
Handler to be called on a event names request callback
onFocus - Variable in class nl.tno.imb.TEventEntry
Handler to be called on receive of a focus event
onNormalEvent - Variable in class nl.tno.imb.TEventEntry
Handler to be called on receive of a normal event
onOtherEvent - Variable in class nl.tno.imb.TEventEntry
Handler to be called on receive of an unhandled event
onStreamCreate - Variable in class nl.tno.imb.TEventEntry
Handler to be called on receive of a stream header event
onStreamEnd - Variable in class nl.tno.imb.TEventEntry
Handler to be called on receive of a stream tail event
onSubAndPub - Variable in class nl.tno.imb.TConnection
 
onSubAndPub - Variable in class nl.tno.imb.TEventEntry
 
onTimerCmd - Variable in class nl.tno.imb.TEventEntry
Handler to be called on receive of a timer command reset/start/stop
onTimerTick - Variable in class nl.tno.imb.TEventEntry
Handler to be called on receive of a timer tick event
open(String, int) - Method in class nl.tno.imb.TConnection
 
open(String, int, boolean) - Method in class nl.tno.imb.TConnection
 
org.opentrafficsim.imb - package org.opentrafficsim.imb
Generic classes for the IMB message bus classes, linking to the nl.tno.imb classes.
org.opentrafficsim.imb.connector - package org.opentrafficsim.imb.connector
The connector classes to link OTS and IMB.
org.opentrafficsim.imb.demo - package org.opentrafficsim.imb.demo
Demonstrations of the Open Traffic Simulator with IMB communication.
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-2016 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.
OTSToIMBTransformer - Interface in org.opentrafficsim.imb.transceiver
Convert an OTS/DSOL event received to an equivalent event for IMB.

P

peekBoolean(int) - Method in class nl.tno.imb.TByteBuffer
Read a boolean from the byte buffer at an offset to the read cursor without advancing the read cursor.
peekBoolean(int, boolean) - Method in class nl.tno.imb.TByteBuffer
Read a boolean from the byte buffer at an offset to the read cursor without advancing the read cursor.
peekByte(int) - Method in class nl.tno.imb.TByteBuffer
Read a byte from the byte buffer at an offset to the read cursor without advancing the read cursor.
peekByte(int, byte) - Method in class nl.tno.imb.TByteBuffer
Read a byte from the byte buffer at an offset to the read cursor without advancing the read cursor.
peekDouble(int) - Method in class nl.tno.imb.TByteBuffer
Read a double from the byte buffer at an offset to the read cursor without advancing the read cursor.
peekDouble(int, double) - Method in class nl.tno.imb.TByteBuffer
Read a double from the byte buffer at an offset to the read cursor without advancing the read cursor.
peekInt32(int) - Method in class nl.tno.imb.TByteBuffer
Read an 32 bit integer from the byte buffer at an offset to the read cursor without advancing the read cursor.
peekInt32(int, int) - Method in class nl.tno.imb.TByteBuffer
Read an 32 bit integer from the byte buffer at an offset to the read cursor without advancing the read cursor.
peekInt64(int) - Method in class nl.tno.imb.TByteBuffer
Read an 64 bit integer (long) from the byte buffer at an offset to the read cursor without advancing the read cursor.
peekInt64(int, long) - Method in class nl.tno.imb.TByteBuffer
Read an 64 bit integer (long) from the byte buffer at an offset to the read cursor without advancing the read cursor.
peekSingle(int) - Method in class nl.tno.imb.TByteBuffer
Read a single (32 bit float) from the byte buffer at an offset to the read cursor without advancing the read cursor.
peekSingle(int, float) - Method in class nl.tno.imb.TByteBuffer
Read a single (32 bit float) from the byte buffer at an offset to the read cursor without advancing the read cursor.
peekString(int) - Method in class nl.tno.imb.TByteBuffer
Read a string from the byte buffer at an offset to the read cursor without advancing the read cursor.
peekString(int, String) - Method in class nl.tno.imb.TByteBuffer
Read a string from the byte buffer at an offset to the read cursor without advancing the read cursor.
postIMBMessage(String, Connector.IMBEventType, Object[]) - Method in interface org.opentrafficsim.imb.connector.Connector
Compose a message containing the specified objects and send it to recipients.
postIMBMessage(String, Connector.IMBEventType, Object[]) - Method in class org.opentrafficsim.imb.connector.IMBConnector
Compose a message containing the specified objects and send it to recipients.
prefixFederation(String) - Method in class nl.tno.imb.TConnection
 
prefixFederation(String, boolean) - Method in class nl.tno.imb.TConnection
 
prepare(boolean) - Method in class nl.tno.imb.TByteBuffer
Prepares the byte buffer for later writing of a boolean.
prepare(byte) - Method in class nl.tno.imb.TByteBuffer
Prepares the byte buffer for later writing of a byte.
prepare(int) - Method in class nl.tno.imb.TByteBuffer
Prepares the byte buffer for later writing of an 32 bit integer.
prepare(long) - Method in class nl.tno.imb.TByteBuffer
Prepares the byte buffer for later writing of an 64 bit integer (long).
prepare(float) - Method in class nl.tno.imb.TByteBuffer
Prepares the byte buffer for later writing of a 32 bit single (float).
prepare(double) - Method in class nl.tno.imb.TByteBuffer
Prepares the byte buffer for later writing of a double.
prepare(String) - Method in class nl.tno.imb.TByteBuffer
Prepares the byte buffer for later writing of a string.
prepare(byte[]) - Method in class nl.tno.imb.TByteBuffer
Prepares the byte buffer for later writing of a byte array (without size).
prepare(TByteBuffer) - Method in class nl.tno.imb.TByteBuffer
Prepares the byte buffer for later writing of an other byte buffers readable data.
prepareApply() - Method in class nl.tno.imb.TByteBuffer
Adjusts the length of the byte buffer to accommodate at a minimum all prepared data
prepareApplyAndTrim() - Method in class nl.tno.imb.TByteBuffer
Adjusts the length of the byte buffer to accommodate exactly all prepared data
prepareSize(int) - Method in class nl.tno.imb.TByteBuffer
Prepares the byte buffer for later writing of the specified number of bytes.
prepareStart() - Method in class nl.tno.imb.TByteBuffer
Start prepare sequence.
PROPERTY_KEY - Static variable in class org.opentrafficsim.imb.connector.OTSIMBConnector
Key for compound property with IMB settings.
publish(String) - Method in class nl.tno.imb.TConnection
Publishes on the specified event
publish(String, boolean) - Method in class nl.tno.imb.TConnection
Publishes on the specified event
publish() - Method in class nl.tno.imb.TEventEntry
 
publishers - Variable in class nl.tno.imb.TConnection.TEventNameEntry
 
publishers() - Method in class nl.tno.imb.TEventEntry
 
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, OTSDEVSSimulatorInterface) - Constructor for class org.opentrafficsim.imb.transceiver.PubSubIMBMessageHandler
Construct a new PubSubIMBMessageHandler.

Q

qReadBoolean() - Method in class nl.tno.imb.TByteBuffer
Read a boolean from the byte buffer without any checks
qReadByte() - Method in class nl.tno.imb.TByteBuffer
Read a byte from the byte buffer without any checks
qReadByteBuffer() - Method in class nl.tno.imb.TByteBuffer
Read a byte buffer this byte buffer without any checks Read size and data and store as a whole WITHOUT size (size=length buffer)
qReadDouble(double) - Method in class nl.tno.imb.TByteBuffer
Read a double from the byte buffer without any checks
qReadInt32() - Method in class nl.tno.imb.TByteBuffer
Read an 32 bit integer from the byte buffer without any checks
qReadInt64() - Method in class nl.tno.imb.TByteBuffer
Read an 64 bit integer from the byte buffer without any checks
qReadSingle() - Method in class nl.tno.imb.TByteBuffer
Read a single (32 bit float) from the byte buffer without any checks
qReadString(String) - Method in class nl.tno.imb.TByteBuffer
Read a string from the byte buffer without any checks
qWrite(boolean) - Method in class nl.tno.imb.TByteBuffer
write a boolean to the buffer; the QWrite methods do not check for room in the buffer
qWrite(byte) - Method in class nl.tno.imb.TByteBuffer
write a single byte to the buffer; the QWrite methods do not check for room in the buffer
qWrite(int) - Method in class nl.tno.imb.TByteBuffer
write a single integer (32 bit) to the buffer; the QWrite methods do not check for room in the buffer
qWrite(long) - Method in class nl.tno.imb.TByteBuffer
write a single integer (64 bit) to the buffer; the QWrite methods do not check for room in the buffer
qWrite(float) - Method in class nl.tno.imb.TByteBuffer
write a single float (32 bit) to the buffer; the QWrite methods do not check for room in the buffer
qWrite(double) - Method in class nl.tno.imb.TByteBuffer
write a single double (64 bit) to the buffer; the QWrite methods do not check for room in the buffer
qWrite(String) - Method in class nl.tno.imb.TByteBuffer
Write a string to the buffer, prefixed with the size as a 32 bit integer.
qWrite(byte[]) - Method in class nl.tno.imb.TByteBuffer
write array of byte WITHOUT size; the QWrite methods do not check for room in the buffer
qWrite(TByteBuffer) - Method in class nl.tno.imb.TByteBuffer
write, with no checking, all readable data from the given byte buffer to this prefixed WITH size

R

readBoolean() - Method in class nl.tno.imb.TByteBuffer
Read a boolean from the byte buffer
readBoolean(boolean) - Method in class nl.tno.imb.TByteBuffer
Read a boolean from the byte buffer
readByte() - Method in class nl.tno.imb.TByteBuffer
Read a byte from the byte buffer
readByte(byte) - Method in class nl.tno.imb.TByteBuffer
Read a byte from the byte buffer
readByteBuffer() - Method in class nl.tno.imb.TByteBuffer
Read new byte buffer contents from this byte buffer.
readByteBuffer(TByteBuffer) - Method in class nl.tno.imb.TByteBuffer
Read size and data and store as a whole WITHOUT size (size=length buffer)
readCommandsNonBlocking() - Method in class nl.tno.imb.TConnection
Manually reading commands when not using a reader thread.
readCommandsNonThreaded(int) - Method in class nl.tno.imb.TConnection
Manually reading commands when not using a reader thread.
readDouble() - Method in class nl.tno.imb.TByteBuffer
Read a double float from the byte buffer
readDouble(double) - Method in class nl.tno.imb.TByteBuffer
Read a double float from the byte buffer
readInt32() - Method in class nl.tno.imb.TByteBuffer
Read an integer (32 bit) from the byte buffer
readInt32(int) - Method in class nl.tno.imb.TByteBuffer
Read an integer (32 bit) from the byte buffer
readInt64() - Method in class nl.tno.imb.TByteBuffer
Read an integer (64 bit) from the byte buffer
readInt64(long) - Method in class nl.tno.imb.TByteBuffer
Read an integer (64 bit) from the byte buffer
readRest() - Method in class nl.tno.imb.TByteBuffer
Read all data available from the read cursor
readRestToByteBuffer() - Method in class nl.tno.imb.TByteBuffer
Read all data available from the read cursor in this byte buffer to a newly created byte buffer
readSingle() - Method in class nl.tno.imb.TByteBuffer
Read a single float from the byte buffer
readSingle(float) - Method in class nl.tno.imb.TByteBuffer
Read a single float from the byte buffer
ReadStart() - Method in class nl.tno.imb.TByteBuffer
Reset the reading cursor
readString() - Method in class nl.tno.imb.TByteBuffer
Read a string from the byte buffer.
readString(String) - Method in class nl.tno.imb.TByteBuffer
Read a string from the byte buffer.
rebuildPropertyPanel(ArrayList<AbstractProperty<?>>) - Method in class org.opentrafficsim.imb.demo.IMBSuperDemo
Regenerate the contents of the propertyPanel.
register(String, Transceiver) - Method in interface org.opentrafficsim.imb.connector.Connector
Register the transceiver as the interested party when an IMB message identified by the imbEventName is received.
register(String, Transceiver) - Method in class org.opentrafficsim.imb.connector.IMBConnector
Register the transceiver as the interested party when an IMB message identified by the imbEventName is received.
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.
removeStatus() - Method in class nl.tno.imb.TConnection
Removes the current status for this client
requestAllVariables() - Method in class nl.tno.imb.TConnection
Send a request to the framework to send all variables with their contents to this client
requestEventname(String, int) - Method in class nl.tno.imb.TConnection
Query the framework for registered event names
RoadSimulationModelIMB - Class in org.opentrafficsim.imb.demo
Simulate traffic on a circular, two-lane road.
RoadSimulationModelIMB(ArrayList<AbstractProperty<?>>, GTUColorer, OTSNetwork) - Constructor for class org.opentrafficsim.imb.demo.RoadSimulationModelIMB
 
RoadSimulationModelIMB.SimpleSilentSensor - Class in org.opentrafficsim.imb.demo
Simple sensor that does not provide output, but is drawn on the Lanes.

S

Send() - Method in class org.opentrafficsim.imb.demo.IMBChat
Send the message in the editMessage buffer to the IMB hub and clear the editMessage buffer.
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, OTSDEVSSimulatorInterface, OTSNetwork) - Constructor for class org.opentrafficsim.imb.transceiver.urbanstrategy.SensorGTUTransceiver
Construct a new SensorGTUTransceiver.
setFederation(String) - Method in class nl.tno.imb.TConnection
Set the current federation.
setLinger(boolean) - Method in class nl.tno.imb.TConnection
Sets the status of the linger option on the connected socket
setNoDelay(boolean) - Method in class nl.tno.imb.TConnection
Sets the state of the NAGLE algorithm on the socket
setOnStatusUpdate(TConnection.TOnStatusUpdate) - Method in class nl.tno.imb.TConnection
Set the callback handler for status updates
setOnVariable(TConnection.TOnVariable) - Method in class nl.tno.imb.TConnection
Set the callback handler for framework variable changes
setOwnerID(int) - Method in class nl.tno.imb.TConnection
Changes the owner id
setOwnerName(String) - Method in class nl.tno.imb.TConnection
Changes the owner name
setState(TConnection.TConnectionState) - Method in class nl.tno.imb.TConnection
 
setThrottle(int) - Method in class nl.tno.imb.TConnection
Throttle down buffer events send to this client if specific flags are set on events
setVariableValue(String, String) - Method in class nl.tno.imb.TConnection
Set the value of a global framework variable
setVariableValue(String, TByteBuffer) - Method in class nl.tno.imb.TConnection
Set the value of a global framework variable
setVariableValue(String, String, TConnection.TVarPrefix) - Method in class nl.tno.imb.TConnection
Set the value of a global framework variable
setVariableValue(String, TByteBuffer, TConnection.TVarPrefix) - Method in class nl.tno.imb.TConnection
Set the value of a global framework variable
shiftLeftOneByte(byte) - Method in class nl.tno.imb.TByteBuffer
Shift all bytes in the byte buffer to the left and insert a new byte to the right (end of byte buffer)
shortName() - Method in class org.opentrafficsim.imb.demo.CircularRoadIMB
shortName() - Method in class org.opentrafficsim.imb.demo.N201IMB
signalBuffer(String, int, byte[]) - Method in class nl.tno.imb.TConnection
Send a buffer event to the framework.
signalBuffer(String, int, byte[], int, boolean) - Method in class nl.tno.imb.TConnection
Send a buffer event to the framework.
signalBuffer(int, byte[]) - Method in class nl.tno.imb.TEventEntry
Send a buffer event to the framework
signalBuffer(int, byte[], int) - Method in class nl.tno.imb.TEventEntry
Send a buffer event to the framework
signalChangeFederation(int, String) - Method in class nl.tno.imb.TConnection
Signal a new federation to the framework
signalChangeObject(String, int, int, String) - Method in class nl.tno.imb.TConnection
Send a ChangeObject event to the framework This is the simple way to send events.
signalChangeObject(String, int, int, String, boolean) - Method in class nl.tno.imb.TConnection
Send a ChangeObject event to the framework This is the simple way to send events.
signalChangeObject(int, int, String) - Method in class nl.tno.imb.TEventEntry
Send a change object event to the framework
signalEvent(String, int, TByteBuffer) - Method in class nl.tno.imb.TConnection
Send an event to the framework.
signalEvent(String, int, TByteBuffer, boolean) - Method in class nl.tno.imb.TConnection
Send an event to the framework.
signalEvent(int, byte[]) - Method in class nl.tno.imb.TEventEntry
Send an event to the framework
signalFocus(double, double) - Method in class nl.tno.imb.TConnection
Signal a new focus point to the framework
signalStream(String, String, InputStream) - Method in class nl.tno.imb.TConnection
Send a stream to the framework
signalStream(String, String, InputStream, boolean) - Method in class nl.tno.imb.TConnection
Send a stream to the framework
signalStream(String, InputStream) - Method in class nl.tno.imb.TEventEntry
Send a stream to the framework
SimpleSilentSensor(String, Lane, Length, RelativePosition.TYPE, OTSDEVSSimulatorInterface) - Constructor for class org.opentrafficsim.imb.demo.RoadSimulationModelIMB.SimpleSilentSensor
 
simulationSelection - Variable in class org.opentrafficsim.imb.demo.IMBSuperDemo
The JPanel that holds the simulation selection radio buttons.
SimulatorTransceiver - Class in org.opentrafficsim.imb.transceiver.urbanstrategy
The SimulatorTranseiver sends and listens to start, stop and change speed messages.
SimulatorTransceiver(Connector, OTSDEVSSimulatorInterface) - Constructor for class org.opentrafficsim.imb.transceiver.urbanstrategy.SimulatorTransceiver
Construct a new SimulatorTransceiver.
SimulatorTransceiver.EmptyTransformer - Class in org.opentrafficsim.imb.transceiver.urbanstrategy
Transform the an event without content to a corresponding IMB message.
SimulatorTransceiver.SpeedTransformer - Class in org.opentrafficsim.imb.transceiver.urbanstrategy
Transform the a simulation speed change event to a corresponding IMB message.
Event is sent from OTS to IMB to indicate that the OTS simulation has changed the intended execution speed (there is, however, no guarantee that the simulator is able to reach that particular speed).
SIZE_OF_BOOLEAN - Static variable in class nl.tno.imb.TByteBuffer
uncompressed size of boolean within IMB framework
SIZE_OF_BYTE - Static variable in class nl.tno.imb.TByteBuffer
uncompressed size of byte within IMB framework
SIZE_OF_DOUBLE - Static variable in class nl.tno.imb.TByteBuffer
uncompressed size of double within IMB framework
SIZE_OF_INT32 - Static variable in class nl.tno.imb.TByteBuffer
uncompressed size of 32 bit integer within IMB framework
SIZE_OF_INT64 - Static variable in class nl.tno.imb.TByteBuffer
uncompressed size of 64 bit integer within IMB framework
SIZE_OF_SINGLE - Static variable in class nl.tno.imb.TByteBuffer
uncompressed size of single within IMB framework
skipReading(int) - Method in class nl.tno.imb.TByteBuffer
Skip the specified amount of bytes for reading Advances the read cursor the specified amount of bytes
SpeedTransformer() - Constructor for class org.opentrafficsim.imb.transceiver.urbanstrategy.SimulatorTransceiver.SpeedTransformer
 
standardIMBProperties(int) - Static method in class org.opentrafficsim.imb.connector.OTSIMBConnector
Create a CompoundProperty with the settings for an IMB connection.
StatisticsGTULaneTransceiver - 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, SimpleSimulatorInterface, Network, Query, Duration) - Constructor for class org.opentrafficsim.imb.transceiver.urbanstrategy.StatisticsGTULaneTransceiver
Construct a new StatisticsGTULaneTransceiver.
STATUS_BUSY - Static variable in class nl.tno.imb.TConnection
signal client status: busy (see updateStatus)
STATUS_CALCULATING - Static variable in class nl.tno.imb.TConnection
signal client status: calculating (see updateStatus)
STATUS_READY - Static variable in class nl.tno.imb.TConnection
signal client status: ready (see updateStatus)
stopSimulator(OTSDEVSSimulatorInterface, String) - Method in class org.opentrafficsim.imb.demo.RoadSimulationModelIMB
Stop simulation and throw an Error.
stopTimersThreads() - Method in class org.opentrafficsim.imb.demo.CircularRoadIMB
stopTimersThreads() - Method in class org.opentrafficsim.imb.demo.N201IMB
subscribe(String) - Method in class nl.tno.imb.TConnection
Subscribe to the specified event
subscribe(String, boolean) - Method in class nl.tno.imb.TConnection
Subscribe to the specified event
subscribe() - Method in class nl.tno.imb.TEventEntry
 
subscribeOnFederationChange(TEventEntry.TOnChangeFederation) - Method in class nl.tno.imb.TConnection
Subscribe to federation change events and register the callback handler for these events
subscribeOnFocus(TEventEntry.TOnFocus) - Method in class nl.tno.imb.TConnection
Subscribe to focus events and registers the callback handler for these events.
subscribers - Variable in class nl.tno.imb.TConnection.TEventNameEntry
 
subscribers() - Method in class nl.tno.imb.TEventEntry
 

T

TByteBuffer - Class in nl.tno.imb
General buffer for use within the IMB framework to standardize byte order and data exchange.
IMB is always little-endian within the framework (and over the network).
TByteBuffer(int) - Constructor for class nl.tno.imb.TByteBuffer
Constructor: create byte buffer of the specified length
TByteBuffer() - Constructor for class nl.tno.imb.TByteBuffer
Constructor: create empty byte buffer
TByteBuffer(byte[]) - Constructor for class nl.tno.imb.TByteBuffer
Constructor: create byte buffer as copy of the specified byte array
TConnection - Class in nl.tno.imb
The connection to the framework and starting point to use IMB.
TConnection(String, int, String, int, String) - Constructor for class nl.tno.imb.TConnection
Create an IMB connection to the framework
TConnection(String, int, String, int, String, boolean) - Constructor for class nl.tno.imb.TConnection
Create an IMB connection to the framework
TConnection.TConnectionState - Enum in nl.tno.imb
 
TConnection.TEventNameEntry - Class in nl.tno.imb
returned object (array) on an event name list query
TConnection.TOnDisconnect - Interface in nl.tno.imb
Override dispatch to implement a disconnect handler
TConnection.TOnEventnames - Interface in nl.tno.imb
Override dispatch to implement an event names request callback handler
TConnection.TOnStatusUpdate - Interface in nl.tno.imb
Override dispatch to implement a status change handler
TConnection.TOnSubAndPub - Interface in nl.tno.imb
 
TConnection.TOnVariable - Interface in nl.tno.imb
Override dispatch to implement a variable change handler
TConnection.TVarPrefix - Enum in nl.tno.imb
 
TEventEntry - Class in nl.tno.imb
This class implements the events that can be send and received over the IMB framework.
Handlers can be attached to events that get called when specified events are received.
TEventEntry(TConnection, int, String) - Constructor for class nl.tno.imb.TEventEntry
 
TEventEntry.TLogLevel - Enum in nl.tno.imb
defines the type of log entry to send
TEventEntry.TOnBuffer - Interface in nl.tno.imb
Override dispatch to implement a buffer event handler
TEventEntry.TOnChangeFederation - Interface in nl.tno.imb
Override dispatch to implement a federation change handler
TEventEntry.TOnChangeObject - Interface in nl.tno.imb
Override dispatch to implement a change object event handler
TEventEntry.TOnChangeObjectData - Interface in nl.tno.imb
Override dispatch to implement a change object data event handler
TEventEntry.TOnChildEvent - Interface in nl.tno.imb
Override dispatch to implement a handler for hub child event creation events
TEventEntry.TOnFocus - Interface in nl.tno.imb
Override dispatch to implement a focus event handler
TEventEntry.TOnNormalEvent - Interface in nl.tno.imb
Override dispatch to implement a normal event handler
TEventEntry.TOnOtherEvent - Interface in nl.tno.imb
Override dispatch to implement a event handler for non-standard events
TEventEntry.TOnStreamCreate - Interface in nl.tno.imb
Override dispatch to implement a handler of received streams, creating the local stream
TEventEntry.TOnStreamEnd - Interface in nl.tno.imb
Override dispatch to implement a handler of received streams, action on end of stream
TEventEntry.TOnSubAndPubEvent - Interface in nl.tno.imb
 
TEventEntry.TOnTimerCmd - Interface in nl.tno.imb
Override dispatch to implement a timer command handler for commands reset/start/stop
TEventEntry.TOnTimerTick - Interface in nl.tno.imb
Override dispatch to implement a timer tick handler
TEventNameEntry() - Constructor for class nl.tno.imb.TConnection.TEventNameEntry
 
timerAcknowledge(String, String, int) - Method in class nl.tno.imb.TEventEntry
Acknowledge a timer tick.
All clients on the timer acknowledge list must send an acknowledge on each timer tick for the timer to advance.
timerAcknowledgeAdd(String, String) - Method in class nl.tno.imb.TEventEntry
Add a client name to the acknowledge list of a timer.
All entries in this list must send an acknowledge on each timer tick for the timer to advance.
timerAcknowledgeRemove(String, String) - Method in class nl.tno.imb.TEventEntry
Remove a client name from the acknowledge list of a timer.
All entries in this list must send an acknowledge on each timer tick for the timer to advance.
timerCancel(String) - Method in class nl.tno.imb.TEventEntry
Cancel a running timer; the timer is destroyed.
timerCreate(String, long, int, double) - Method in class nl.tno.imb.TEventEntry
Create a timer on the connected HUB
timerCreate(String, long, int, double, int) - Method in class nl.tno.imb.TEventEntry
Create a timer on the connected HUB
timerPrepare(String) - Method in class nl.tno.imb.TEventEntry
Prepare a timer; the timer is stopped and reset to an initial state
timers - Variable in class nl.tno.imb.TConnection.TEventNameEntry
 
timerSetSpeed(String, double) - Method in class nl.tno.imb.TEventEntry
Set the relative running speed of the timer
timerStart(String) - Method in class nl.tno.imb.TEventEntry
Start or continue the timer
timerStop(String) - Method in class nl.tno.imb.TEventEntry
Stop or pause the timer
TLocator - Class in nl.tno.imb
 
TLocator() - Constructor for class nl.tno.imb.TLocator
 
toString() - Method in class nl.tno.imb.TConnection
toString() - Method in class org.opentrafficsim.imb.connector.IMBConnector
toString() - Method in class org.opentrafficsim.imb.demo.N201IMB.CoordinateTransformRD
toString() - Method in class org.opentrafficsim.imb.demo.N201IMB.N201Model
toString() - Method in class org.opentrafficsim.imb.demo.N201IMB
toString() - Method in class org.opentrafficsim.imb.demo.RoadSimulationModelIMB.SimpleSilentSensor
toString() - Method in class org.opentrafficsim.imb.transceiver.AbstractTransceiver
Transceiver - Interface in org.opentrafficsim.imb.transceiver
Relay events between IMB domain and DSOL domain.
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.
transform(EventInterface) - Method in class org.opentrafficsim.imb.transceiver.urbanstrategy.GTUTransceiver.GTUTransformerChange
Transform an IMB payload to an OTS (DSOL) event.
transform(EventInterface) - Method in class org.opentrafficsim.imb.transceiver.urbanstrategy.SimulatorTransceiver.EmptyTransformer
Transform an IMB payload to an OTS (DSOL) event.
transform(EventInterface) - Method in class org.opentrafficsim.imb.transceiver.urbanstrategy.SimulatorTransceiver.SpeedTransformer
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.
TRC_INFINITE - Static variable in class nl.tno.imb.TEventEntry
no limit on the number of timer events to send
triggerResponse(LaneBasedGTU) - Method in class org.opentrafficsim.imb.demo.RoadSimulationModelIMB.SimpleSilentSensor

U

unPublish(String) - Method in class nl.tno.imb.TConnection
Unpublish on the specified event.
unPublish(String, boolean) - Method in class nl.tno.imb.TConnection
Unpublish on the specified event.
unPublish(boolean) - Method in class nl.tno.imb.TEventEntry
 
unSubscribe(String) - Method in class nl.tno.imb.TConnection
Unsubscribe from the specified event
unSubscribe(String, boolean) - Method in class nl.tno.imb.TConnection
Unsubscribe from the specified event
unSubscribe(boolean) - Method in class nl.tno.imb.TEventEntry
 
updateStatus(int, int) - Method in class nl.tno.imb.TConnection
Update the central status for this client

V

value - Variable in enum nl.tno.imb.TConnection.TConnectionState
 
valueOf(String) - Static method in enum nl.tno.imb.TConnection.TConnectionState
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum nl.tno.imb.TConnection.TVarPrefix
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum nl.tno.imb.TEventEntry.TLogLevel
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.opentrafficsim.imb.connector.Connector.IMBEventType
Returns the enum constant of this type with the specified name.
values() - Static method in enum nl.tno.imb.TConnection.TConnectionState
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum nl.tno.imb.TConnection.TVarPrefix
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum nl.tno.imb.TEventEntry.TLogLevel
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.opentrafficsim.imb.connector.Connector.IMBEventType
Returns an array containing the constants of this enum type, in the order they are declared.

W

write(boolean) - Method in class nl.tno.imb.TByteBuffer
Write the specified boolean to the byte buffer.
write(byte) - Method in class nl.tno.imb.TByteBuffer
Write the specified byte to the byte buffer.
write(int) - Method in class nl.tno.imb.TByteBuffer
Write the specified 32 bit integer to the byte buffer.
write(long) - Method in class nl.tno.imb.TByteBuffer
Write the specified 64 bit integer (long) to the byte buffer.
write(float) - Method in class nl.tno.imb.TByteBuffer
Write the specified single (float) to the byte buffer.
write(double) - Method in class nl.tno.imb.TByteBuffer
Write the specified double to the byte buffer.
write(String) - Method in class nl.tno.imb.TByteBuffer
Write the specified string to the byte buffer in UTF-8 format.
write(byte[]) - Method in class nl.tno.imb.TByteBuffer
Write the specified byte array WITHOUT the size to the byte buffer.
write(TByteBuffer) - Method in class nl.tno.imb.TByteBuffer
Write the readable data in the specified byte buffer to this byte buffer.
writeApply() - Method in class nl.tno.imb.TByteBuffer
apply written data (trim extra buffer space)
writeCommand(int, byte[]) - Method in class nl.tno.imb.TConnection
Write a single command to the framework
writeStart(int) - Method in class nl.tno.imb.TByteBuffer
Start writing at the specified 0-based index.
written(int) - Method in class nl.tno.imb.TByteBuffer
signal number of bytes directly written to buffer without using class methods update write cursor and return if it fitted into buffer (should trigger exception ?)
A B C D E F G H I L M N O P Q R S T U V W 
Skip navigation links

Copyright © 2014–2016 Delft University of Technology. All rights reserved.