org.ros.internal.message
Class DefaultMessageFactory

java.lang.Object
  extended by org.ros.internal.message.DefaultMessageFactory
All Implemented Interfaces:
MessageFactory
Direct Known Subclasses:
TopicMessageFactory

public class DefaultMessageFactory
extends java.lang.Object
implements MessageFactory


Constructor Summary
DefaultMessageFactory(MessageDefinitionProvider messageDefinitionProvider)
           
 
Method Summary
<T> T
newFromType(java.lang.String messageType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultMessageFactory

public DefaultMessageFactory(MessageDefinitionProvider messageDefinitionProvider)
Method Detail

newFromType

public <T> T newFromType(java.lang.String messageType)
Specified by:
newFromType in interface MessageFactory
Parameters:
messageType - the type of message to create
Returns:
a new message