The Robot Application Programming Interface Delegate Project
RAPID Logo

DDSMiddlewarePlugin Class Reference

The activator class controls the plug-in life cycle.

Inheritance diagram for DDSMiddlewarePlugin:
Collaboration diagram for DDSMiddlewarePlugin:

List of all members.

Public Member Functions

 DDSMiddlewarePlugin ()
void start (BundleContext context) throws Exception
void stop (BundleContext context) throws Exception

Static Public Member Functions

static void addShutdownHook (final DomainParticipant participant)
static void cleanup ()
 have some way to keep testing the connection.
static DataReader createDataReader (Subscriber subscriber, Topic topic, DomainParticipantListener listener)
static DataReader createDataReader (Subscriber subscriber, Topic topic, DomainParticipantListener listener, DataReaderQos qos)
static DataReader createDataReaderWithProfile (Subscriber subscriber, Topic topic, DomainParticipantListener listener, String libraryName, String profileName)
static DomainParticipant createParticipant (String participantName, int domainId)
static DomainParticipant createParticipant (String participantName, int domainId, DomainParticipantListener dpListener)
static DomainParticipant createParticipant (String participantName, int domainId, DomainParticipantListener dpListener, DomainParticipantQos qos)
static DomainParticipant createParticipantRTI (String participantName, int domainId, DomainParticipantListener dpListener, DomainParticipantQos qos)
 code from RTI
static Publisher createPublisher (DomainParticipant participant)
static Publisher createPublisher (DomainParticipant participant, DomainParticipantListener listener, PublisherQos qos)
 Create publisher.
static Publisher createPublisherWithProfile (DomainParticipant participant, DomainParticipantListener listener, String libraryName, String profileName)
 Create publisher with profile QoS information.
static Subscriber createSubscriber (DomainParticipant participant, DomainParticipantListener listener)
static Subscriber createSubscriber (DomainParticipant participant, DomainParticipantListener listener, SubscriberQos qos)
static Subscriber createSubscriberWithProfile (DomainParticipant participant, DomainParticipantListener listener, String libraryName, String profileName)
static DataWriter createWriter (Publisher publisher, Topic topic)
static DataWriter createWriter (Publisher publisher, Topic topic, DomainParticipantListener listener, DataWriterQos dwqos)
 To customize data writer QoS, use publisher.get_default_datawriter_qos()
static DataWriter createWriterWithProfile (Publisher publisher, Topic topic, DomainParticipantListener listener, String libraryName, String profileName)
 To customize data writer QoS, use publisher.get_default_datawriter_qos()
static DDSMiddlewarePlugin getDefault ()
 Returns the shared instance.
static DomainParticipant getParticipant (String participantName)
static Class<?extends
TypeSupportHelper
getSupportClass (Class<?extends Copyable > c)
static long getTimeNow ()
static Topic getTopic (String topicName, String typeName, DomainParticipant participant)
static synchronized Topic getTopic (String topicName, String typeName, DomainParticipant participant, DomainParticipantListener listener)
static void registerSupportClasses (Class<?extends Copyable > c, Class<?extends TypeSupportHelper > supportClass)
static void writeMessage (int sampleCount, DataWriter writer, Copyable instance)

Static Public Attributes

static final String PLUGIN_ID = "gov.nasa.rapid.middleware.dds"

Static Package Attributes

static final long DEFAULT_SEND_PERIOD_MILLI_SEC = 1 * 1000

Constructor & Destructor Documentation


Member Function Documentation

static void addShutdownHook ( final DomainParticipant  participant) [static]

Here is the call graph for this function:

static void cleanup ( ) [static]

Once a connection is broken handle it here

static DataReader createDataReader ( Subscriber  subscriber,
Topic  topic,
DomainParticipantListener  listener,
DataReaderQos  qos 
) [static]
static DataReader createDataReader ( Subscriber  subscriber,
Topic  topic,
DomainParticipantListener  listener 
) [static]
static DataReader createDataReaderWithProfile ( Subscriber  subscriber,
Topic  topic,
DomainParticipantListener  listener,
String  libraryName,
String  profileName 
) [static]
static DomainParticipant createParticipant ( String  participantName,
int  domainId,
DomainParticipantListener  dpListener,
DomainParticipantQos  qos 
) [static]

Here is the call graph for this function:

static DomainParticipant createParticipant ( String  participantName,
int  domainId 
) [static]
static DomainParticipant createParticipant ( String  participantName,
int  domainId,
DomainParticipantListener  dpListener 
) [static]

Here is the call graph for this function:

static DomainParticipant createParticipantRTI ( String  participantName,
int  domainId,
DomainParticipantListener  dpListener,
DomainParticipantQos  qos 
) [static]

Here is the call graph for this function:

static Publisher createPublisher ( DomainParticipant  participant) [static]
static Publisher createPublisher ( DomainParticipant  participant,
DomainParticipantListener  listener,
PublisherQos  qos 
) [static]

To customize publisher QoS, use participant.get_default_publisher_qos()

Parameters:
participant
listener
qos
static Publisher createPublisherWithProfile ( DomainParticipant  participant,
DomainParticipantListener  listener,
String  libraryName,
String  profileName 
) [static]
Parameters:
participant
listener
libraryName
profileName
Returns:
static Subscriber createSubscriber ( DomainParticipant  participant,
DomainParticipantListener  listener 
) [static]
static Subscriber createSubscriber ( DomainParticipant  participant,
DomainParticipantListener  listener,
SubscriberQos  qos 
) [static]
static Subscriber createSubscriberWithProfile ( DomainParticipant  participant,
DomainParticipantListener  listener,
String  libraryName,
String  profileName 
) [static]
static DataWriter createWriter ( Publisher  publisher,
Topic  topic 
) [static]
static DataWriter createWriter ( Publisher  publisher,
Topic  topic,
DomainParticipantListener  listener,
DataWriterQos  dwqos 
) [static]
Parameters:
publisher
topic
listener
dwqos
Returns:
static DataWriter createWriterWithProfile ( Publisher  publisher,
Topic  topic,
DomainParticipantListener  listener,
String  libraryName,
String  profileName 
) [static]
Parameters:
publisher
topic
listener
libraryName
profileName
Returns:
static DDSMiddlewarePlugin getDefault ( ) [static]
Returns:
the shared instance
static DomainParticipant getParticipant ( String  participantName) [static]
static Class<? extends TypeSupportHelper> getSupportClass ( Class<?extends Copyable >  c) [static]
static long getTimeNow ( ) [static]
static Topic getTopic ( String  topicName,
String  typeName,
DomainParticipant  participant 
) [static]
static synchronized Topic getTopic ( String  topicName,
String  typeName,
DomainParticipant  participant,
DomainParticipantListener  listener 
) [static]
static void registerSupportClasses ( Class<?extends Copyable >  c,
Class<?extends TypeSupportHelper supportClass 
) [static]
void start ( BundleContext  context) throws Exception
void stop ( BundleContext  context) throws Exception

Here is the call graph for this function:

static void writeMessage ( int  sampleCount,
DataWriter  writer,
Copyable  instance 
) [static]
Parameters:
sampleCount
writer
instance
  • the data that will be written

Member Data Documentation

final long DEFAULT_SEND_PERIOD_MILLI_SEC = 1 * 1000 [static, package]
final String PLUGIN_ID = "gov.nasa.rapid.middleware.dds" [static]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines