RTI Connext DDS Micro  Version 2.4.6
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
dds_c_domain.h File Reference

DDS Domain Module definitions. More...

#include "dds_c/dds_c_dll.h"
#include "reda/reda_string.h"
#include "rt/rt_rt.h"
#include "dds_c/dds_c_infrastructure.h"
#include "dds_c_sequence.h"
#include "dds_c/dds_c_type.h"
#include "dds_c/dds_c_topic.h"
#include "dds_c/dds_c_publication.h"
#include "dds_c/dds_c_subscription.h"
#include <reda/reda_sequence_decl.h>

Go to the source code of this file.

Data Structures

struct  NDDS_Discovery_Property
 Specifies internal information used to store discovery information about a DDS_DomainParticipant in the registry. More...
 
struct  DDS_DiscoveryComponent
 Specifies the discovery plugin the DDS_DomainParticipant should use. More...
 
struct  DDS_DiscoveryQosPolicy
 <<cert>> Specifies the attributes required to discover participants in the domain. More...
 
struct  DDS_UserTrafficQosPolicy
 A QosPolicy to configure properties of network traffic caused by the exchange of user data. More...
 
struct  DDS_DomainParticipantListener
 <<interface>> <<cert>> Listener for participant status. More...
 
struct  DDS_DomainParticipantQos
 <<cert>> QoS policies supported by a DDS_DomainParticipant entity. More...
 
struct  DDS_DomainParticipantFactoryQos
 <<cert>> QoS policies supported by a DDS_DomainParticipantFactory. More...
 

Macros

#define DDS_DiscoveryComponent_INITIALIZER
 Initializer for new DDS_DiscoveryComponent instances. More...
 
#define DDS_DomainParticipantListener_INITIALIZER
 <<cert>> Initializer for new DDS_DomainParticipantListener. More...
 
#define DDS_DomainParticipantQos_INITIALIZER
 <<cert>> Initializer for new QoS instances. More...
 
#define DDS_DomainParticipantFactoryQos_INITIALIZER
 <<cert>> Initializer for new QoS instances. More...
 
#define DDS_TheParticipantFactory   DDS_DomainParticipantFactory_get_instance()
 <<cert>> Alias for singleton participant factory. More...
 

Typedefs

typedef DDS_DOMAINID_TYPE_NATIVE DDS_DomainId_t
 <<cert>> An integer that indicates in which domain a DDS_DomainParticipant communicates. More...
 
typedef struct
DDS_DomainParticipantFactoryImpl 
DDS_DomainParticipantFactory
 <<singleton>> <<interface>> <<cert>> Allows creation and destruction of DDS_DomainParticipant objects. More...
 

Functions

DDS_ReturnCode_t DDS_DomainParticipantQos_initialize (struct DDS_DomainParticipantQos *self)
 Initializer for new QoS instances. More...
 
DDS_ReturnCode_t DDS_DomainParticipantQos_copy (struct DDS_DomainParticipantQos *self, const struct DDS_DomainParticipantQos *source)
 Copy the contents of the given QoS into this QoS. More...
 
DDS_ReturnCode_t DDS_DomainParticipantQos_finalize (struct DDS_DomainParticipantQos *self)
 Free any dynamic memory allocated by the policies in this DDS_DomainParticipantQos. More...
 
DDS_EntityDDS_DomainParticipant_as_entity (DDS_DomainParticipant *domain)
 <<cert>> Access a DDS_DomainParticipant's supertype instance. More...
 
DDS_ReturnCode_t DDS_DomainParticipant_get_default_publisher_qos (DDS_DomainParticipant *self, struct DDS_PublisherQos *qos)
 Copy the default DDS_PublisherQos values into the provided DDS_PublisherQos instance. More...
 
DDS_ReturnCode_t DDS_DomainParticipant_set_default_publisher_qos (DDS_DomainParticipant *self, const struct DDS_PublisherQos *qos)
 Set the default DDS_PublisherQos values for this domain participant. More...
 
DDS_ReturnCode_t DDS_DomainParticipant_get_default_subscriber_qos (DDS_DomainParticipant *self, struct DDS_SubscriberQos *qos)
 Copy the default DDS_SubscriberQos values into the provided DDS_SubscriberQos instance. More...
 
DDS_ReturnCode_t DDS_DomainParticipant_set_default_subscriber_qos (DDS_DomainParticipant *self, const struct DDS_SubscriberQos *qos)
 Set the default DDS_SubscriberQos values for this domain participant. More...
 
DDS_ReturnCode_t DDS_DomainParticipant_get_default_topic_qos (DDS_DomainParticipant *self, struct DDS_TopicQos *qos)
 Copies the default DDS_TopicQos values for this domain participant into the given DDS_TopicQos instance. More...
 
DDS_ReturnCode_t DDS_DomainParticipant_set_default_topic_qos (DDS_DomainParticipant *self, const struct DDS_TopicQos *qos)
 Set the default DDS_TopicQos values for this domain participant. More...
 
DDS_PublisherDDS_DomainParticipant_create_publisher (DDS_DomainParticipant *self, const struct DDS_PublisherQos *qos, const struct DDS_PublisherListener *listener, DDS_StatusMask mask)
 <<cert>> Creates a DDS_Publisher with the desired QoS policies and attaches to it the specified DDS_PublisherListener. More...
 
DDS_ReturnCode_t DDS_DomainParticipant_delete_publisher (DDS_DomainParticipant *self, DDS_Publisher *p)
 Deletes an existing DDS_Publisher. More...
 
DDS_SubscriberDDS_DomainParticipant_create_subscriber (DDS_DomainParticipant *self, const struct DDS_SubscriberQos *qos, const struct DDS_SubscriberListener *listener, DDS_StatusMask mask)
 <<cert>> Creates a DDS_Subscriber with the desired QoS policies and attaches to it the specified DDS_SubscriberListener. More...
 
DDS_ReturnCode_t DDS_DomainParticipant_delete_subscriber (DDS_DomainParticipant *self, DDS_Subscriber *s)
 Deletes an existing DDS_Subscriber. More...
 
DDS_TopicDDS_DomainParticipant_create_topic (DDS_DomainParticipant *self, const char *topic_name, const char *type_name, const struct DDS_TopicQos *qos, const struct DDS_TopicListener *listener, DDS_StatusMask mask)
 <<cert>> Creates a DDS_Topic with the desired QoS policies More...
 
DDS_ReturnCode_t DDS_DomainParticipant_delete_topic (DDS_DomainParticipant *self, DDS_Topic *topic)
 Deletes a DDS_Topic. More...
 
DDS_TopicDDS_DomainParticipant_find_topic (DDS_DomainParticipant *self, const char *topic_name, const struct DDS_Duration_t *timeout)
 Finds an existing (or ready to exist) DDS_Topic, based on its name. More...
 
DDS_TopicDescriptionDDS_DomainParticipant_lookup_topicdescription (DDS_DomainParticipant *self, const char *topic_name)
 <<cert>> Lookup an existing locally-created DDS_TopicDescription, based on its name. More...
 
DDS_ReturnCode_t DDS_DomainParticipant_add_peer (DDS_DomainParticipant *self, const char *peer)
 <<eXtension>> <<cert>> Attempt to contact one or more additional peer participants. More...
 
DDS_DomainId_t DDS_DomainParticipant_get_domain_id (DDS_DomainParticipant *self)
 <<cert>> Get the unique domain identifier. More...
 
DDS_ReturnCode_t DDS_DomainParticipant_delete_contained_entities (DDS_DomainParticipant *self)
 Delete all the entities that were created by means of the "create" operations on the DDS_DomainParticipant. More...
 
DDS_ReturnCode_t DDS_DomainParticipant_get_current_time (DDS_DomainParticipant *self, struct DDS_Time_t *current_time)
 <<cert>> Returns the current value of the time. More...
 
DDS_ReturnCode_t DDS_DomainParticipant_get_discovered_participants (DDS_DomainParticipant *self, struct DDS_InstanceHandleSeq *participant_handles)
 Returns a sequence containing DDS_InstanceHandle_t for all the remote DDS_DomainParticipant that have been discovered by the DDS_DomainParticipant. More...
 
DDS_ReturnCode_t DDS_DomainParticipant_get_discovered_participant_data (DDS_DomainParticipant *self, struct DDS_ParticipantBuiltinTopicData *participant_data, const DDS_InstanceHandle_t *participant_handle)
 Returns information about a remote DDS_DomainParticipant that has been discovered by the DDS_DomainParticipant. More...
 
DDS_ReturnCode_t DDS_DomainParticipant_set_qos (DDS_DomainParticipant *self, const struct DDS_DomainParticipantQos *qos)
 Change the QoS of this domain participant. More...
 
DDS_ReturnCode_t DDS_DomainParticipant_get_qos (DDS_DomainParticipant *self, struct DDS_DomainParticipantQos *qos)
 Get the participant QoS. More...
 
DDS_ReturnCode_t DDS_DomainParticipant_set_listener (DDS_DomainParticipant *self, const struct DDS_DomainParticipantListener *l, DDS_StatusMask mask)
 Sets the participant listener. More...
 
struct
DDS_DomainParticipantListener 
DDS_DomainParticipant_get_listener (DDS_DomainParticipant *self)
 Get the participant listener. More...
 
DDS_ReturnCode_t DDS_DomainParticipant_register_type (DDS_DomainParticipant *participant, const char *type_name, struct NDDS_Type_Plugin *plugin)
 <<eXtension>> <<cert>> Allows an application to communicate to RTI Connext Micro the existence of a data type. More...
 
struct NDDS_Type_PluginDDS_DomainParticipant_unregister_type (DDS_DomainParticipant *participant, const char *type_name)
 Allows an application to unregister a data type from RTI Connext Micro. After calling unregister_type, no further communication using that type is possible. More...
 
DDS_DomainParticipantFactoryDDS_DomainParticipantFactory_get_instance (void)
 <<cert>> Gets the singleton instance of this class. More...
 
DDS_ReturnCode_t DDS_DomainParticipantFactory_finalize_instance (void)
 <<eXtension>> Destroys the singleton instance of this class. More...
 
DDS_ReturnCode_t DDS_DomainParticipantFactory_set_default_participant_qos (DDS_DomainParticipantFactory *self, const struct DDS_DomainParticipantQos *qos)
 Sets the default DDS_DomainParticipantQos values for this domain participant factory. More...
 
DDS_ReturnCode_t DDS_DomainParticipantFactory_get_default_participant_qos (DDS_DomainParticipantFactory *self, struct DDS_DomainParticipantQos *qos)
 Initializes the DDS_DomainParticipantQos instance with default values. More...
 
DDS_DomainParticipantDDS_DomainParticipantFactory_create_participant (DDS_DomainParticipantFactory *self, DDS_DomainId_t domainId, const struct DDS_DomainParticipantQos *qos, const struct DDS_DomainParticipantListener *listener, DDS_StatusMask mask)
 <<cert>> Creates a new DDS_DomainParticipant object. More...
 
DDS_ReturnCode_t DDS_DomainParticipantFactory_delete_participant (DDS_DomainParticipantFactory *self, DDS_DomainParticipant *a_participant)
 Deletes an existing DDS_DomainParticipant. More...
 
DDS_DomainParticipantDDS_DomainParticipantFactory_lookup_participant (DDS_DomainParticipantFactory *self, DDS_DomainId_t domainId)
 <<cert>> Locates an existing DDS_DomainParticipant. More...
 
DDS_ReturnCode_t DDS_DomainParticipantFactory_get_qos (DDS_DomainParticipantFactory *self, struct DDS_DomainParticipantFactoryQos *qos)
 <<cert>> Gets the value for participant factory QoS. More...
 
DDS_ReturnCode_t DDS_DomainParticipantFactory_set_qos (DDS_DomainParticipantFactory *self, const struct DDS_DomainParticipantFactoryQos *qos)
 <<cert>> Sets the value for a participant factory QoS. More...
 
RT_Registry_T * DDS_DomainParticipantFactory_get_registry (DDS_DomainParticipantFactory *self)
 <<cert>> Retrieves the singleton registry instance associated with the factory. More...
 

Variables

const char *const DDS_DISCOVERY_QOS_POLICY_NAME
 Stringified human-readable name for DDS_DiscoveryQosPolicy. More...
 
struct DDS_TopicQos DDS_TOPIC_QOS_DEFAULT
 <<cert>> Special value for creating a DDS_Topic with default QoS. Note that this is the only supported parameter in RTI Connext Micro when creating a topic. More...
 
struct DDS_PublisherQos DDS_PUBLISHER_QOS_DEFAULT
 <<cert>> Special value for creating a DDS_Publisher with default QoS. More...
 
struct DDS_SubscriberQos DDS_SUBSCRIBER_QOS_DEFAULT
 <<cert>> Special value for creating a DDS_Subscriber with default QoS. More...
 
struct
DDS_DomainParticipantFactoryQos 
DDS_PARTICIPANT_FACTORY_QOS_DEFAULT
 <<cert>> Special value for creating domain participant with default QoS. More...
 
struct DDS_DomainParticipantQos DDS_PARTICIPANT_QOS_DEFAULT
 <<cert>> Special value for creating domain participant with default QoS. More...
 

Detailed Description

DDS Domain Module definitions.

Macro Definition Documentation

#define DDS_DiscoveryComponent_INITIALIZER
Value:
{\
RT_ComponentFactoryId_INITIALIZER,\
NDDS_Discovery_Property_INITIALIZER\
}

Initializer for new DDS_DiscoveryComponent instances.


RTI Connext DDS Micro Version 2.4.6 Copyright © Mon Jan 25 2016 Real-Time Innovations, Inc