org.ros.message
Interface MessageDefinitionProvider
- All Known Implementing Classes:
- MessageDefinitionFileProvider, MessageDefinitionProviderChain, MessageDefinitionReflectionProvider, ServiceDefinitionFileProvider, ServiceDefinitionResourceProvider, TopicDefinitionFileProvider, TopicDefinitionResourceProvider
public interface MessageDefinitionProvider
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
MessageIdentifier
s for all messages defined in the
specified package