org.ros.message
Interface MessageDefinitionProvider

All Known Implementing Classes:
MessageDefinitionFileProvider, MessageDefinitionProviderChain, MessageDefinitionReflectionProvider, ServiceDefinitionFileProvider, ServiceDefinitionResourceProvider, TopicDefinitionFileProvider, TopicDefinitionResourceProvider

public interface MessageDefinitionProvider


Method Summary
 java.lang.String get(java.lang.String messageType)
           
 java.util.Collection<MessageIdentifier> getMessageIdentifiersByPackage(java.lang.String pkg)
           
 java.util.Collection<java.lang.String> getPackages()
           
 boolean has(java.lang.String messageType)
           
 

Method Detail

get

java.lang.String get(java.lang.String messageType)
Parameters:
messageType - the type of message definition to provide
Returns:
the message definition for the specified type

has

boolean has(java.lang.String messageType)
Parameters:
messageType - the type of message definition to provide
Returns:
true if the definition for the specified type is available, false otherwise

getPackages

java.util.Collection<java.lang.String> getPackages()

getMessageIdentifiersByPackage

java.util.Collection<MessageIdentifier> getMessageIdentifiersByPackage(java.lang.String pkg)
Parameters:
pkg - the name of the package to filter on
Returns:
the MessageIdentifiers for all messages defined in the specified package