org.ros.internal.message
Interface MessageDefinitionParser.MessageDefinitionVisitor

Enclosing class:
MessageDefinitionParser

public static interface MessageDefinitionParser.MessageDefinitionVisitor


Method Summary
 void constant(java.lang.String type, java.lang.String name, java.lang.String value)
          Called for each constant in the message definition.
 void list(java.lang.String type, int size, java.lang.String name)
          Called for each array in the message definition.
 void scalar(java.lang.String type, java.lang.String name)
          Called for each scalar in the message definition.
 

Method Detail

constant

void constant(java.lang.String type,
              java.lang.String name,
              java.lang.String value)
Called for each constant in the message definition.

Parameters:
type - the type of the constant
name - the name of the constant
value - the value of the constant

scalar

void scalar(java.lang.String type,
            java.lang.String name)
Called for each scalar in the message definition.

Parameters:
type - the type of the scalar
name - the name of the scalar

list

void list(java.lang.String type,
          int size,
          java.lang.String name)
Called for each array in the message definition.

Parameters:
type - the type of the array
size - the size of the array or -1 if the size is unbounded
name - the name of the array