org.ros.internal.message.topic
Class TopicDefinitionResourceProvider
java.lang.Object
   org.ros.internal.message.topic.TopicDefinitionResourceProvider
org.ros.internal.message.topic.TopicDefinitionResourceProvider
- All Implemented Interfaces: 
- MessageDefinitionProvider
- public class TopicDefinitionResourceProvider 
- extends java.lang.Object- implements MessageDefinitionProvider
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
TopicDefinitionResourceProvider
public TopicDefinitionResourceProvider()
get
public java.lang.String get(java.lang.String topicType)
- 
- Specified by:
- getin interface- MessageDefinitionProvider
 
- 
- Parameters:
- topicType- the type of message definition to provide
- Returns:
- the message definition for the specified type
 
has
public boolean has(java.lang.String topicType)
- 
- Specified by:
- hasin interface- MessageDefinitionProvider
 
- 
- Parameters:
- topicType- the type of message definition to provide
- Returns:
- trueif the definition for the specified type is available,- falseotherwise
 
add
public void add(java.lang.String topicType,
                java.lang.String topicDefinition)
- 
 
- 
 
getPackages
public java.util.Collection<java.lang.String> getPackages()
- 
- Specified by:
- getPackagesin interface- MessageDefinitionProvider
 
- 
 
getMessageIdentifiersByPackage
public java.util.Collection<MessageIdentifier> getMessageIdentifiersByPackage(java.lang.String pkg)
- 
- Specified by:
- getMessageIdentifiersByPackagein interface- MessageDefinitionProvider
 
- 
- Parameters:
- pkg- the name of the package to filter on
- Returns:
- the MessageIdentifiers for all messages defined in the
         specified package