public class EntityFactory extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
EntityFactory()
Empty constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected <T> DataReader<T> |
createDataReader(Participant p,
Class<T> type,
String typeName,
RTPSReader<T> rtpsReader)
Create a new DataReader.
|
protected <T> DataWriter<T> |
createDataWriter(Participant p,
Class<T> type,
String typeName,
RTPSWriter<T> rtpsWriter,
HistoryCache<T> hCache)
Create a new DataWriter.
|
protected <T> DataWriter<T> createDataWriter(Participant p, Class<T> type, String typeName, RTPSWriter<T> rtpsWriter, HistoryCache<T> hCache)
T - Type of DataWriterp - Participant that is parent of created DataWritertype - a Class representing the type of writertypeName - Name of the type. If null, fully qualified class name is usedrtpsWriter - RTPSWriter to be associated with created DataWriterhCache - HistoryCache of DataWriterprotected <T> DataReader<T> createDataReader(Participant p, Class<T> type, String typeName, RTPSReader<T> rtpsReader)
T - Type of DataReaderp - Participant that is parent of created DataReadertype - a Class representing the type of readertypeName - Name of the type. If null, fully qualified class name is usedrtpsReader - RTPSReader to be associated with created DataReaderCopyright © 2016. All rights reserved.