Package lcm.lcm
Interface LCMEncodable
-
public interface LCMEncodable
A message which can be easily sent using LCM.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
_decodeRecursive(java.io.DataInput ins)
Decode the data without the magic header.void
_encodeRecursive(java.io.DataOutput outs)
Encode the data without the magic header.void
encode(java.io.DataOutput outs)
Invoked by LCM.
-
-
-
Method Detail
-
encode
void encode(java.io.DataOutput outs) throws java.io.IOException
Invoked by LCM.- Parameters:
outs
- Any data to be sent should be written to this output stream.- Throws:
java.io.IOException
-
_encodeRecursive
void _encodeRecursive(java.io.DataOutput outs) throws java.io.IOException
Encode the data without the magic header. Most users will never use this function.- Throws:
java.io.IOException
-
_decodeRecursive
void _decodeRecursive(java.io.DataInput ins) throws java.io.IOException
Decode the data without the magic header. Most users will never use this function.- Throws:
java.io.IOException
-
-