# Index

C D E F G L M N P R S U W _
All Classes and Interfaces|All Packages

## 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.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

getDefaultURL() - Static method in class lcm.lcm.LCM
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() - Method in class lcm.lcm.MessageAggregator
  Retrieves the next message, waiting if necessary.
getNextMessage(long) - Method in class lcm.lcm.MessageAggregator
  Attempt to retrieve the next received LCM message.
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
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, byte[], int, int) - Method in class lcm.lcm.LCM
  Publish raw data on a channel, bypassing the LCM type specification.
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.

## R

readNext() - Method in class lcm.logging.Log
  Reads the next event in the log file
receiveMessage(String, byte[], int, int) - Method in class lcm.lcm.LCM
  Not for use by end users.

## 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.
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.

## 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(long, String, LCMEncodable) - Method in class lcm.logging.Log
  A convenience method for write.
write(Log.Event) - Method in class lcm.logging.Log
  Writes an event to the log file.

## _

_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.

C D E F G L M N P R S U W _
All Classes and Interfaces|All Packages