TYPE
- The type to be supported for publication and/or
subscription.public abstract class TypeSupport<TYPE> extends java.lang.Object implements DDSObject
Constructor and Description |
---|
TypeSupport() |
Modifier and Type | Method and Description |
---|---|
abstract java.lang.Class<TYPE> |
getType() |
abstract java.lang.String |
getTypeName() |
abstract TYPE |
newData() |
static <TYPE> TypeSupport<TYPE> |
newTypeSupport(java.lang.Class<TYPE> type,
ServiceEnvironment env)
Create a new TypeSupport object for the given physical type.
|
static <TYPE> TypeSupport<TYPE> |
newTypeSupport(java.lang.Class<TYPE> type,
java.lang.String registeredName,
ServiceEnvironment env)
Create a new TypeSupport object for the given physical type.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEnvironment
public static <TYPE> TypeSupport<TYPE> newTypeSupport(java.lang.Class<TYPE> type, ServiceEnvironment env)
newTypeSupport(type, type.getClass().getName(), bootstrap)
public static <TYPE> TypeSupport<TYPE> newTypeSupport(java.lang.Class<TYPE> type, java.lang.String registeredName, ServiceEnvironment env)
TYPE
- The physical type of all samples read or written by
any DataReader
or
DataWriter
typed by the
resulting TypeSupport
.type
- The physical type of all samples read or written by
any DataReader
or
DataWriter
typed by the
resulting TypeSupport
.registeredName
- The logical name under which this type will
be registered with any
DomainParticipant
with which the resulting
TypeSupport
is used.env
- Identifies the Service instance to which the new
object will belong.TypeSupport
object, which can
subsequently be used to create one or more
Topic
s.newTypeSupport(Class, ServiceEnvironment)
public abstract TYPE newData()
public abstract java.lang.Class<TYPE> getType()
public abstract java.lang.String getTypeName()
Copyright © 2010 Real-Time Innovations, Inc. (RTI)
Copyright © 2010 PrismTech, Ltd.
Copyright © 2010 Object Management Group, Inc. (OMG)
All Rights Reserved.