org.ros.internal.message
Class MessageDefinitionTupleParser

java.lang.Object
  extended by org.ros.internal.message.MessageDefinitionTupleParser

public class MessageDefinitionTupleParser
extends java.lang.Object

Splits message definitions tuples (e.g. service definitions) into separate message definitions.


Constructor Summary
MessageDefinitionTupleParser()
           
 
Method Summary
static java.util.List<java.lang.String> parse(java.lang.String definition, int size)
          Splits the message definition tuple into a List of message definitions.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageDefinitionTupleParser

public MessageDefinitionTupleParser()
Method Detail

parse

public static java.util.List<java.lang.String> parse(java.lang.String definition,
                                                     int size)
Splits the message definition tuple into a List of message definitions. Split message definitions may be empty (e.g. std_srvs/Empty).

Parameters:
definition - the message definition tuple
size - the expected tuple size, or -1 to ignore this requirement
Returns:
a List of the specified size