Skip navigation links
A C D E F G L M N P R S T U W _ 

A

available() - Method in class lcm.lcm.LCMDataInputStream
 

C

channel - Variable in class lcm.lcm.MessageAggregator.Message
Channel on which the message was received.
channel - Variable in class lcm.logging.Log.Event
Channel on which the message was received.
close() - Method in class lcm.lcm.LCM
Call this function to release all resources used by the LCM instance.
close() - Method in class lcm.lcm.LCMDataInputStream
 
close() - Method in class lcm.logging.Log
Closes the log file and releases and system resources used by it.

D

data - Variable in class lcm.lcm.MessageAggregator.Message
The raw data bytes of the message body.
data - Variable in class lcm.logging.Log.Event
Raw data bytes of the message body.

E

encode(DataOutput) - Method in interface lcm.lcm.LCMEncodable
Invoked by LCM.
Event() - Constructor for class lcm.logging.Log.Event
 
eventNumber - Variable in class lcm.logging.Log.Event
Event number assigned to the message in the log file.

F

flush() - Method in class lcm.logging.Log
Flush any unwritten data to the underlying file descriptor.

G

getBuffer() - Method in class lcm.lcm.LCMDataInputStream
Returns the internal buffer representation.
getBuffer() - Method in class lcm.lcm.LCMDataOutputStream
Returns the internal buffer, which may be longer than the buffer that has been written to so far.
getBufferOffset() - Method in class lcm.lcm.LCMDataInputStream
Returns the current position in the internal buffer representation.
getMaxBufferSize() - Method in class lcm.lcm.MessageAggregator
Retrieves the maximum amount of memory that will be used to store messages.
getMaxMessages() - Method in class lcm.lcm.MessageAggregator
Retrieves the maximum number of unretrieved message that will be queued up by the aggregator.
getNextMessage(long) - Method in class lcm.lcm.MessageAggregator
Attempt to retrieve the next received LCM message.
getNextMessage() - Method in class lcm.lcm.MessageAggregator
Retrieves the next message, waiting if necessary.
getNumSubscriptions() - Method in class lcm.lcm.LCM
Return the number of subscriptions.
getPath() - Method in class lcm.logging.Log
Retrieves the path to the log file.
getPositionFraction() - Method in class lcm.logging.Log
 
getSingleton() - Static method in class lcm.lcm.LCM
Retrieve a default instance of LCM using either the environment variable LCM_DEFAULT_URL or the default.

L

LCM - Class in lcm.lcm
Lightweight Communications and Marshalling Java implementation
LCM(String...) - Constructor for class lcm.lcm.LCM
Create a new LCM object, connecting to one or more URLs.
lcm.lcm - package lcm.lcm
 
lcm.logging - package lcm.logging
 
LCMDataInputStream - Class in lcm.lcm
Will not throw EOF.
LCMDataInputStream(byte[]) - Constructor for class lcm.lcm.LCMDataInputStream
 
LCMDataInputStream(byte[], int, int) - Constructor for class lcm.lcm.LCMDataInputStream
 
LCMDataOutputStream - Class in lcm.lcm
 
LCMDataOutputStream() - Constructor for class lcm.lcm.LCMDataOutputStream
 
LCMDataOutputStream(int) - Constructor for class lcm.lcm.LCMDataOutputStream
 
LCMDataOutputStream(byte[]) - Constructor for class lcm.lcm.LCMDataOutputStream
 
LCMEncodable - Interface in lcm.lcm
A message which can be easily sent using LCM.
LCMSubscriber - Interface in lcm.lcm
A class which listens for messages on a particular channel.
Log - Class in lcm.logging
A class for reading and writing LCM log files.
Log(String, String) - Constructor for class lcm.logging.Log
Opens a log file for reading or writing.
Log.Event - Class in lcm.logging
Represents a single received LCM message.

M

main(String[]) - Static method in class lcm.lcm.LCM
Minimalist test code.
Message(String, byte[]) - Constructor for class lcm.lcm.MessageAggregator.Message
 
MessageAggregator - Class in lcm.lcm
Accumulates received LCM messages in a queue.
MessageAggregator() - Constructor for class lcm.lcm.MessageAggregator
 
MessageAggregator.Message - Class in lcm.lcm
A received message.
messageReceived(LCM, String, LCMDataInputStream) - Method in interface lcm.lcm.LCMSubscriber
Invoked by LCM when a message is received.
messageReceived(LCM, String, LCMDataInputStream) - Method in class lcm.lcm.MessageAggregator
Internal method, called by LCM when a message is received.

N

numMessagesAvailable() - Method in class lcm.lcm.MessageAggregator
Returns the number of received messages waiting to be retrieved.

P

publish(String, String) - Method in class lcm.lcm.LCM
Publish a string on a channel.
publish(String, LCMEncodable) - Method in class lcm.lcm.LCM
Publish an LCM-defined type on a channel.
publish(String, byte[], int, int) - Method in class lcm.lcm.LCM
Publish raw data on a channel, bypassing the LCM type specification.

R

readBoolean() - Method in class lcm.lcm.LCMDataInputStream
 
readByte() - Method in class lcm.lcm.LCMDataInputStream
 
readChar() - Method in class lcm.lcm.LCMDataInputStream
 
readDouble() - Method in class lcm.lcm.LCMDataInputStream
 
readFloat() - Method in class lcm.lcm.LCMDataInputStream
 
readFully(byte[]) - Method in class lcm.lcm.LCMDataInputStream
 
readFully(byte[], int, int) - Method in class lcm.lcm.LCMDataInputStream
 
readFullyBytesAsChars(char[]) - Method in class lcm.lcm.LCMDataInputStream
Writes chars as one byte per char, filling high byte with zero.
readInt() - Method in class lcm.lcm.LCMDataInputStream
 
readLine() - Method in class lcm.lcm.LCMDataInputStream
 
readLong() - Method in class lcm.lcm.LCMDataInputStream
 
readNext() - Method in class lcm.logging.Log
Reads the next event in the log file
readShort() - Method in class lcm.lcm.LCMDataInputStream
 
readStringZ() - Method in class lcm.lcm.LCMDataInputStream
Read a string of 8-bit characters terminated by a zero.
readUnsignedByte() - Method in class lcm.lcm.LCMDataInputStream
 
readUnsignedShort() - Method in class lcm.lcm.LCMDataInputStream
 
readUTF() - Method in class lcm.lcm.LCMDataInputStream
 
receiveMessage(String, byte[], int, int) - Method in class lcm.lcm.LCM
Not for use by end users.
reset() - Method in class lcm.lcm.LCMDataInputStream
 
reset() - Method in class lcm.lcm.LCMDataOutputStream
 

S

seekPositionFraction(double) - Method in class lcm.logging.Log
Seek to a position in the log file, specified by a fraction.
setMaxBufferSize(long) - Method in class lcm.lcm.MessageAggregator
Sets the maximum amount of memory that will be used to store messages.
setMaxMessages(int) - Method in class lcm.lcm.MessageAggregator
Sets the maximum number of unretrieved message that will be queued up by the aggregator.
size() - Method in class lcm.lcm.LCMDataOutputStream
Get the number of bytes that have been written to the buffer.
skipBytes(int) - Method in class lcm.lcm.LCMDataInputStream
 
subscribe(String, LCMSubscriber) - Method in class lcm.lcm.LCM
Subscribe to all channels whose name matches the regular expression.
subscribeAll(LCMSubscriber) - Method in class lcm.lcm.LCM
A convenience function that subscribes to all LCM channels.

T

toByteArray() - Method in class lcm.lcm.LCMDataOutputStream
Makes a copy of the internal buffer.

U

unsubscribe(String, LCMSubscriber) - Method in class lcm.lcm.LCM
Remove this particular regex/subscriber pair (UNTESTED AND API MAY CHANGE).
utime - Variable in class lcm.logging.Log.Event
Time of message receipt, represented in microseconds since 00:00:00 UTC January 1, 1970.

W

write(byte[]) - Method in class lcm.lcm.LCMDataOutputStream
 
write(byte[], int, int) - Method in class lcm.lcm.LCMDataOutputStream
 
write(int) - Method in class lcm.lcm.LCMDataOutputStream
 
write(Log.Event) - Method in class lcm.logging.Log
Writes an event to the log file.
write(long, String, LCMEncodable) - Method in class lcm.logging.Log
A convenience method for write.
writeBoolean(boolean) - Method in class lcm.lcm.LCMDataOutputStream
 
writeByte(int) - Method in class lcm.lcm.LCMDataOutputStream
 
writeBytes(String) - Method in class lcm.lcm.LCMDataOutputStream
 
writeChar(int) - Method in class lcm.lcm.LCMDataOutputStream
 
writeChars(String) - Method in class lcm.lcm.LCMDataOutputStream
 
writeCharsAsBytes(char[]) - Method in class lcm.lcm.LCMDataOutputStream
Writes one byte per char
writeDouble(double) - Method in class lcm.lcm.LCMDataOutputStream
 
writeFloat(float) - Method in class lcm.lcm.LCMDataOutputStream
 
writeInt(int) - Method in class lcm.lcm.LCMDataOutputStream
 
writeLong(long) - Method in class lcm.lcm.LCMDataOutputStream
 
writeShort(int) - Method in class lcm.lcm.LCMDataOutputStream
 
writeStringZ(String) - Method in class lcm.lcm.LCMDataOutputStream
Write a zero-terminated string consisting of 8 bit characters.
writeUTF(String) - Method in class lcm.lcm.LCMDataOutputStream
 

_

_decodeRecursive(DataInput) - Method in interface lcm.lcm.LCMEncodable
Decode the data without the magic header.
_encodeRecursive(DataOutput) - Method in interface lcm.lcm.LCMEncodable
Encode the data without the magic header.
A C D E F G L M N P R S T U W _ 
Skip navigation links