OpenSplice Java 5 DCPS  v6.x
OpenSplice Java 5 OpenSplice Data Distribution Service Data-Centric Publish-Subscribe API
org.opensplice.dds.type.TypeSupportProtobuf< PROTOBUF_TYPE, DDS_TYPE > Class Template Referenceabstract
Inheritance diagram for org.opensplice.dds.type.TypeSupportProtobuf< PROTOBUF_TYPE, DDS_TYPE >:
Inheritance graph
Collaboration diagram for org.opensplice.dds.type.TypeSupportProtobuf< PROTOBUF_TYPE, DDS_TYPE >:
Collaboration graph

Public Member Functions

abstract AbstractDataReader< TYPE > createDataReader (SubscriberImpl subscriber, TopicDescriptionExt< TYPE > topicDescription, DataReaderQos qos, DataReaderListener< TYPE > listener, Collection< Class<? extends Status >> statuses)
 
AbstractDataReader< PROTOBUF_TYPE > createDataReader (SubscriberImpl subscriber, TopicDescriptionExt< PROTOBUF_TYPE > topicDescription, DataReaderQos qos, DataReaderListener< PROTOBUF_TYPE > listener, Collection< Class<? extends Status >> statuses)
 
abstract AbstractDataWriter< TYPE > createDataWriter (PublisherImpl publisher, AbstractTopic< TYPE > topic, DataWriterQos qos, DataWriterListener< TYPE > listener, Collection< Class<? extends Status >> statuses)
 
AbstractDataWriter< PROTOBUF_TYPE > createDataWriter (PublisherImpl publisher, AbstractTopic< PROTOBUF_TYPE > topic, DataWriterQos qos, DataWriterListener< PROTOBUF_TYPE > listener, Collection< Class<? extends Status >> statuses)
 
abstract AbstractTopic< TYPE > createTopic (DomainParticipantImpl participant, String topicName, TopicQos qos, TopicListener< TYPE > listener, Collection< Class<? extends Status >> statuses)
 
AbstractTopic< PROTOBUF_TYPE > createTopic (DomainParticipantImpl participant, String topicName, TopicQos qos, TopicListener< PROTOBUF_TYPE > listener, Collection< Class<? extends Status >> statuses)
 
abstract PROTOBUF_TYPE ddsKeyToProtobuf (DDS_TYPE ddsData)
 
abstract PROTOBUF_TYPE ddsToProtobuf (DDS_TYPE ddsData)
 
ServiceEnvironment getEnvironment ()
 
byte [] getExtentions ()
 
byte [] getMetaDescriptor ()
 
byte [] getMetaHash ()
 
TypeSupport getOldTypeSupport ()
 
Class< PROTOBUF_TYPE > getType ()
 
String getTypeName ()
 
TypeSupportImpl< DDS_TYPE > getTypeSupportStandard ()
 
PROTOBUF_TYPE newData ()
 
abstract DDS_TYPE protobufToDds (PROTOBUF_TYPE protobufData)
 

Static Public Member Functions

static< SOME_TYPE > org.omg.dds.type.TypeSupport< SOME_TYPE > getInstance (OsplServiceEnvironment environment, Class< SOME_TYPE > dataType, String registeredName)
 

Protected Member Functions

 TypeSupportProtobuf (OsplServiceEnvironment environment, Class< PROTOBUF_TYPE > dataType, TypeSupportImpl< DDS_TYPE > ddsTypeSupport, final byte[] metaData, final byte[] metaHash)
 

Static Protected Member Functions

static byte [] hexStringToByteArray (String s)
 

Protected Attributes

final Class< PROTOBUF_TYPE > dataType
 
final TypeSupportImpl< DDS_TYPE > ddsTypeSupport
 
final OsplServiceEnvironment environment
 

Detailed Description

Definition at line 50 of file TypeSupportProtobuf.java.

Constructor & Destructor Documentation

◆ TypeSupportProtobuf()

org.opensplice.dds.type.TypeSupportProtobuf< PROTOBUF_TYPE, DDS_TYPE >.TypeSupportProtobuf ( OsplServiceEnvironment  environment,
Class< PROTOBUF_TYPE >  dataType,
TypeSupportImpl< DDS_TYPE >  ddsTypeSupport,
final byte []  metaData,
final byte []  metaHash 
)
protected

Definition at line 59 of file TypeSupportProtobuf.java.

Member Function Documentation

◆ createDataReader() [1/2]

abstract AbstractDataReader<TYPE> org.opensplice.dds.type.AbstractTypeSupport< TYPE >.createDataReader ( SubscriberImpl  subscriber,
TopicDescriptionExt< TYPE >  topicDescription,
DataReaderQos  qos,
DataReaderListener< TYPE >  listener,
Collection< Class<? extends Status >>  statuses 
)
abstractinherited

◆ createDataReader() [2/2]

AbstractDataReader<PROTOBUF_TYPE> org.opensplice.dds.type.TypeSupportProtobuf< PROTOBUF_TYPE, DDS_TYPE >.createDataReader ( SubscriberImpl  subscriber,
TopicDescriptionExt< PROTOBUF_TYPE >  topicDescription,
DataReaderQos  qos,
DataReaderListener< PROTOBUF_TYPE >  listener,
Collection< Class<? extends Status >>  statuses 
)

Definition at line 173 of file TypeSupportProtobuf.java.

◆ createDataWriter() [1/2]

abstract AbstractDataWriter<TYPE> org.opensplice.dds.type.AbstractTypeSupport< TYPE >.createDataWriter ( PublisherImpl  publisher,
AbstractTopic< TYPE >  topic,
DataWriterQos  qos,
DataWriterListener< TYPE >  listener,
Collection< Class<? extends Status >>  statuses 
)
abstractinherited

◆ createDataWriter() [2/2]

AbstractDataWriter<PROTOBUF_TYPE> org.opensplice.dds.type.TypeSupportProtobuf< PROTOBUF_TYPE, DDS_TYPE >.createDataWriter ( PublisherImpl  publisher,
AbstractTopic< PROTOBUF_TYPE >  topic,
DataWriterQos  qos,
DataWriterListener< PROTOBUF_TYPE >  listener,
Collection< Class<? extends Status >>  statuses 
)

Definition at line 163 of file TypeSupportProtobuf.java.

◆ createTopic() [1/2]

abstract AbstractTopic<TYPE> org.opensplice.dds.type.AbstractTypeSupport< TYPE >.createTopic ( DomainParticipantImpl  participant,
String  topicName,
TopicQos  qos,
TopicListener< TYPE >  listener,
Collection< Class<? extends Status >>  statuses 
)
abstractinherited

◆ createTopic() [2/2]

AbstractTopic<PROTOBUF_TYPE> org.opensplice.dds.type.TypeSupportProtobuf< PROTOBUF_TYPE, DDS_TYPE >.createTopic ( DomainParticipantImpl  participant,
String  topicName,
TopicQos  qos,
TopicListener< PROTOBUF_TYPE >  listener,
Collection< Class<? extends Status >>  statuses 
)

Definition at line 154 of file TypeSupportProtobuf.java.

◆ ddsKeyToProtobuf()

abstract PROTOBUF_TYPE org.opensplice.dds.type.TypeSupportProtobuf< PROTOBUF_TYPE, DDS_TYPE >.ddsKeyToProtobuf ( DDS_TYPE  ddsData)
abstract

◆ ddsToProtobuf()

abstract PROTOBUF_TYPE org.opensplice.dds.type.TypeSupportProtobuf< PROTOBUF_TYPE, DDS_TYPE >.ddsToProtobuf ( DDS_TYPE  ddsData)
abstract

◆ getEnvironment()

ServiceEnvironment org.opensplice.dds.type.TypeSupportProtobuf< PROTOBUF_TYPE, DDS_TYPE >.getEnvironment ( )

Definition at line 117 of file TypeSupportProtobuf.java.

◆ getExtentions()

byte [] org.opensplice.dds.type.TypeSupportProtobuf< PROTOBUF_TYPE, DDS_TYPE >.getExtentions ( )

Definition at line 191 of file TypeSupportProtobuf.java.

◆ getInstance()

static <SOME_TYPE> org.omg.dds.type.TypeSupport<SOME_TYPE> org.opensplice.dds.type.TypeSupportProtobuf< PROTOBUF_TYPE, DDS_TYPE >.getInstance ( OsplServiceEnvironment  environment,
Class< SOME_TYPE >  dataType,
String  registeredName 
)
static

Definition at line 77 of file TypeSupportProtobuf.java.

◆ getMetaDescriptor()

byte [] org.opensplice.dds.type.TypeSupportProtobuf< PROTOBUF_TYPE, DDS_TYPE >.getMetaDescriptor ( )

Definition at line 183 of file TypeSupportProtobuf.java.

◆ getMetaHash()

byte [] org.opensplice.dds.type.TypeSupportProtobuf< PROTOBUF_TYPE, DDS_TYPE >.getMetaHash ( )

Definition at line 187 of file TypeSupportProtobuf.java.

◆ getOldTypeSupport()

TypeSupport org.opensplice.dds.type.TypeSupportProtobuf< PROTOBUF_TYPE, DDS_TYPE >.getOldTypeSupport ( )

Definition at line 122 of file TypeSupportProtobuf.java.

◆ getType()

Class<PROTOBUF_TYPE> org.opensplice.dds.type.TypeSupportProtobuf< PROTOBUF_TYPE, DDS_TYPE >.getType ( )

Definition at line 140 of file TypeSupportProtobuf.java.

◆ getTypeName()

String org.opensplice.dds.type.TypeSupportProtobuf< PROTOBUF_TYPE, DDS_TYPE >.getTypeName ( )

Definition at line 145 of file TypeSupportProtobuf.java.

◆ getTypeSupportStandard()

TypeSupportImpl<DDS_TYPE> org.opensplice.dds.type.TypeSupportProtobuf< PROTOBUF_TYPE, DDS_TYPE >.getTypeSupportStandard ( )

Definition at line 149 of file TypeSupportProtobuf.java.

◆ hexStringToByteArray()

static byte [] org.opensplice.dds.type.TypeSupportProtobuf< PROTOBUF_TYPE, DDS_TYPE >.hexStringToByteArray ( String  s)
staticprotected

Definition at line 195 of file TypeSupportProtobuf.java.

◆ newData()

PROTOBUF_TYPE org.opensplice.dds.type.TypeSupportProtobuf< PROTOBUF_TYPE, DDS_TYPE >.newData ( )

Definition at line 127 of file TypeSupportProtobuf.java.

◆ protobufToDds()

abstract DDS_TYPE org.opensplice.dds.type.TypeSupportProtobuf< PROTOBUF_TYPE, DDS_TYPE >.protobufToDds ( PROTOBUF_TYPE  protobufData)
abstract

Member Data Documentation

◆ dataType

final Class<PROTOBUF_TYPE> org.opensplice.dds.type.TypeSupportProtobuf< PROTOBUF_TYPE, DDS_TYPE >.dataType
protected

Definition at line 52 of file TypeSupportProtobuf.java.

◆ ddsTypeSupport

final TypeSupportImpl<DDS_TYPE> org.opensplice.dds.type.TypeSupportProtobuf< PROTOBUF_TYPE, DDS_TYPE >.ddsTypeSupport
protected

Definition at line 54 of file TypeSupportProtobuf.java.

◆ environment

final OsplServiceEnvironment org.opensplice.dds.type.TypeSupportProtobuf< PROTOBUF_TYPE, DDS_TYPE >.environment
protected

Definition at line 53 of file TypeSupportProtobuf.java.


The documentation for this class was generated from the following file: