The Robot Application Programming Interface Delegate Project
|
The activator class controls the plug-in life cycle.
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 |
static void addShutdownHook | ( | final DomainParticipant | participant | ) | [static] |
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] |
static DomainParticipant createParticipant | ( | String | participantName, |
int | domainId | ||
) | [static] |
static DomainParticipant createParticipant | ( | String | participantName, |
int | domainId, | ||
DomainParticipantListener | dpListener | ||
) | [static] |
static DomainParticipant createParticipantRTI | ( | String | participantName, |
int | domainId, | ||
DomainParticipantListener | dpListener, | ||
DomainParticipantQos | qos | ||
) | [static] |
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()
participant | |
listener | |
qos |
static Publisher createPublisherWithProfile | ( | DomainParticipant | participant, |
DomainParticipantListener | listener, | ||
String | libraryName, | ||
String | profileName | ||
) | [static] |
participant | |
listener | |
libraryName | |
profileName |
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] |
publisher | |
topic | |
listener | |
dwqos |
static DataWriter createWriterWithProfile | ( | Publisher | publisher, |
Topic | topic, | ||
DomainParticipantListener | listener, | ||
String | libraryName, | ||
String | profileName | ||
) | [static] |
publisher | |
topic | |
listener | |
libraryName | |
profileName |
static DDSMiddlewarePlugin getDefault | ( | ) | [static] |
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 |
static void writeMessage | ( | int | sampleCount, |
DataWriter | writer, | ||
Copyable | instance | ||
) | [static] |
sampleCount | |
writer | |
instance |
|
final long DEFAULT_SEND_PERIOD_MILLI_SEC = 1 * 1000 [static, package] |
final String PLUGIN_ID = "gov.nasa.rapid.middleware.dds" [static] |