27 #include <dds/dds_seq.hh> 28 #include <dds/dds_map.hh> 30 namespace coredx {
namespace rpc {
154 class DomainParticipantFactory;
155 class DomainParticipant;
160 class TopicDescription;
162 class ContentFilteredTopic;
164 class DomainParticipantListener;
165 class PublisherListener;
166 class SubscriberListener;
168 class DataReaderListener;
169 class DataWriterListener;
171 class GuardCondition;
172 class StatusCondition;
174 class QueryCondition;
197 typedef unsigned char Octet;
201 typedef long QosPolicyId_t;
202 typedef unsigned long SampleStateKind;
203 typedef unsigned long SampleStateMask;
204 typedef unsigned long ViewStateKind;
205 typedef unsigned long ViewStateMask;
206 typedef unsigned long InstanceStateKind;
207 typedef unsigned long InstanceStateMask;
208 typedef unsigned long StatusKind;
216 Time_t() : sec(0),nanosec(0) {};
217 Time_t(int32_t s, uint32_t nsec) : sec(s), nanosec(nsec) {};
236 typedef struct DCPSTopic TopicBuiltinTopicData;
260 #if defined(_WIN32) && !defined(__MINGW32__) 261 # pragma warning (disable : 4231) 273 #include <dds/dds_builtin.hh> 340 char value[COREDX_ENTITY_NAME_MAX];
363 char uri[COREDX_LOGGING_URI_MAX];
371 typedef struct Locator_t {
374 unsigned char addr[16];
386 typedef sequence<ParticipantLocator> ParticipantLocatorSeq;
387 #if defined(_WIN32) && !defined(__MINGW32__) 407 void clear() { this->value.clear(); }
757 const long LENGTH_UNLIMITED = DDS_LENGTH_UNLIMITED;
758 const long DURATION_INFINITE_SEC = DDS_DURATION_INFINITE_SEC;
759 const unsigned long DURATION_INFINITE_NSEC = DDS_DURATION_INFINITE_NSEC;
760 const long DURATION_ZERO_SEC = DDS_DURATION_ZERO_SEC;
761 const unsigned long DURATION_ZERO_NSEC = DDS_DURATION_ZERO_NSEC;
762 const long TIMESTAMP_INVALID_SEC = DDS_TIMESTAMP_INVALID_SEC;
763 const unsigned long TIMESTAMP_INVALID_NSEC = DDS_TIMESTAMP_INVALID_NSEC;
765 #define TIMESTAMP_INVALID { DDS_TIMESTAMP_INVALID_SEC, DDS_TIMESTAMP_INVALID_NSEC } 775 const ReturnCode_t RETCODE_UNSUPPORTED = DDS_RETCODE_UNSUPPORTED;
776 const ReturnCode_t RETCODE_BAD_PARAMETER = DDS_RETCODE_BAD_PARAMETER;
777 const ReturnCode_t RETCODE_PRECONDITION_NOT_MET = DDS_RETCODE_PRECONDITION_NOT_MET;
778 const ReturnCode_t RETCODE_OUT_OF_RESOURCES = DDS_RETCODE_OUT_OF_RESOURCES;
779 const ReturnCode_t RETCODE_NOT_ENABLED = DDS_RETCODE_NOT_ENABLED;
780 const ReturnCode_t RETCODE_IMMUTABLE_POLICY = DDS_RETCODE_IMMUTABLE_POLICY;
781 const ReturnCode_t RETCODE_INCONSISTENT_POLICY = DDS_RETCODE_INCONSISTENT_POLICY;
782 const ReturnCode_t RETCODE_ALREADY_DELETED = DDS_RETCODE_ALREADY_DELETED;
783 const ReturnCode_t RETCODE_TIMEOUT = DDS_RETCODE_TIMEOUT;
784 const ReturnCode_t RETCODE_NO_DATA = DDS_RETCODE_NO_DATA;
787 const unsigned long READ_SAMPLE_STATE = DDS_READ_SAMPLE_STATE;
788 const unsigned long NOT_READ_SAMPLE_STATE = DDS_NOT_READ_SAMPLE_STATE;
789 const unsigned long ANY_SAMPLE_STATE = DDS_ANY_SAMPLE_STATE;
792 const unsigned long NEW_VIEW_STATE = DDS_NEW_VIEW_STATE;
793 const unsigned long NOT_NEW_VIEW_STATE = DDS_NOT_NEW_VIEW_STATE;
794 const unsigned long ANY_VIEW_STATE = DDS_ANY_VIEW_STATE;
797 const unsigned long ALIVE_INSTANCE_STATE = DDS_ALIVE_INSTANCE_STATE;
798 const unsigned long NOT_ALIVE_DISPOSED_INSTANCE_STATE = DDS_NOT_ALIVE_DISPOSED_INSTANCE_STATE;
799 const unsigned long NOT_ALIVE_NO_WRITERS_INSTANCE_STATE= DDS_NOT_ALIVE_NO_WRITERS_INSTANCE_STATE;
800 const unsigned long NOT_ALIVE_INSTANCE_STATE = DDS_NOT_ALIVE_INSTANCE_STATE;
801 const unsigned long ANY_INSTANCE_STATE = DDS_ANY_INSTANCE_STATE;
803 const StatusKind NO_STATUS = DDS_NO_STATUS;
804 const StatusKind STATUS_MASK_NONE = DDS_NO_STATUS;
805 const StatusKind INCONSISTENT_TOPIC_STATUS = DDS_INCONSISTENT_TOPIC_STATUS;
806 const StatusKind OFFERED_DEADLINE_MISSED_STATUS = DDS_OFFERED_DEADLINE_MISSED_STATUS;
807 const StatusKind REQUESTED_DEADLINE_MISSED_STATUS = DDS_REQUESTED_DEADLINE_MISSED_STATUS;
808 const StatusKind OFFERED_INCOMPATIBLE_QOS_STATUS = DDS_OFFERED_INCOMPATIBLE_QOS_STATUS;
809 const StatusKind REQUESTED_INCOMPATIBLE_QOS_STATUS = DDS_REQUESTED_INCOMPATIBLE_QOS_STATUS;
810 const StatusKind SAMPLE_LOST_STATUS = DDS_SAMPLE_LOST_STATUS;
811 const StatusKind SAMPLE_REJECTED_STATUS = DDS_SAMPLE_REJECTED_STATUS;
812 const StatusKind DATA_ON_READERS_STATUS = DDS_DATA_ON_READERS_STATUS;
813 const StatusKind DATA_AVAILABLE_STATUS = DDS_DATA_AVAILABLE_STATUS;
814 const StatusKind LIVELINESS_LOST_STATUS = DDS_LIVELINESS_LOST_STATUS;
815 const StatusKind LIVELINESS_CHANGED_STATUS = DDS_LIVELINESS_CHANGED_STATUS;
816 const StatusKind PUBLICATION_MATCHED_STATUS = DDS_PUBLICATION_MATCHED_STATUS;
817 const StatusKind SUBSCRIPTION_MATCHED_STATUS = DDS_SUBSCRIPTION_MATCHED_STATUS;
818 const StatusKind ALL_STATUS = DDS_ALL_STATUS;
820 const QosPolicyId_t USERDATA_QOS_POLICY_ID = DDS_USERDATA_QOS_POLICY_ID;
821 const QosPolicyId_t DURABILITY_QOS_POLICY_ID = DDS_DURABILITY_QOS_POLICY_ID;
822 const QosPolicyId_t PRESENTATION_QOS_POLICY_ID = DDS_PRESENTATION_QOS_POLICY_ID;
823 const QosPolicyId_t DEADLINE_QOS_POLICY_ID = DDS_DEADLINE_QOS_POLICY_ID;
824 const QosPolicyId_t LATENCYBUDGET_QOS_POLICY_ID = DDS_LATENCYBUDGET_QOS_POLICY_ID;
825 const QosPolicyId_t OWNERSHIP_QOS_POLICY_ID = DDS_OWNERSHIP_QOS_POLICY_ID;
826 const QosPolicyId_t OWNERSHIPSTRENGTH_QOS_POLICY_ID = DDS_OWNERSHIPSTRENGTH_QOS_POLICY_ID;
827 const QosPolicyId_t LIVELINESS_QOS_POLICY_ID = DDS_LIVELINESS_QOS_POLICY_ID;
828 const QosPolicyId_t TIMEBASEDFILTER_QOS_POLICY_ID = DDS_TIMEBASEDFILTER_QOS_POLICY_ID;
829 const QosPolicyId_t PARTITION_QOS_POLICY_ID = DDS_PARTITION_QOS_POLICY_ID;
830 const QosPolicyId_t RELIABILITY_QOS_POLICY_ID = DDS_RELIABILITY_QOS_POLICY_ID;
831 const QosPolicyId_t DESTINATIONORDER_QOS_POLICY_ID = DDS_DESTINATIONORDER_QOS_POLICY_ID;
832 const QosPolicyId_t HISTORY_QOS_POLICY_ID = DDS_HISTORY_QOS_POLICY_ID;
833 const QosPolicyId_t RESOURCELIMITS_QOS_POLICY_ID = DDS_RESOURCELIMITS_QOS_POLICY_ID;
834 const QosPolicyId_t ENTITYFACTORY_QOS_POLICY_ID = DDS_ENTITYFACTORY_QOS_POLICY_ID;
835 const QosPolicyId_t WRITERDATALIFECYCLE_QOS_POLICY_ID = DDS_WRITERDATALIFECYCLE_QOS_POLICY_ID;
836 const QosPolicyId_t READERDATALIFECYCLE_QOS_POLICY_ID = DDS_READERDATALIFECYCLE_QOS_POLICY_ID;
837 const QosPolicyId_t TOPICDATA_QOS_POLICY_ID = DDS_TOPICDATA_QOS_POLICY_ID;
838 const QosPolicyId_t GROUPDATA_QOS_POLICY_ID = DDS_GROUPDATA_QOS_POLICY_ID;
839 const QosPolicyId_t TRANSPORTPRIORITY_QOS_POLICY_ID = DDS_TRANSPORTPRIORITY_QOS_POLICY_ID;
840 const QosPolicyId_t LIFESPAN_QOS_POLICY_ID = DDS_LIFESPAN_QOS_POLICY_ID;
841 const QosPolicyId_t DURABILITYSERVICE_QOS_POLICY_ID = DDS_DURABILITYSERVICE_QOS_POLICY_ID;
842 const QosPolicyId_t DATA_REPRESENTATION_QOS_POLICY_ID = DDS_DATA_REPRESENTATION_QOS_POLICY_ID;
844 COREDX_CPP_CONST
char * USERDATA_QOS_POLICY_NAME ;
845 COREDX_CPP_CONST
char * DURABILITY_QOS_POLICY_NAME ;
846 COREDX_CPP_CONST
char * PRESENTATION_QOS_POLICY_NAME ;
847 COREDX_CPP_CONST
char * DEADLINE_QOS_POLICY_NAME ;
848 COREDX_CPP_CONST
char * LATENCYBUDGET_QOS_POLICY_NAME ;
849 COREDX_CPP_CONST
char * OWNERSHIP_QOS_POLICY_NAME ;
850 COREDX_CPP_CONST
char * OWNERSHIPSTRENGTH_QOS_POLICY_NAME ;
851 COREDX_CPP_CONST
char * LIVELINESS_QOS_POLICY_NAME ;
852 COREDX_CPP_CONST
char * TIMEBASEDFILTER_QOS_POLICY_NAME ;
853 COREDX_CPP_CONST
char * PARTITION_QOS_POLICY_NAME ;
854 COREDX_CPP_CONST
char * RELIABILITY_QOS_POLICY_NAME ;
855 COREDX_CPP_CONST
char * DESTINATIONORDER_QOS_POLICY_NAME ;
856 COREDX_CPP_CONST
char * HISTORY_QOS_POLICY_NAME ;
857 COREDX_CPP_CONST
char * RESOURCELIMITS_QOS_POLICY_NAME ;
858 COREDX_CPP_CONST
char * ENTITYFACTORY_QOS_POLICY_NAME ;
859 COREDX_CPP_CONST
char * WRITERDATALIFECYCLE_QOS_POLICY_NAME ;
860 COREDX_CPP_CONST
char * READERDATALIFECYCLE_QOS_POLICY_NAME ;
861 COREDX_CPP_CONST
char * TOPICDATA_QOS_POLICY_NAME ;
862 COREDX_CPP_CONST
char * GROUPDATA_QOS_POLICY_NAME ;
863 COREDX_CPP_CONST
char * TRANSPORTPRIORITY_QOS_POLICY_NAME ;
864 COREDX_CPP_CONST
char * LIFESPAN_QOS_POLICY_NAME ;
865 COREDX_CPP_CONST
char * DURABILITYSERVICE_POLICY_NAME ;
866 COREDX_CPP_CONST
char * DATA_REPRESENTATION_POLICY_NAME ;
869 COREDX_CPP_CONST
TopicQos TOPIC_QOS_DEFAULT ;
915 void init(
struct _Entity * e);
916 struct _Entity * _entity;
949 static void destroy();
1012 static void check_cpp_assumptions();
1016 extern "C" void dp_offered_deadline_missed_wrapper(
struct _DataWriter * the_c_writer,
1017 OfferedDeadlineMissedStatus status);
1018 extern "C" void dp_offered_incompatible_qos_wrapper(
struct _DataWriter * the_c_writer,
1019 OfferedIncompatibleQosStatus status );
1020 extern "C" void dp_liveliness_lost_wrapper(
struct _DataWriter * the_c_writer,
1021 LivelinessLostStatus status );
1022 extern "C" void dp_publication_matched_wrapper(
struct _DataWriter * the_c_writer,
1023 PublicationMatchedStatus status );
1024 extern "C" void dp_data_on_readers_wrapper (
struct _Subscriber * the_subscriber );
1025 extern "C" void dp_data_available_wrapper (
struct _DataReader * the_reader );
1026 extern "C" void dp_sample_rejected_wrapper (
struct _DataReader * the_reader,
1027 SampleRejectedStatus status );
1028 extern "C" void dp_liveliness_changed_wrapper (
struct _DataReader * the_reader,
1029 LivelinessChangedStatus status );
1030 extern "C" void dp_requested_deadline_missed_wrapper(
struct _DataReader * the_reader,
1031 RequestedDeadlineMissedStatus status );
1032 extern "C" void dp_requested_incompatible_qos_wrapper(
struct _DataReader * the_reader,
1033 RequestedIncompatibleQosStatus status );
1034 extern "C" void dp_subscription_matched_wrapper(
struct _DataReader * the_reader,
1035 SubscriptionMatchedStatus status );
1036 extern "C" void dp_sample_lost_wrapper (
struct _DataReader * the_reader,
1037 SampleLostStatus status );
1038 extern "C" void dp_inconsistent_topic_wrapper(
struct _Topic * the_topic,
1039 InconsistentTopicStatus status );
1144 class Topic * create_topic(
const char * topic_name,
1145 const char * type_name,
1170 class Topic * find_topic (
const char * topic_name,
1172 class Topic * find_topic (
const char * topic_name,
1173 const DDS_Duration_t & timeout);
1350 class Topic * related_topic,
1351 const char * filter_expression,
1368 class MultiTopic * create_multitopic(
const char * name,
1369 const char * type_name,
1370 const char * subscription_expression,
1377 ReturnCode_t delete_multitopic(
class MultiTopic * a_multitopic);
1384 ReturnCode_t get_discovered_topic_data( TopicBuiltinTopicData * topic_data,
1422 ReturnCode_t add_transport(
struct CoreDX_Transport * transport);
1424 DDS_DomainParticipant get_core_participant();
1453 struct DP_impl * _impl;
1461 static void initialize_listener( DDS_DomainParticipantListener * core_listener,
1464 friend void dp_offered_deadline_missed_wrapper(
struct _DataWriter * the_c_writer,
1465 OfferedDeadlineMissedStatus status);
1466 friend void dp_offered_incompatible_qos_wrapper(
struct _DataWriter * the_c_writer,
1467 OfferedIncompatibleQosStatus status );
1468 friend void dp_liveliness_lost_wrapper(
struct _DataWriter * the_c_writer,
1469 LivelinessLostStatus status );
1470 friend void dp_publication_matched_wrapper(
struct _DataWriter * the_c_writer,
1471 PublicationMatchedStatus status );
1472 friend void dp_data_on_readers_wrapper (
struct _Subscriber * the_subscriber );
1473 friend void dp_data_available_wrapper (
struct _DataReader * the_reader );
1474 friend void dp_sample_rejected_wrapper (
struct _DataReader * the_reader,
1475 SampleRejectedStatus status );
1476 friend void dp_liveliness_changed_wrapper (
struct _DataReader * the_reader,
1477 LivelinessChangedStatus status );
1478 friend void dp_requested_deadline_missed_wrapper(
struct _DataReader * the_reader,
1479 RequestedDeadlineMissedStatus status );
1480 friend void dp_requested_incompatible_qos_wrapper(
struct _DataReader * the_reader,
1481 RequestedIncompatibleQosStatus status );
1482 friend void dp_subscription_matched_wrapper(
struct _DataReader * the_reader,
1483 SubscriptionMatchedStatus status );
1484 friend void dp_sample_lost_wrapper (
struct _DataReader * the_reader,
1485 SampleLostStatus status );
1486 friend void dp_inconsistent_topic_wrapper(
struct _Topic * the_topic,
1487 InconsistentTopicStatus status );
1497 ReturnCode_t register_type( TypeSupport * ts,
const char * type_name );
1507 int check_version(
const char * major,
const char * minor,
const char * patch);
1508 int validate_version(
const char * tname,
const char * major,
const char * minor,
const char * patch);
1509 TypeSupport * get_type(
const char * type_name );
1513 void print_stats( );
1518 extern "C" void pub_offered_deadline_missed_wrapper( _DataWriter * the_c_writer,
1519 OfferedDeadlineMissedStatus status);
1520 extern "C" void pub_offered_incompatible_qos_wrapper( _DataWriter * the_c_writer,
1521 OfferedIncompatibleQosStatus status );
1522 extern "C" void pub_liveliness_lost_wrapper( _DataWriter * the_c_writer,
1523 LivelinessLostStatus status );
1524 extern "C" void pub_publication_matched_wrapper( _DataWriter * the_c_writer,
1525 PublicationMatchedStatus status );
1603 class DataWriter * lookup_datawriter(
const char * topic_name);
1708 static void initialize_listener( DDS_PublisherListener * core_listener,
1710 friend void pub_offered_deadline_missed_wrapper( _DataWriter * the_c_writer,
1711 OfferedDeadlineMissedStatus status);
1712 friend void pub_offered_incompatible_qos_wrapper( _DataWriter * the_c_writer,
1713 OfferedIncompatibleQosStatus status );
1714 friend void pub_liveliness_lost_wrapper( _DataWriter * the_c_writer,
1715 LivelinessLostStatus status );
1716 friend void pub_publication_matched_wrapper( _DataWriter * the_c_writer,
1717 PublicationMatchedStatus status );
1719 struct PUB_impl * _impl;
1722 extern "C" void sub_data_on_readers_wrapper (
struct _Subscriber * the_subscriber );
1723 extern "C" void sub_data_available_wrapper (
struct _DataReader * the_reader );
1724 extern "C" void sub_sample_rejected_wrapper (
struct _DataReader * the_reader,
1725 SampleRejectedStatus status );
1726 extern "C" void sub_liveliness_changed_wrapper (
struct _DataReader * the_reader,
1727 LivelinessChangedStatus status );
1728 extern "C" void sub_requested_deadline_missed_wrapper(
struct _DataReader * the_reader,
1729 RequestedDeadlineMissedStatus status );
1730 extern "C" void sub_requested_incompatible_qos_wrapper(
struct _DataReader * the_reader,
1731 RequestedIncompatibleQosStatus status );
1732 extern "C" void sub_subscription_matched_wrapper(
struct _DataReader * the_reader,
1733 SubscriptionMatchedStatus status );
1734 extern "C" void sub_sample_lost_wrapper (
struct _DataReader * the_reader,
1735 SampleLostStatus status );
1822 DataReader * lookup_datareader(
const char * topic_name);
1840 SampleStateMask sample_states,
1841 ViewStateMask view_states,
1842 InstanceStateMask instance_states) ;
1928 static void initialize_listener( DDS_SubscriberListener * core_listener,
1930 friend void sub_data_on_readers_wrapper (
struct _Subscriber * the_subscriber );
1931 friend void sub_data_available_wrapper (
struct _DataReader * the_reader );
1932 friend void sub_sample_rejected_wrapper (
struct _DataReader * the_reader,
1933 SampleRejectedStatus status );
1934 friend void sub_liveliness_changed_wrapper (
struct _DataReader * the_reader,
1935 LivelinessChangedStatus status );
1936 friend void sub_requested_deadline_missed_wrapper(
struct _DataReader * the_reader,
1937 RequestedDeadlineMissedStatus status );
1938 friend void sub_requested_incompatible_qos_wrapper(
struct _DataReader * the_reader,
1939 RequestedIncompatibleQosStatus status );
1940 friend void sub_subscription_matched_wrapper(
struct _DataReader * the_reader,
1941 SubscriptionMatchedStatus status );
1942 friend void sub_sample_lost_wrapper (
struct _DataReader * the_reader,
1943 SampleLostStatus status );
1945 struct SUB_impl * _impl;
1972 virtual const char * get_type_name ( );
1977 virtual const char * get_name ( );
1979 struct _TopicDescription * _td;
1982 extern "C" void top_inconsistent_topic_wrapper(
struct _Topic * topic,
1983 InconsistentTopicStatus status );
2006 const char * get_type_name ( );
2010 const char * get_name ( );
2077 ReturnCode_t get_inconsistent_topic_status( InconsistentTopicStatus * a_status);
2082 static void initialize_listener( DDS_TopicListener * core_listener,
2084 friend void top_inconsistent_topic_wrapper(
struct _Topic * topic,
2085 InconsistentTopicStatus status );
2086 struct _Topic * _topic;
2130 const char * get_type_name ( );
2131 const char * get_name ( );
2136 Topic * get_related_topic( );
2157 struct _ContentFilteredTopic * _cf_topic;
2158 Topic * _related_topic;
2161 extern "C" void dw_offered_deadline_missed_wrapper( _DataWriter * the_c_writer,
2162 OfferedDeadlineMissedStatus status);
2163 extern "C" void dw_offered_incompatible_qos_wrapper( _DataWriter * the_c_writer,
2164 OfferedIncompatibleQosStatus status );
2165 extern "C" void dw_liveliness_lost_wrapper( _DataWriter * the_c_writer,
2166 LivelinessLostStatus status );
2167 extern "C" void dw_publication_matched_wrapper( _DataWriter * the_c_writer,
2168 PublicationMatchedStatus status );
2250 class Topic * get_topic();
2287 const Time_t & source_timestamp);
2294 ReturnCode_t unregister_instance(
const void * instance_data,
2302 ReturnCode_t unregister_instance_w_timestamp(
const void * instance_data,
2304 const Time_t & source_timestamp);
2331 ReturnCode_t write_w_timestamp(
const void * instance_data,
2333 const Time_t & source_timestamp);
2348 ReturnCode_t dispose_w_timestamp(
const void * instance_data,
2350 const Time_t & source_timestamp);
2370 ReturnCode_t write_request(
const void * instance_data,
2387 ReturnCode_t get_liveliness_lost_status ( LivelinessLostStatus *status );
2392 ReturnCode_t get_offered_deadline_missed_status ( OfferedDeadlineMissedStatus *status );
2397 ReturnCode_t get_offered_incompatible_qos_status( OfferedIncompatibleQosStatus *status );
2402 ReturnCode_t get_publication_matched_status ( PublicationMatchedStatus *status );
2420 ReturnCode_t get_cache_stats( CacheStatistics & stats );
2432 static void initialize_listener( DDS_DataWriterListener * core_listener,
2434 friend void dw_offered_deadline_missed_wrapper( _DataWriter * the_c_writer,
2435 OfferedDeadlineMissedStatus status);
2436 friend void dw_offered_incompatible_qos_wrapper( _DataWriter * the_c_writer,
2437 OfferedIncompatibleQosStatus status );
2438 friend void dw_liveliness_lost_wrapper( _DataWriter * the_c_writer,
2439 LivelinessLostStatus status );
2440 friend void dw_publication_matched_wrapper( _DataWriter * the_c_writer,
2441 PublicationMatchedStatus status );
2443 struct DW_impl * _impl;
2447 extern "C" void dr_requested_deadline_missed_wrapper( _DataReader * dr, RequestedDeadlineMissedStatus status );
2448 extern "C" void dr_requested_incompatible_qos_wrapper( _DataReader * dr, RequestedIncompatibleQosStatus status );
2449 extern "C" void dr_sample_rejected_wrapper( _DataReader * dr, SampleRejectedStatus status );
2450 extern "C" void dr_liveliness_changed_wrapper( _DataReader * dr, LivelinessChangedStatus status );
2451 extern "C" void dr_data_available_wrapper( _DataReader * dr );
2452 extern "C" void dr_subscription_matched_wrapper( _DataReader * dr, SubscriptionMatchedStatus status );
2453 extern "C" void dr_sample_lost_wrapper( _DataReader * dr, SampleLostStatus status );
2470 friend class coredx::rpc::Requester;
2506 ReadCondition * create_readcondition( SampleStateMask sample_states,
2507 ViewStateMask view_states,
2508 InstanceStateMask instance_states);
2581 ReturnCode_t get_sample_rejected_status ( SampleRejectedStatus * status);
2586 ReturnCode_t get_liveliness_changed_status( LivelinessChangedStatus * status);
2591 ReturnCode_t get_requested_deadline_missed_status ( RequestedDeadlineMissedStatus * status);
2596 ReturnCode_t get_requested_incompatible_qos_status( RequestedIncompatibleQosStatus * status);
2601 ReturnCode_t get_subscription_matched_status ( SubscriptionMatchedStatus * status);
2606 ReturnCode_t get_sample_lost_status ( SampleLostStatus * status);
2660 QueryCondition * create_querycondition( SampleStateMask sample_states,
2661 ViewStateMask view_states,
2662 InstanceStateMask instance_states,
2663 const char * query_expression,
2710 SampleStateMask sample_states,
2711 ViewStateMask view_states,
2712 InstanceStateMask instance_states);
2756 SampleStateMask sample_states,
2757 ViewStateMask view_states,
2758 InstanceStateMask instance_states);
2791 SampleInfo * sample_info);
2800 SampleInfo * sample_info);
2813 SampleStateMask sample_states,
2814 ViewStateMask view_states,
2815 InstanceStateMask instance_states);
2828 SampleStateMask sample_states,
2829 ViewStateMask view_states,
2830 InstanceStateMask instance_states);
2843 SampleStateMask sample_states,
2844 ViewStateMask view_states,
2845 InstanceStateMask instance_states);
2858 SampleStateMask sample_states,
2859 ViewStateMask view_states,
2860 InstanceStateMask instance_states);
2924 ReturnCode_t get_cache_stats( CacheStatistics & stats );
2931 static void initialize_listener( DDS_DataReaderListener * core_listener,
2933 friend void dr_requested_deadline_missed_wrapper( _DataReader * dr, RequestedDeadlineMissedStatus status );
2934 friend void dr_requested_incompatible_qos_wrapper( _DataReader * dr, RequestedIncompatibleQosStatus status );
2935 friend void dr_sample_rejected_wrapper( _DataReader * dr, SampleRejectedStatus status );
2936 friend void dr_liveliness_changed_wrapper( _DataReader * dr, LivelinessChangedStatus status );
2937 friend void dr_data_available_wrapper( _DataReader * dr );
2938 friend void dr_subscription_matched_wrapper( _DataReader * dr, SubscriptionMatchedStatus status );
2939 friend void dr_sample_lost_wrapper( _DataReader * dr, SampleLostStatus status );
2941 struct DR_impl * _impl;
2965 virtual bool get_trigger_value();
2970 struct _Condition * _condition;
2993 bool get_trigger_value();
3005 struct _GuardCondition * _guard_condition;
3025 bool get_trigger_value();
3043 struct _StatusCondition * _status_condition;
3066 bool get_trigger_value();
3074 SampleStateKind get_sample_state_mask();
3078 ViewStateKind get_view_state_mask();
3082 InstanceStateKind get_instance_state_mask();
3086 struct _ReadCondition * _read_condition;
3111 const char * get_query_expression (
void );
3142 struct _QueryCondition * _query_condition;
3197 struct _WaitSet * _wait_set;
3203 class COREDX_CPP_CLASS_API Listener
3206 Listener() { nil_listeners = 0; }
3207 virtual ~Listener() {};
3246 const OfferedDeadlineMissedStatus & ) {};
3254 const OfferedIncompatibleQosStatus & ) {};
3261 const LivelinessLostStatus & ) {};
3269 const PublicationMatchedStatus & ) {};
3317 const InconsistentTopicStatus & ) {};
3346 const RequestedDeadlineMissedStatus & ) {};
3354 const RequestedIncompatibleQosStatus & ) {};
3361 const SampleRejectedStatus & ) {};
3368 const LivelinessChangedStatus & ) {};
3381 const SubscriptionMatchedStatus & ) {};
3388 const SampleLostStatus & ) {};
3474 void String_free(
char * str);
3475 char * String_dup(
const char * other);
unsigned int precache_max_samples
Maximum number of samples held in pre-cache [only for RELIABLE readers].
Definition: dds.hh:437
Definition: dds_builtin.hh:1866
The SubscriberListener provides asynchronous notification of Subscriber events.
Definition: dds.hh:3405
Duration_t dpd_push_period
Multicast DiscoveredParticipantData each period.
Definition: dds.hh:459
HistoryQosPolicy history
The data history requested by the DataReader.
Definition: dds.hh:683
long ReturnCode_t
Definition: dds.hh:200
ResourceLimitsQosPolicy resource_limits
The resource limits set on the DataWriter.
Definition: dds.hh:600
Determines instance ownership in the case of multple writers. CoreDX DDS supports both SHARED_OWNERSH...
Definition: dds_builtin.hh:652
Definition: dds_builtin.hh:1776
LoggingQosPolicy logging
Controls the logging behavior of the DataReader.
Definition: dds.hh:702
The DataWriter entity provides an interface for the application to publish (write) data...
Definition: dds.hh:2179
Status related to the on_offered_incompatible_qos listener methods of the DDS_DataWriter, DDS_Publisher, and DDS_DomainParticipant structures.
Definition: dds_types.h:344
Encapsulates statistics available from a DataReader or DataWriter.
Definition: dds_types.h:419
The DurabilityQosPolicy controls the durablity of data.
Definition: dds_builtin.hh:405
Configures a list of DomainParticipant peers to attempt communication with.
Definition: dds.hh:396
DomainParticipantFactory constructs DomainParticipants. The.
Definition: dds.hh:941
ReaderDataLifecycleQosPolicy reader_data_lifecycle
Controls the auto-purge behavior of the DataReader.
Definition: dds.hh:688
TransportPriorityQosPolicy transport_priority
The transport priority supported by the DataWriter.
Definition: dds.hh:601
EntityNameQosPolicy entity_name
Controls the Entity name of the DataWriter.
Definition: dds.hh:614
The DomainParticipant is used to configure, create and destroy Publisher, Subscriber and Topic object...
Definition: dds.hh:1052
LatencyBudgetQosPolicy latency_budget
The latency allowed by the DataWriter.
Definition: dds.hh:595
Defines the strength, or priority, of a Writer. The strength is used to determine ownership in the ca...
Definition: dds_builtin.hh:704
unsigned int participant_id
participant id start
Definition: dds.hh:381
DurabilityQosPolicy durability
The durability policy of the Topic.
Definition: dds.hh:553
Status related to the on_liveliness_changed listener methods of the DDS_DataReader, DDS_Subscriber, and DDS_DomainParticipant structures.
Definition: dds_types.h:296
EntityNameQosPolicy entity_name
Controls the Entity name of the DomainParticipant.
Definition: dds.hh:525
A hint to the middleware to help configure the transport priority mechanism.
Definition: dds_builtin.hh:269
DiscoveryQosPolicyDiscoveryKind
This enumeration contains the kinds of Discovery.
Definition: dds.hh:447
EntityFactoryQosPolicy entity_factory
Controls the behavior of the Subscriber.create_datareader() operation.
Definition: dds.hh:741
LivelinessQosPolicy liveliness
Identifies the mechanism used to detect and maintain livelines of DataWriters on the Topic...
Definition: dds.hh:557
virtual void on_offered_deadline_missed(DataWriter *, const OfferedDeadlineMissedStatus &)
Definition: dds.hh:3245
LifespanQosPolicy lifespan
The expiration time for old samples managed by the DataWriter.
Definition: dds.hh:602
DestinationOrderQosPolicy destination_order
The destination order logic offered by the DataWriter.
Definition: dds.hh:598
LivelinessQosPolicy liveliness
The liveliness mechanism offered by the DataWriter.
Definition: dds.hh:596
WriterDataLifecycleQosPolicy writer_data_lifecycle
Indicates if unregistered instances should be automatically disposed by the DataWriter.
Definition: dds.hh:606
virtual void on_requested_incompatible_qos(DataReader *, const RequestedIncompatibleQosStatus &)
Definition: dds.hh:3353
PresentationQosPolicy presentation
Controls the presentation of groups of changes.
Definition: dds.hh:724
Describes the data representation used by a topic.
Definition: dds_builtin.hh:1348
DDS_BUILTIN_TOPIC_KEY_TYPE_NATIVE guid_pid
specify the PID field of the GUID, leave as zero (0) for automatic
Definition: dds.hh:458
ResourceLimitsQosPolicy resource_limits
The resource limitations for the Topic.
Definition: dds.hh:561
ThreadModelQosPolicy thread_model
Controls the threading behavior of the DomainParticipant.
Definition: dds.hh:529
Indicates the level of reliability offered/provided by the Entity. If kind is RELIABLE_RELIABILITY_QO...
Definition: dds_builtin.hh:993
Duration_t autopurge_disposed_samples_delay
delay after which it is ok to purge samples from instances that are disposed
Definition: dds.hh:323
DDS::sequence< void * > Sequence
sequence of void pointers
Definition: dds.hh:252
Structure that holds Publisher Quality of Service policies.
Definition: dds.hh:633
TimeBasedFilterQosPolicy time_based_filter
The maximum update frequency required/desired by the DataReader.
Definition: dds.hh:687
Structure that holds DomainParticipantFactory Quality of Service policies.
Definition: dds.hh:499
Status related to the on_inconsistent_topic listener methods of the DDS_TopicListener structure...
Definition: dds_types.h:241
RTPSReaderQosPolicy rtps_reader
Controls aspects of the RTPS Reader protocol for the DataReader.
Definition: dds.hh:703
EntityFactoryQosPolicy entity_factory
Controls the behavior of the DomainParticipant 'create' operations.
Definition: dds.hh:503
OwnershipStrengthQosPolicy ownership_strength
The measure of 'ownership strength' offered by the DataWriter.
Definition: dds.hh:605
EntityNameQosPolicy entity_name
Controls the Entity name of the DataReader.
Definition: dds.hh:701
LoggingQosPolicy logging
Controls the logging behavior of the DataWriter.
Definition: dds.hh:615
DDS::sequence< Condition * > ConditionSeq
sequence of Condition pointers
Definition: dds.hh:250
uint32_t nanosec
Definition: dds_types.h:75
LivelinessQosPolicy liveliness
The liveliness mechanism requested by the DataReader.
Definition: dds.hh:680
unsigned char enable_batch_msg
use the 'BATCH' RTPS message to send data if all Readers accept BATCH
Definition: dds.hh:421
Definition: dds_builtin.hh:1270
TypeConsistencyEnforcementQosPolicy type_consistency
Influences the algorithm that matches DataReaders and DataWriters based on their data type compatibil...
Definition: dds.hh:693
Duration_t nack_response_delay
The nack_response_delay to configure for builtin writers.
Definition: dds.hh:462
unsigned char send_typecode
send TYPECODE info for associated data type
Definition: dds.hh:422
unsigned char send_initial_nack
send a ACKNACK immediately after matching with a new Writer
Definition: dds.hh:467
Duration_t nack_response_delay
ammount of time allowed for responding to NACKs
Definition: dds.hh:415
Specifies the lifecycle behavior of data instances managed by the DataWriter. If autodispose_unregist...
Definition: dds.hh:307
Duration_t dpd_lease_duration
How long we consider a discoverd Participant to be alive without hearing from them.
Definition: dds.hh:460
ReliabilityQosPolicy reliability
The transport reliability requested by the DataReader.
Definition: dds.hh:681
A WaitSet maintains a set of Condition objects and allows the application to wait until one or more o...
Definition: dds.hh:3156
DestinationOrderQosPolicy destination_order
The ordering of received samples on the Topic will be either by SOURCE or RECEPTION timestamp...
Definition: dds.hh:559
DDS::sequence< InstanceHandle_t > InstanceHandleSeq
sequence of InstanceHandle_t s
Definition: dds.hh:248
EntityFactoryQosPolicy entity_factory
Controls the behavior of the Publisher.create_datawriter() operation.
Definition: dds.hh:653
The Subscriber configures, creates, manages and destroys DataReaders.
Definition: dds.hh:1743
ReliabilityQosPolicy reliability
Indicates the level of transport reliability on the Topic.
Definition: dds.hh:558
DataRepresentationQosPolicy representation
Informs DataReader(s) of the single data representation supported by this Writer. This must be consis...
Definition: dds.hh:607
Duration_t nack_suppress_delay
ammount of time to ignore NACKs after a repair
Definition: dds.hh:416
OwnershipQosPolicy ownership
The type of 'ownership' offered by the DataReader.
Definition: dds.hh:686
LatencyBudgetQosPolicy latency_budget
The latency requested by the DataReader.
Definition: dds.hh:679
unsigned int max_buffer_size
max size in bytes of written data
Definition: dds.hh:419
The DomainParticipant will connect to the CoreDX DDS CDD for discovery.
Definition: dds.hh:449
virtual void on_sample_lost(DataReader *, const SampleLostStatus &)
Definition: dds.hh:3387
unsigned char autoenable_created_entities
should created entities be automatically enabled
Definition: dds.hh:291
Status related to the on_liveliness_lost listener methods of the DDS_DataWriter, DDS_Publisher, and DDS_DomainParticipant structures.
Definition: dds_types.h:285
virtual void on_requested_deadline_missed(DataReader *, const RequestedDeadlineMissedStatus &)
Definition: dds.hh:3345
PartitionQosPolicy partition
Establishes a logical data partition.
Definition: dds.hh:732
ContentFilteredTopic provides a topic that may exclude data based on a specified filter. The ContentFilteredTopic is associated with another un-filtered topic related_topic. It applies a filter to the data of the related topic. If a data sample passes the filter, it will be made available to a DataReader associated with the ContentFilteredTopic.
Definition: dds.hh:2125
Definition: dds_types.h:72
TopicDescription is an abstract 'class' that provides the foundation for Topic, ContentFilteredTopic...
Definition: dds.hh:1956
EntityNameQosPolicy entity_name
Controls the Entity name of the Subscriber.
Definition: dds.hh:742
The DataReaderListener provides asynchronous notification of DataReader events.
Definition: dds.hh:3334
Controls the amount and kind of information that is logged.
Definition: dds.hh:355
UserDataQosPolicy user_data
A sequence of octets associated with the DataWriter.
Definition: dds.hh:603
DDS::sequence< DataReader * > DataReaderSeq
sequence of DataReader pointers
Definition: dds.hh:246
virtual void on_offered_incompatible_qos(DataWriter *, const OfferedIncompatibleQosStatus &)
Definition: dds.hh:3253
A ReadCondition is a specialized Condition associated with a DataReader.
Definition: dds.hh:3057
Definition: dds_builtin_basic.hh:141
EntityFactoryQosPolicy entity_factory
Controls the behavior of the DomainParticipant create operations.
Definition: dds.hh:524
UserDataQosPolicy user_data
A sequence of octets associated with the DataReader.
Definition: dds.hh:685
GroupDataQosPolicy group_data
A sequence of octets associated with the Publisher.
Definition: dds.hh:652
unsigned char send_initial_nack
send a ACKNACK immediately after matching with a new Writer
Definition: dds.hh:436
LoggingQosPolicy logging
Controls the logging behavior of the Subscriber.
Definition: dds.hh:743
The DataReader entity allows the application to subscribe to and read data.
Definition: dds.hh:2466
A QueryCondition is a specialized ReadCondition which includes a filter.
Definition: dds.hh:3099
DDS::DiscoveryQosPolicyDiscoveryKind discovery_kind
the kind of discovery to employ
Definition: dds.hh:457
Duration_t autopurge_nowriter_samples_delay
delay after which it is ok to purge samples from instances with no writer(s)
Definition: dds.hh:322
virtual void on_data_available(DataReader *)
Definition: dds.hh:3374
A GuardCondition is a condition where the trigger_value is under application control.
Definition: dds.hh:2982
Structure that holds Subscriber Quality of Service policies.
Definition: dds.hh:721
Status related to the on_offered_deadline_missed listener methods of the DDS_DataWriter, DDS_Publisher, and DDS_DomainParticipant structures.
Definition: dds_types.h:310
Specifies allowable latency.
Definition: dds_builtin.hh:593
DeadlineQosPolicy deadline
The requested update frequency for data instances.
Definition: dds.hh:678
unsigned int flags
flags to control logging output
Definition: dds.hh:356
UserDataQosPolicy user_data
A sequence of octets associated with a DomainParticipant.
Definition: dds.hh:523
The PublisherListener provides asynchronous notification of Publisher events.
Definition: dds.hh:3286
Topic is the basic description of data to be published or subscribed.
Definition: dds.hh:1997
Network address.
Definition: dds.hh:371
DeadlineQosPolicy deadline
The deadline committed to by the DataWriter.
Definition: dds.hh:594
Holds a DDS_QosPolicyId_t value and a counter to indicate the number of events associated with that P...
Definition: dds_types.h:332
Definition: dds_builtin.hh:1723
unsigned char strict_match
Definition: dds.hh:398
virtual void on_subscription_matched(DataReader *, const SubscriptionMatchedStatus &)
Definition: dds.hh:3380
Duration_t heartbeat_response_delay
ammount of time allowed for responding to a heartbeat
Definition: dds.hh:433
The SampleInfo structure contains information associated with each sample.
Definition: dds_types.h:159
HistoryQosPolicy history
The amount of historical data maintained for the Topic.
Definition: dds.hh:560
Augment a DataWriter or DataReader with RPC specific information.
Definition: dds_builtin.hh:1510
A StatusCondition is a condition associated with an Entity.
Definition: dds.hh:3016
DDS::sequence< unsigned char > OctetSeq
sequence of octets
Definition: dds.hh:256
DataRepresentationQosPolicy representation
Informs DataWriter(s) of the data representation(s) supported by this Reader. This must be consistent...
Definition: dds.hh:689
RpcQosPolicy rpc
Configure RPC relevant settings: instance_name, related_entity, and topic_aliases.
Definition: dds.hh:611
Provides the DDS infrastructure.
Definition: dds_builtin_basic.hh:28
Duration_t heartbeat_response_delay
The heartbeat_response_delay to configure for builtin readers.
Definition: dds.hh:466
A Condition can be added to a WaitSet to provide synchronous event notification.
Definition: dds.hh:2955
Base class for all DDS Domain Entities.
Definition: dds.hh:928
GroupDataQosPolicy group_data
A sequence of octets associated with the Publisher.
Definition: dds.hh:740
PeerParticipantQosPolicy peer_participants
Specifies a list of DomainParticipant peers to attempt communication with. If empty, default Discovery is used.
Definition: dds.hh:527
RTPSWriterQosPolicy rtps_writer
Controls aspects of the RTPS Writer protocol for the DataWriter.
Definition: dds.hh:616
Controls the ammount of historical data maintained by a DataReader or DataWriter. ...
Definition: dds_builtin.hh:1139
TopicDataQosPolicy topic_data
A sequence of octets associated with a Topic.
Definition: dds.hh:552
OwnershipQosPolicy ownership
The type of 'ownership' expected for data instances on the Topic.
Definition: dds.hh:564
unsigned int max_buffer_size
The max_buffer_size to configure for builtin writers.
Definition: dds.hh:465
Defines a logical data partition.
Definition: dds_builtin.hh:916
Allows the application to attach arbitrary information to a DomainParticipant, DataWriter or DataRead...
Definition: dds_builtin.hh:106
LoggingQosPolicy logging
Controls the logging behavior of the Publisher.
Definition: dds.hh:655
DestinationOrderQosPolicy destination_order
The destination order logic requested by the DataReader.
Definition: dds.hh:682
Allows the application to attach arbitrary information to a Publisher or Subscriber.
Definition: dds_builtin.hh:221
unsigned char accept_batch_msg
allow writers to use the 'BATCH' RTPS message
Definition: dds.hh:434
rules for determining type consistency
Definition: dds_builtin.hh:1409
DDS_DOMAINID_TYPE_NATIVE DomainId_t
Definition: dds.hh:198
DDS::sequence< char * > StringSeq
sequence of character pointers (c strings)
Definition: dds.hh:254
The TopicListener provides asynchronous notification of Topic events.
Definition: dds.hh:3306
LatencyBudgetQosPolicy latency_budget
Identifies the 'urgency' of the data on the Topic. The middleware uses this to batch data samples is ...
Definition: dds.hh:556
Definition: dds_builtin.hh:1676
PropertyQosPolicy properties
Additional name:value pair properties (if propagate=true, included in discovery)
Definition: dds.hh:530
QoS Policy for configuring aspects of the RTPS Reader Protocol.
Definition: dds.hh:432
virtual void on_sample_rejected(DataReader *, const SampleRejectedStatus &)
Definition: dds.hh:3360
Definition: dds_builtin_basic.hh:239
LoggingQosPolicy logging
Controls the logging behavior of the DomainParticipant.
Definition: dds.hh:526
DurabilityQosPolicy durability
The durability policy requested by the DataReader.
Definition: dds.hh:677
Duration_t ack_deadline
after which a realiable reader will be considered unresponsive
Definition: dds.hh:417
HistoryQosPolicy history
The data history maintained by the DataWriter.
Definition: dds.hh:599
Structure that holds Topic Quality of Service policies.
Definition: dds.hh:549
Structure that holds DataWriter Quality of Service policies.
Definition: dds.hh:589
unsigned int participant_id_max
participant id max
Definition: dds.hh:382
LifespanQosPolicy lifespan
The 'expiration time' for old data samples on the Topic.
Definition: dds.hh:563
DeadlineQosPolicy deadline
Defines the expected update frequency for data instances within the Topic.
Definition: dds.hh:555
DurabilityServiceQosPolicy durability_service
The durability service configuration offered by the DataWriter.
Definition: dds.hh:593
unsigned long StatusMask
Definition: dds.hh:209
Describes a the location and identity of a potential peer DomainParticipant.
Definition: dds.hh:380
ReliabilityQosPolicy reliability
The transport reliability offered by the DataWriter.
Definition: dds.hh:597
Base class for all DDS Entities.
Definition: dds.hh:884
QoS Policy for configuring aspects of the Discovery and Builtin entities.
Definition: dds.hh:456
Duration_t heartbeat_period
period to transmit heartbeat messages if required
Definition: dds.hh:414
The DomainParticipantListener provides asynchronous notification of DomainParticipant events...
Definition: dds.hh:3433
The DataWriterListener provides asynchronous notification of DataWriter events.
Definition: dds.hh:3233
DataRepresentationQosPolicy representation
The data representation(s) supported by Writer(s) and Reader(s) of this topic. The first entry in the...
Definition: dds.hh:565
This QoS policy controls how each Subscriber orders received data samples.
Definition: dds_builtin.hh:1060
Duration_t nack_suppress_delay
The nack_suppress_delay to configure for builtin writers.
Definition: dds.hh:463
TransportPriorityQosPolicy transport_priority
The priority to be used for messages on the Topic.
Definition: dds.hh:562
Status related to the on_requested_deadline_missed listener methods of the DDS_DataReader, DDS_Subscriber, and DDS_DomainParticipant structures.
Definition: dds_types.h:321
EntityNameQosPolicy entity_name
Controls the Entity name of the Topic.
Definition: dds.hh:569
DurabilityServiceQosPolicy durability_service
Configures the service supporting the TRANSIENT and PERSITENT durability kinds.
Definition: dds.hh:554
Controls the presentation of received data samples to the application. CoreDX DDS currently supports ...
Definition: dds_builtin.hh:467
Structure that holds DomainParticipant Quality of Service policies.
Definition: dds.hh:521
Determines the mechanism and parameters used by the application to determine whether an Entity is ali...
Definition: dds_builtin.hh:789
unsigned char autodispose_unregistered_instances
should the writer dispose instances that are unregistered
Definition: dds.hh:308
virtual void on_data_on_readers(Subscriber *)
Definition: dds.hh:3416
Allows the application to attach arbitrary information to a Topic QoS.
Definition: dds_builtin.hh:163
Status related to the on_publication_matched listener methods of the DDS_DataWriter, DDS_Publisher, and DDS_DomainParticipant structures.
Definition: dds_types.h:370
Structure that holds DataReader Quality of Service policies.
Definition: dds.hh:674
This QoS policy establishes a minimum update period for data instances.
Definition: dds_builtin.hh:535
PartitionQosPolicy partition
Establishes a logical data partition.
Definition: dds.hh:644
virtual void on_publication_matched(DataWriter *, const PublicationMatchedStatus &)
Definition: dds.hh:3268
Specifies the lifecycle behavior of data instances managed by the DataReader.
Definition: dds.hh:321
virtual void on_inconsistent_topic(Topic *, const InconsistentTopicStatus &)
Definition: dds.hh:3316
int sec
Definition: dds_types.h:74
DDS_HANDLE_TYPE_NATIVE InstanceHandle_t
Definition: dds.hh:199
DiscoveryQosPolicy discovery
Controls aspects of the Discovery and Builtin entities.
Definition: dds.hh:528
ParticipantLocatorSeq value
sequence of peer locators with which we should attempt communication
Definition: dds.hh:397
unsigned char create_listener_thread
should the DomainParticipant create a separate thread for invoking listener callback routines ...
Definition: dds.hh:481
The DomainParticipant will use the standard peer-to-peer discovery.
Definition: dds.hh:448
Status related to the on_subscription_matched listener methods of the DDS_DataReader, DDS_Subscriber, and DDS_DomainParticipant structures.
Definition: dds_types.h:384
The Time_t structure contains data to define a time.
Definition: dds.hh:214
virtual void on_liveliness_changed(DataReader *, const LivelinessChangedStatus &)
Definition: dds.hh:3367
unsigned char apply_filters
apply ContentFilter(s) at the writer (writer side filtering)
Definition: dds.hh:420
RpcQosPolicy rpc
Configure RPC relevant settings: instance_name, related_entity, and topic_aliases.
Definition: dds.hh:697
The Publisher configures, creates, manages and destroys DataWriters.
Definition: dds.hh:1534
Status related to the on_requested_incompatible_qos listener methods of the DDS_DataReader, DDS_Subscriber, and DDS_DomainParticipant structures.
Definition: dds_types.h:357
QoS Policy for configuring the threading behavior of the DomainParticipant.
Definition: dds.hh:479
Specifies the maximum duration of validity of the data written by the DataWriter. ...
Definition: dds_builtin.hh:320
LoggingQosPolicy logging
Controls the logging behavior of the Topic.
Definition: dds.hh:570
unsigned int min_buffer_size
min size in bytes of written data
Definition: dds.hh:418
unsigned int min_buffer_size
The min_buffer_size to configure for builtin writers.
Definition: dds.hh:464
virtual void on_liveliness_lost(DataWriter *, const LivelinessLostStatus &)
Definition: dds.hh:3260
DDS::sequence< SampleInfo * > SampleInfoSeq
sequence of SampleInfo pointers
Definition: dds.hh:244
Defines a filter based on time between samples. The DataReader indicates that it wants at most one sa...
Definition: dds_builtin.hh:844
unsigned char use_threads
should the DomainParticipant use threads for internal work
Definition: dds.hh:480
Status related to the on_sample_lost listener methods of the DDS_DataReader, DDS_Subscriber, and DDS_DomainParticipant structures.
Definition: dds_types.h:253
The Duration_t structure contains data to define a time duration.
Definition: dds_builtin.hh:45
unsigned char send_msglen_submsg
include 'msglen' submessage in RTPS header
Definition: dds.hh:468
QoS Policy for configuring aspects of the RTPS Writer Protocol.
Definition: dds.hh:413
EntityNameQosPolicy entity_name
Controls the Entity name of the Publisher.
Definition: dds.hh:654
unsigned char send_typecode
send TYPECODE info for associated data type
Definition: dds.hh:435
Duration_t heartbeat_period
The heartbeat_period to configure for builtin writers.
Definition: dds.hh:461
Locator participant_locator
locator identifying peer participant
Definition: dds.hh:383
Specifies the resources that the Service can use to maintain data samples and instances.
Definition: dds_builtin.hh:1193
DurabilityQosPolicy durability
The durability policy offered by the DataWriter.
Definition: dds.hh:592
PresentationQosPolicy presentation
Controls the presentation of groups of changes.
Definition: dds.hh:636
Status related to the on_sample_rejected listener methods of the DDS_DataReader, DDS_Subscriber, and DDS_DomainParticipant structures.
Definition: dds_types.h:272
ResourceLimitsQosPolicy resource_limits
The resource limits set on the DataReader.
Definition: dds.hh:684
OwnershipQosPolicy ownership
The type of 'ownership' offered by the DataWriter.
Definition: dds.hh:604