11 #include "dds_qos.hpp" 22 destinationOrderKind::Value destinationOrderKind::
29 operator== (::dds::destinationOrderKind
const& a, ::dds::destinationOrderKind
const& b)
35 operator!= (::dds::destinationOrderKind
const& a, ::dds::destinationOrderKind
const& b)
40 destinationOrderKind::
41 destinationOrderKind (destinationOrderKind::Value v)
48 durabilityKind::Value durabilityKind::
55 operator== (::dds::durabilityKind
const& a, ::dds::durabilityKind
const& b)
61 operator!= (::dds::durabilityKind
const& a, ::dds::durabilityKind
const& b)
67 durabilityKind (durabilityKind::Value v)
74 historyKind::Value historyKind::
81 operator== (::dds::historyKind
const& a, ::dds::historyKind
const& b)
87 operator!= (::dds::historyKind
const& a, ::dds::historyKind
const& b)
93 historyKind (historyKind::Value v)
100 livelinessKind::Value livelinessKind::
107 operator== (::dds::livelinessKind
const& a, ::dds::livelinessKind
const& b)
113 operator!= (::dds::livelinessKind
const& a, ::dds::livelinessKind
const& b)
119 livelinessKind (livelinessKind::Value v)
126 presentationAccessScopeKind::Value presentationAccessScopeKind::
133 operator== (::dds::presentationAccessScopeKind
const& a, ::dds::presentationAccessScopeKind
const& b)
139 operator!= (::dds::presentationAccessScopeKind
const& a, ::dds::presentationAccessScopeKind
const& b)
144 presentationAccessScopeKind::
145 presentationAccessScopeKind (presentationAccessScopeKind::Value v)
152 reliabilityKind::Value reliabilityKind::
159 operator== (::dds::reliabilityKind
const& a, ::dds::reliabilityKind
const& b)
165 operator!= (::dds::reliabilityKind
const& a, ::dds::reliabilityKind
const& b)
171 reliabilityKind (reliabilityKind::Value v)
178 ownershipKind::Value ownershipKind::
185 operator== (::dds::ownershipKind
const& a, ::dds::ownershipKind
const& b)
191 operator!= (::dds::ownershipKind
const& a, ::dds::ownershipKind
const& b)
197 ownershipKind (ownershipKind::Value v)
204 dataRepresentationIdKind::Value dataRepresentationIdKind::
211 operator== (::dds::dataRepresentationIdKind
const& a, ::dds::dataRepresentationIdKind
const& b)
217 operator!= (::dds::dataRepresentationIdKind
const& a, ::dds::dataRepresentationIdKind
const& b)
222 dataRepresentationIdKind::
223 dataRepresentationIdKind (dataRepresentationIdKind::Value v)
230 typeConsistencyKind::Value typeConsistencyKind::
237 operator== (::dds::typeConsistencyKind
const& a, ::dds::typeConsistencyKind
const& b)
243 operator!= (::dds::typeConsistencyKind
const& a, ::dds::typeConsistencyKind
const& b)
248 typeConsistencyKind::
249 typeConsistencyKind (typeConsistencyKind::Value v)
256 duration::duration ()
261 duration::duration (duration
const& s) :
263 , sec_ (s.sec_.get () ? new ::XMLSchema::string<ACE_TCHAR> (*s.sec_) : 0)
264 , nanosec_ (s.nanosec_.get () ? new ::XMLSchema::string<ACE_TCHAR> (*s.nanosec_) : 0)
266 if (sec_.get ()) sec_->container (
this);
267 if (nanosec_.get ()) nanosec_->container (
this);
271 duration::operator= (duration
const& s)
280 if (s.nanosec_.get ())
281 nanosec (*(s.nanosec_));
294 return sec_.get () != 0;
297 ::XMLSchema::string<ACE_TCHAR>
const& duration::
304 sec (::XMLSchema::string<ACE_TCHAR>
const& e)
313 sec_ = duration::sec_auto_ptr_type (new ::XMLSchema::string<ACE_TCHAR> (e));
314 sec_->container (
this);
322 return nanosec_.get () != 0;
325 ::XMLSchema::string<ACE_TCHAR>
const& duration::
332 nanosec (::XMLSchema::string<ACE_TCHAR>
const& e)
341 nanosec_ = duration::nanosec_auto_ptr_type (new ::XMLSchema::string<ACE_TCHAR> (e));
342 nanosec_->container (
this);
349 stringSeq::stringSeq ()
354 stringSeq::stringSeq (stringSeq
const& s) :
356 , element_ (s.element_)
361 stringSeq::operator= (stringSeq
const& s)
365 element_ = s.element_;
373 stringSeq::element_iterator stringSeq::
376 return element_.begin ();
379 stringSeq::element_iterator stringSeq::
382 return element_.end ();
385 stringSeq::element_const_iterator stringSeq::
386 begin_element ()
const 388 return element_.begin ();
391 stringSeq::element_const_iterator stringSeq::
394 return element_.end ();
398 add_element (stringSeq::element_value_type
const& e)
400 element_.push_back (e);
404 count_element()
const 406 return element_.size ();
412 dataRepresentationIdSeq::dataRepresentationIdSeq ()
417 dataRepresentationIdSeq::dataRepresentationIdSeq (dataRepresentationIdSeq
const& s) :
419 , element_ (s.element_)
423 dataRepresentationIdSeq&
424 dataRepresentationIdSeq::operator= (dataRepresentationIdSeq
const& s)
428 element_ = s.element_;
436 dataRepresentationIdSeq::element_iterator dataRepresentationIdSeq::
439 return element_.begin ();
442 dataRepresentationIdSeq::element_iterator dataRepresentationIdSeq::
445 return element_.end ();
448 dataRepresentationIdSeq::element_const_iterator dataRepresentationIdSeq::
449 begin_element ()
const 451 return element_.begin ();
454 dataRepresentationIdSeq::element_const_iterator dataRepresentationIdSeq::
457 return element_.end ();
460 void dataRepresentationIdSeq::
461 add_element (dataRepresentationIdSeq::element_value_type
const& e)
463 element_.push_back (e);
466 size_t dataRepresentationIdSeq::
467 count_element()
const 469 return element_.size ();
475 deadlineQosPolicy::deadlineQosPolicy ()
480 deadlineQosPolicy::deadlineQosPolicy (deadlineQosPolicy
const& s) :
482 , period_ (s.period_.get () ? new ::dds::duration (*s.period_) : 0)
484 if (period_.get ()) period_->container (
this);
488 deadlineQosPolicy::operator= (deadlineQosPolicy
const& s)
492 if (s.period_.get ())
493 period (*(s.period_));
503 bool deadlineQosPolicy::
506 return period_.get () != 0;
509 ::dds::duration
const& deadlineQosPolicy::
515 void deadlineQosPolicy::
516 period (::dds::duration
const& e)
525 period_ = deadlineQosPolicy::period_auto_ptr_type (new ::dds::duration (e));
526 period_->container (
this);
533 destinationOrderQosPolicy::destinationOrderQosPolicy ()
538 destinationOrderQosPolicy::destinationOrderQosPolicy (destinationOrderQosPolicy
const& s) :
540 , kind_ (s.kind_.get () ? new ::dds::destinationOrderKind (*s.kind_) : 0)
542 if (kind_.get ()) kind_->container (
this);
545 destinationOrderQosPolicy&
546 destinationOrderQosPolicy::operator= (destinationOrderQosPolicy
const& s)
561 bool destinationOrderQosPolicy::
564 return kind_.get () != 0;
567 ::dds::destinationOrderKind
const& destinationOrderQosPolicy::
573 void destinationOrderQosPolicy::
574 kind (::dds::destinationOrderKind
const& e)
583 kind_ = destinationOrderQosPolicy::kind_auto_ptr_type (new ::dds::destinationOrderKind (e));
584 kind_->container (
this);
591 durabilityQosPolicy::durabilityQosPolicy ()
596 durabilityQosPolicy::durabilityQosPolicy (durabilityQosPolicy
const& s) :
598 , kind_ (s.kind_.get () ? new ::dds::durabilityKind (*s.kind_) : 0)
600 if (kind_.get ()) kind_->container (
this);
604 durabilityQosPolicy::operator= (durabilityQosPolicy
const& s)
619 bool durabilityQosPolicy::
622 return kind_.get () != 0;
625 ::dds::durabilityKind
const& durabilityQosPolicy::
631 void durabilityQosPolicy::
632 kind (::dds::durabilityKind
const& e)
641 kind_ = durabilityQosPolicy::kind_auto_ptr_type (new ::dds::durabilityKind (e));
642 kind_->container (
this);
649 durabilityServiceQosPolicy::durabilityServiceQosPolicy ()
654 durabilityServiceQosPolicy::durabilityServiceQosPolicy (durabilityServiceQosPolicy
const& s) :
656 , service_cleanup_delay_ (s.service_cleanup_delay_.get () ? new ::dds::duration (*s.service_cleanup_delay_) : 0)
657 , history_kind_ (s.history_kind_.get () ? new ::dds::historyKind (*s.history_kind_) : 0)
658 , history_depth_ (s.history_depth_.get () ? new ::XMLSchema::positiveInteger (*s.history_depth_) : 0)
659 , max_samples_ (s.max_samples_.get () ? new ::XMLSchema::string<ACE_TCHAR> (*s.max_samples_) : 0)
660 , max_instances_ (s.max_instances_.get () ? new ::XMLSchema::string<ACE_TCHAR> (*s.max_instances_) : 0)
661 , max_samples_per_instance_ (s.max_samples_per_instance_.get () ? new ::XMLSchema::string<ACE_TCHAR> (*s.max_samples_per_instance_) : 0)
663 if (service_cleanup_delay_.get ()) service_cleanup_delay_->container (
this);
664 if (history_kind_.get ()) history_kind_->container (
this);
665 if (history_depth_.get ()) history_depth_->container (
this);
666 if (max_samples_.get ()) max_samples_->container (
this);
667 if (max_instances_.get ()) max_instances_->container (
this);
668 if (max_samples_per_instance_.get ()) max_samples_per_instance_->container (
this);
671 durabilityServiceQosPolicy&
672 durabilityServiceQosPolicy::operator= (durabilityServiceQosPolicy
const& s)
676 if (s.service_cleanup_delay_.get ())
677 service_cleanup_delay (*(s.service_cleanup_delay_));
679 service_cleanup_delay_.reset (0);
681 if (s.history_kind_.get ())
682 history_kind (*(s.history_kind_));
684 history_kind_.reset (0);
686 if (s.history_depth_.get ())
687 history_depth (*(s.history_depth_));
689 history_depth_.reset (0);
691 if (s.max_samples_.get ())
694 max_samples_.reset (0);
696 if (s.max_instances_.get ())
697 max_instances (*(s.max_instances_));
699 max_instances_.reset (0);
701 if (s.max_samples_per_instance_.get ())
702 max_samples_per_instance (*(s.max_samples_per_instance_));
704 max_samples_per_instance_.reset (0);
712 bool durabilityServiceQosPolicy::
713 service_cleanup_delay_p ()
const 715 return service_cleanup_delay_.get () != 0;
718 ::dds::duration
const& durabilityServiceQosPolicy::
719 service_cleanup_delay ()
const 721 return *service_cleanup_delay_;
724 void durabilityServiceQosPolicy::
725 service_cleanup_delay (::dds::duration
const& e)
727 if (service_cleanup_delay_.get ())
729 *service_cleanup_delay_ = e;
734 service_cleanup_delay_ = durabilityServiceQosPolicy::service_cleanup_delay_auto_ptr_type (new ::dds::duration (e));
735 service_cleanup_delay_->container (
this);
740 bool durabilityServiceQosPolicy::
741 history_kind_p ()
const 743 return history_kind_.get () != 0;
746 ::dds::historyKind
const& durabilityServiceQosPolicy::
747 history_kind ()
const 749 return *history_kind_;
752 void durabilityServiceQosPolicy::
753 history_kind (::dds::historyKind
const& e)
755 if (history_kind_.get ())
762 history_kind_ = durabilityServiceQosPolicy::history_kind_auto_ptr_type (new ::dds::historyKind (e));
763 history_kind_->container (
this);
768 bool durabilityServiceQosPolicy::
769 history_depth_p ()
const 771 return history_depth_.get () != 0;
774 ::XMLSchema::positiveInteger
const& durabilityServiceQosPolicy::
775 history_depth ()
const 777 return *history_depth_;
780 void durabilityServiceQosPolicy::
781 history_depth (::XMLSchema::positiveInteger
const& e)
783 if (history_depth_.get ())
790 history_depth_ = durabilityServiceQosPolicy::history_depth_auto_ptr_type (new ::XMLSchema::positiveInteger (e));
791 history_depth_->container (
this);
796 bool durabilityServiceQosPolicy::
797 max_samples_p ()
const 799 return max_samples_.get () != 0;
805 return *max_samples_;
809 max_samples (::XMLSchema::string<ACE_TCHAR>
const& e)
811 if (max_samples_.get ())
818 max_samples_ = durabilityServiceQosPolicy::max_samples_auto_ptr_type (new ::XMLSchema::string<ACE_TCHAR> (e));
819 max_samples_->container (
this);
824 bool durabilityServiceQosPolicy::
825 max_instances_p ()
const 827 return max_instances_.get () != 0;
830 ::XMLSchema::string<ACE_TCHAR>
const& durabilityServiceQosPolicy::
831 max_instances ()
const 833 return *max_instances_;
836 void durabilityServiceQosPolicy::
837 max_instances (::XMLSchema::string<ACE_TCHAR>
const& e)
839 if (max_instances_.get ())
846 max_instances_ = durabilityServiceQosPolicy::max_instances_auto_ptr_type (new ::XMLSchema::string<ACE_TCHAR> (e));
847 max_instances_->container (
this);
852 bool durabilityServiceQosPolicy::
853 max_samples_per_instance_p ()
const 855 return max_samples_per_instance_.get () != 0;
858 ::XMLSchema::string<ACE_TCHAR>
const& durabilityServiceQosPolicy::
859 max_samples_per_instance ()
const 861 return *max_samples_per_instance_;
864 void durabilityServiceQosPolicy::
865 max_samples_per_instance (::XMLSchema::string<ACE_TCHAR>
const& e)
867 if (max_samples_per_instance_.get ())
869 *max_samples_per_instance_ = e;
874 max_samples_per_instance_ = durabilityServiceQosPolicy::max_samples_per_instance_auto_ptr_type (new ::XMLSchema::string<ACE_TCHAR> (e));
875 max_samples_per_instance_->container (
this);
882 entityFactoryQosPolicy::entityFactoryQosPolicy ()
887 entityFactoryQosPolicy::entityFactoryQosPolicy (entityFactoryQosPolicy
const& s) :
889 , autoenable_created_entities_ (s.autoenable_created_entities_.get () ? new ::XMLSchema::boolean (*s.autoenable_created_entities_) : 0)
891 if (autoenable_created_entities_.get ()) autoenable_created_entities_->container (
this);
894 entityFactoryQosPolicy&
895 entityFactoryQosPolicy::operator= (entityFactoryQosPolicy
const& s)
899 if (s.autoenable_created_entities_.get ())
900 autoenable_created_entities (*(s.autoenable_created_entities_));
902 autoenable_created_entities_.reset (0);
910 bool entityFactoryQosPolicy::
911 autoenable_created_entities_p ()
const 913 return autoenable_created_entities_.get () != 0;
916 ::XMLSchema::boolean
const& entityFactoryQosPolicy::
917 autoenable_created_entities ()
const 919 return *autoenable_created_entities_;
922 void entityFactoryQosPolicy::
923 autoenable_created_entities (::XMLSchema::boolean
const& e)
925 if (autoenable_created_entities_.get ())
927 *autoenable_created_entities_ = e;
932 autoenable_created_entities_ = entityFactoryQosPolicy::autoenable_created_entities_auto_ptr_type (new ::XMLSchema::boolean (e));
933 autoenable_created_entities_->container (
this);
940 groupDataQosPolicy::groupDataQosPolicy ()
945 groupDataQosPolicy::groupDataQosPolicy (groupDataQosPolicy
const& s) :
947 ,
value_ (s.value_.get () ? new ::XMLSchema::string<ACE_TCHAR> (*s.value_) : 0)
953 groupDataQosPolicy::operator= (groupDataQosPolicy
const& s)
968 bool groupDataQosPolicy::
971 return value_.get () != 0;
981 value (::XMLSchema::string<ACE_TCHAR>
const& e)
990 value_ = groupDataQosPolicy::value_auto_ptr_type (new ::XMLSchema::string<ACE_TCHAR> (e));
998 historyQosPolicy::historyQosPolicy ()
1003 historyQosPolicy::historyQosPolicy (historyQosPolicy
const& s) :
1005 , kind_ (s.kind_.get () ? new ::dds::historyKind (*s.kind_) : 0)
1006 , depth_ (s.depth_.get () ? new ::XMLSchema::positiveInteger (*s.depth_) : 0)
1008 if (kind_.get ()) kind_->container (
this);
1009 if (depth_.get ()) depth_->container (
this);
1013 historyQosPolicy::operator= (historyQosPolicy
const& s)
1022 if (s.depth_.get ())
1023 depth (*(s.depth_));
1033 bool historyQosPolicy::
1036 return kind_.get () != 0;
1039 ::dds::historyKind
const& historyQosPolicy::
1045 void historyQosPolicy::
1046 kind (::dds::historyKind
const& e)
1055 kind_ = historyQosPolicy::kind_auto_ptr_type (new ::dds::historyKind (e));
1056 kind_->container (
this);
1061 bool historyQosPolicy::
1064 return depth_.get () != 0;
1067 ::XMLSchema::positiveInteger
const& historyQosPolicy::
1073 void historyQosPolicy::
1074 depth (::XMLSchema::positiveInteger
const& e)
1083 depth_ = historyQosPolicy::depth_auto_ptr_type (new ::XMLSchema::positiveInteger (e));
1084 depth_->container (
this);
1091 latencyBudgetQosPolicy::latencyBudgetQosPolicy ()
1096 latencyBudgetQosPolicy::latencyBudgetQosPolicy (latencyBudgetQosPolicy
const& s) :
1098 , duration_ (s.duration_.get () ? new ::dds::duration (*s.duration_) : 0)
1100 if (duration_.get ()) duration_->container (
this);
1103 latencyBudgetQosPolicy&
1104 latencyBudgetQosPolicy::operator= (latencyBudgetQosPolicy
const& s)
1108 if (s.duration_.get ())
1109 duration (*(s.duration_));
1111 duration_.reset (0);
1119 bool latencyBudgetQosPolicy::
1122 return duration_.get () != 0;
1125 ::dds::duration
const& latencyBudgetQosPolicy::
1131 void latencyBudgetQosPolicy::
1132 duration (::dds::duration
const& e)
1134 if (duration_.get ())
1141 duration_ = latencyBudgetQosPolicy::duration_auto_ptr_type (new ::dds::duration (e));
1142 duration_->container (
this);
1149 lifespanQosPolicy::lifespanQosPolicy ()
1154 lifespanQosPolicy::lifespanQosPolicy (lifespanQosPolicy
const& s) :
1156 , duration_ (s.duration_.get () ? new ::dds::duration (*s.duration_) : 0)
1158 if (duration_.get ()) duration_->container (
this);
1162 lifespanQosPolicy::operator= (lifespanQosPolicy
const& s)
1166 if (s.duration_.get ())
1167 duration (*(s.duration_));
1169 duration_.reset (0);
1177 bool lifespanQosPolicy::
1180 return duration_.get () != 0;
1183 ::dds::duration
const& lifespanQosPolicy::
1189 void lifespanQosPolicy::
1190 duration (::dds::duration
const& e)
1192 if (duration_.get ())
1199 duration_ = lifespanQosPolicy::duration_auto_ptr_type (new ::dds::duration (e));
1200 duration_->container (
this);
1207 livelinessQosPolicy::livelinessQosPolicy ()
1212 livelinessQosPolicy::livelinessQosPolicy (livelinessQosPolicy
const& s) :
1214 , kind_ (s.kind_.get () ? new ::dds::livelinessKind (*s.kind_) : 0)
1215 , lease_duration_ (s.lease_duration_.get () ? new ::dds::duration (*s.lease_duration_) : 0)
1217 if (kind_.get ()) kind_->container (
this);
1218 if (lease_duration_.get ()) lease_duration_->container (
this);
1221 livelinessQosPolicy&
1222 livelinessQosPolicy::operator= (livelinessQosPolicy
const& s)
1231 if (s.lease_duration_.get ())
1232 lease_duration (*(s.lease_duration_));
1234 lease_duration_.reset (0);
1242 bool livelinessQosPolicy::
1245 return kind_.get () != 0;
1248 ::dds::livelinessKind
const& livelinessQosPolicy::
1254 void livelinessQosPolicy::
1255 kind (::dds::livelinessKind
const& e)
1264 kind_ = livelinessQosPolicy::kind_auto_ptr_type (new ::dds::livelinessKind (e));
1265 kind_->container (
this);
1270 bool livelinessQosPolicy::
1271 lease_duration_p ()
const 1273 return lease_duration_.get () != 0;
1276 ::dds::duration
const& livelinessQosPolicy::
1277 lease_duration ()
const 1279 return *lease_duration_;
1282 void livelinessQosPolicy::
1283 lease_duration (::dds::duration
const& e)
1285 if (lease_duration_.get ())
1287 *lease_duration_ = e;
1292 lease_duration_ = livelinessQosPolicy::lease_duration_auto_ptr_type (new ::dds::duration (e));
1293 lease_duration_->container (
this);
1300 ownershipQosPolicy::ownershipQosPolicy ()
1305 ownershipQosPolicy::ownershipQosPolicy (ownershipQosPolicy
const& s) :
1307 , kind_ (s.kind_.get () ? new ::dds::ownershipKind (*s.kind_) : 0)
1309 if (kind_.get ()) kind_->container (
this);
1313 ownershipQosPolicy::operator= (ownershipQosPolicy
const& s)
1328 bool ownershipQosPolicy::
1331 return kind_.get () != 0;
1334 ::dds::ownershipKind
const& ownershipQosPolicy::
1340 void ownershipQosPolicy::
1341 kind (::dds::ownershipKind
const& e)
1350 kind_ = ownershipQosPolicy::kind_auto_ptr_type (new ::dds::ownershipKind (e));
1351 kind_->container (
this);
1358 ownershipStrengthQosPolicy::ownershipStrengthQosPolicy ()
1363 ownershipStrengthQosPolicy::ownershipStrengthQosPolicy (ownershipStrengthQosPolicy
const& s) :
1365 ,
value_ (s.value_.get () ? new ::XMLSchema::nonNegativeInteger (*s.value_) : 0)
1370 ownershipStrengthQosPolicy&
1371 ownershipStrengthQosPolicy::operator= (ownershipStrengthQosPolicy
const& s)
1375 if (s.value_.get ())
1376 value (*(s.value_));
1386 bool ownershipStrengthQosPolicy::
1389 return value_.get () != 0;
1399 value (::XMLSchema::nonNegativeInteger
const& e)
1408 value_ = ownershipStrengthQosPolicy::value_auto_ptr_type (new ::XMLSchema::nonNegativeInteger (e));
1409 value_->container (
this);
1416 partitionQosPolicy::partitionQosPolicy ()
1421 partitionQosPolicy::partitionQosPolicy (partitionQosPolicy
const& s) :
1423 , name_ (s.name_.get () ? new ::dds::stringSeq (*s.name_) : 0)
1425 if (name_.get ()) name_->container (
this);
1429 partitionQosPolicy::operator= (partitionQosPolicy
const& s)
1444 bool partitionQosPolicy::
1447 return name_.get () != 0;
1457 name (::dds::stringSeq
const& e)
1466 name_ = partitionQosPolicy::name_auto_ptr_type (new ::dds::stringSeq (e));
1467 name_->container (
this);
1474 presentationQosPolicy::presentationQosPolicy ()
1479 presentationQosPolicy::presentationQosPolicy (presentationQosPolicy
const& s) :
1481 , access_scope_ (s.access_scope_.get () ? new ::dds::presentationAccessScopeKind (*s.access_scope_) : 0)
1482 , coherent_access_ (s.coherent_access_.get () ? new ::XMLSchema::boolean (*s.coherent_access_) : 0)
1483 , ordered_access_ (s.ordered_access_.get () ? new ::XMLSchema::boolean (*s.ordered_access_) : 0)
1485 if (access_scope_.get ()) access_scope_->container (
this);
1486 if (coherent_access_.get ()) coherent_access_->container (
this);
1487 if (ordered_access_.get ()) ordered_access_->container (
this);
1490 presentationQosPolicy&
1491 presentationQosPolicy::operator= (presentationQosPolicy
const& s)
1495 if (s.access_scope_.get ())
1496 access_scope (*(s.access_scope_));
1498 access_scope_.reset (0);
1500 if (s.coherent_access_.get ())
1501 coherent_access (*(s.coherent_access_));
1503 coherent_access_.reset (0);
1505 if (s.ordered_access_.get ())
1506 ordered_access (*(s.ordered_access_));
1508 ordered_access_.reset (0);
1516 bool presentationQosPolicy::
1517 access_scope_p ()
const 1519 return access_scope_.get () != 0;
1522 ::dds::presentationAccessScopeKind
const& presentationQosPolicy::
1523 access_scope ()
const 1525 return *access_scope_;
1528 void presentationQosPolicy::
1529 access_scope (::dds::presentationAccessScopeKind
const& e)
1531 if (access_scope_.get ())
1538 access_scope_ = presentationQosPolicy::access_scope_auto_ptr_type (new ::dds::presentationAccessScopeKind (e));
1539 access_scope_->container (
this);
1544 bool presentationQosPolicy::
1545 coherent_access_p ()
const 1547 return coherent_access_.get () != 0;
1550 ::XMLSchema::boolean
const& presentationQosPolicy::
1551 coherent_access ()
const 1553 return *coherent_access_;
1556 void presentationQosPolicy::
1557 coherent_access (::XMLSchema::boolean
const& e)
1559 if (coherent_access_.get ())
1561 *coherent_access_ = e;
1566 coherent_access_ = presentationQosPolicy::coherent_access_auto_ptr_type (new ::XMLSchema::boolean (e));
1567 coherent_access_->container (
this);
1572 bool presentationQosPolicy::
1573 ordered_access_p ()
const 1575 return ordered_access_.get () != 0;
1578 ::XMLSchema::boolean
const& presentationQosPolicy::
1579 ordered_access ()
const 1581 return *ordered_access_;
1584 void presentationQosPolicy::
1585 ordered_access (::XMLSchema::boolean
const& e)
1587 if (ordered_access_.get ())
1589 *ordered_access_ = e;
1594 ordered_access_ = presentationQosPolicy::ordered_access_auto_ptr_type (new ::XMLSchema::boolean (e));
1595 ordered_access_->container (
this);
1602 readerDataLifecycleQosPolicy::readerDataLifecycleQosPolicy ()
1607 readerDataLifecycleQosPolicy::readerDataLifecycleQosPolicy (readerDataLifecycleQosPolicy
const& s) :
1609 , autopurge_nowriter_samples_delay_ (s.autopurge_nowriter_samples_delay_.get () ? new ::dds::duration (*s.autopurge_nowriter_samples_delay_) : 0)
1610 , autopurge_disposed_samples_delay_ (s.autopurge_disposed_samples_delay_.get () ? new ::dds::duration (*s.autopurge_disposed_samples_delay_) : 0)
1612 if (autopurge_nowriter_samples_delay_.get ()) autopurge_nowriter_samples_delay_->container (
this);
1613 if (autopurge_disposed_samples_delay_.get ()) autopurge_disposed_samples_delay_->container (
this);
1616 readerDataLifecycleQosPolicy&
1617 readerDataLifecycleQosPolicy::operator= (readerDataLifecycleQosPolicy
const& s)
1621 if (s.autopurge_nowriter_samples_delay_.get ())
1622 autopurge_nowriter_samples_delay (*(s.autopurge_nowriter_samples_delay_));
1624 autopurge_nowriter_samples_delay_.reset (0);
1626 if (s.autopurge_disposed_samples_delay_.get ())
1627 autopurge_disposed_samples_delay (*(s.autopurge_disposed_samples_delay_));
1629 autopurge_disposed_samples_delay_.reset (0);
1637 bool readerDataLifecycleQosPolicy::
1638 autopurge_nowriter_samples_delay_p ()
const 1640 return autopurge_nowriter_samples_delay_.get () != 0;
1643 ::dds::duration
const& readerDataLifecycleQosPolicy::
1644 autopurge_nowriter_samples_delay ()
const 1646 return *autopurge_nowriter_samples_delay_;
1649 void readerDataLifecycleQosPolicy::
1650 autopurge_nowriter_samples_delay (::dds::duration
const& e)
1652 if (autopurge_nowriter_samples_delay_.get ())
1654 *autopurge_nowriter_samples_delay_ = e;
1659 autopurge_nowriter_samples_delay_ = readerDataLifecycleQosPolicy::autopurge_nowriter_samples_delay_auto_ptr_type (new ::dds::duration (e));
1660 autopurge_nowriter_samples_delay_->container (
this);
1665 bool readerDataLifecycleQosPolicy::
1666 autopurge_disposed_samples_delay_p ()
const 1668 return autopurge_disposed_samples_delay_.get () != 0;
1671 ::dds::duration
const& readerDataLifecycleQosPolicy::
1672 autopurge_disposed_samples_delay ()
const 1674 return *autopurge_disposed_samples_delay_;
1677 void readerDataLifecycleQosPolicy::
1678 autopurge_disposed_samples_delay (::dds::duration
const& e)
1680 if (autopurge_disposed_samples_delay_.get ())
1682 *autopurge_disposed_samples_delay_ = e;
1687 autopurge_disposed_samples_delay_ = readerDataLifecycleQosPolicy::autopurge_disposed_samples_delay_auto_ptr_type (new ::dds::duration (e));
1688 autopurge_disposed_samples_delay_->container (
this);
1695 reliabilityQosPolicy::reliabilityQosPolicy ()
1700 reliabilityQosPolicy::reliabilityQosPolicy (reliabilityQosPolicy
const& s) :
1702 , kind_ (s.kind_.get () ? new ::dds::reliabilityKind (*s.kind_) : 0)
1703 , max_blocking_time_ (s.max_blocking_time_.get () ? new ::dds::duration (*s.max_blocking_time_) : 0)
1705 if (kind_.get ()) kind_->container (
this);
1706 if (max_blocking_time_.get ()) max_blocking_time_->container (
this);
1709 reliabilityQosPolicy&
1710 reliabilityQosPolicy::operator= (reliabilityQosPolicy
const& s)
1719 if (s.max_blocking_time_.get ())
1720 max_blocking_time (*(s.max_blocking_time_));
1722 max_blocking_time_.reset (0);
1730 bool reliabilityQosPolicy::
1733 return kind_.get () != 0;
1736 ::dds::reliabilityKind
const& reliabilityQosPolicy::
1742 void reliabilityQosPolicy::
1743 kind (::dds::reliabilityKind
const& e)
1752 kind_ = reliabilityQosPolicy::kind_auto_ptr_type (new ::dds::reliabilityKind (e));
1753 kind_->container (
this);
1758 bool reliabilityQosPolicy::
1759 max_blocking_time_p ()
const 1761 return max_blocking_time_.get () != 0;
1764 ::dds::duration
const& reliabilityQosPolicy::
1765 max_blocking_time ()
const 1767 return *max_blocking_time_;
1770 void reliabilityQosPolicy::
1771 max_blocking_time (::dds::duration
const& e)
1773 if (max_blocking_time_.get ())
1775 *max_blocking_time_ = e;
1780 max_blocking_time_ = reliabilityQosPolicy::max_blocking_time_auto_ptr_type (new ::dds::duration (e));
1781 max_blocking_time_->container (
this);
1788 resourceLimitsQosPolicy::resourceLimitsQosPolicy ()
1793 resourceLimitsQosPolicy::resourceLimitsQosPolicy (resourceLimitsQosPolicy
const& s) :
1795 , max_samples_ (s.max_samples_.get () ? new ::XMLSchema::string<ACE_TCHAR> (*s.max_samples_) : 0)
1796 , max_instances_ (s.max_instances_.get () ? new ::XMLSchema::string<ACE_TCHAR> (*s.max_instances_) : 0)
1797 , max_samples_per_instance_ (s.max_samples_per_instance_.get () ? new ::XMLSchema::string<ACE_TCHAR> (*s.max_samples_per_instance_) : 0)
1798 , initial_samples_ (s.initial_samples_.get () ? new ::XMLSchema::positiveInteger (*s.initial_samples_) : 0)
1799 , initial_instances_ (s.initial_instances_.get () ? new ::XMLSchema::positiveInteger (*s.initial_instances_) : 0)
1801 if (max_samples_.get ()) max_samples_->container (
this);
1802 if (max_instances_.get ()) max_instances_->container (
this);
1803 if (max_samples_per_instance_.get ()) max_samples_per_instance_->container (
this);
1804 if (initial_samples_.get ()) initial_samples_->container (
this);
1805 if (initial_instances_.get ()) initial_instances_->container (
this);
1808 resourceLimitsQosPolicy&
1809 resourceLimitsQosPolicy::operator= (resourceLimitsQosPolicy
const& s)
1813 if (s.max_samples_.get ())
1816 max_samples_.reset (0);
1818 if (s.max_instances_.get ())
1819 max_instances (*(s.max_instances_));
1821 max_instances_.reset (0);
1823 if (s.max_samples_per_instance_.get ())
1824 max_samples_per_instance (*(s.max_samples_per_instance_));
1826 max_samples_per_instance_.reset (0);
1828 if (s.initial_samples_.get ())
1829 initial_samples (*(s.initial_samples_));
1831 initial_samples_.reset (0);
1833 if (s.initial_instances_.get ())
1834 initial_instances (*(s.initial_instances_));
1836 initial_instances_.reset (0);
1844 bool resourceLimitsQosPolicy::
1845 max_samples_p ()
const 1847 return max_samples_.get () != 0;
1853 return *max_samples_;
1857 max_samples (::XMLSchema::string<ACE_TCHAR>
const& e)
1859 if (max_samples_.get ())
1866 max_samples_ = resourceLimitsQosPolicy::max_samples_auto_ptr_type (new ::XMLSchema::string<ACE_TCHAR> (e));
1867 max_samples_->container (
this);
1872 bool resourceLimitsQosPolicy::
1873 max_instances_p ()
const 1875 return max_instances_.get () != 0;
1878 ::XMLSchema::string<ACE_TCHAR>
const& resourceLimitsQosPolicy::
1879 max_instances ()
const 1881 return *max_instances_;
1884 void resourceLimitsQosPolicy::
1885 max_instances (::XMLSchema::string<ACE_TCHAR>
const& e)
1887 if (max_instances_.get ())
1889 *max_instances_ = e;
1894 max_instances_ = resourceLimitsQosPolicy::max_instances_auto_ptr_type (new ::XMLSchema::string<ACE_TCHAR> (e));
1895 max_instances_->container (
this);
1900 bool resourceLimitsQosPolicy::
1901 max_samples_per_instance_p ()
const 1903 return max_samples_per_instance_.get () != 0;
1906 ::XMLSchema::string<ACE_TCHAR>
const& resourceLimitsQosPolicy::
1907 max_samples_per_instance ()
const 1909 return *max_samples_per_instance_;
1912 void resourceLimitsQosPolicy::
1913 max_samples_per_instance (::XMLSchema::string<ACE_TCHAR>
const& e)
1915 if (max_samples_per_instance_.get ())
1917 *max_samples_per_instance_ = e;
1922 max_samples_per_instance_ = resourceLimitsQosPolicy::max_samples_per_instance_auto_ptr_type (new ::XMLSchema::string<ACE_TCHAR> (e));
1923 max_samples_per_instance_->container (
this);
1928 bool resourceLimitsQosPolicy::
1929 initial_samples_p ()
const 1931 return initial_samples_.get () != 0;
1934 ::XMLSchema::positiveInteger
const& resourceLimitsQosPolicy::
1935 initial_samples ()
const 1937 return *initial_samples_;
1940 void resourceLimitsQosPolicy::
1941 initial_samples (::XMLSchema::positiveInteger
const& e)
1943 if (initial_samples_.get ())
1945 *initial_samples_ = e;
1950 initial_samples_ = resourceLimitsQosPolicy::initial_samples_auto_ptr_type (new ::XMLSchema::positiveInteger (e));
1951 initial_samples_->container (
this);
1956 bool resourceLimitsQosPolicy::
1957 initial_instances_p ()
const 1959 return initial_instances_.get () != 0;
1962 ::XMLSchema::positiveInteger
const& resourceLimitsQosPolicy::
1963 initial_instances ()
const 1965 return *initial_instances_;
1968 void resourceLimitsQosPolicy::
1969 initial_instances (::XMLSchema::positiveInteger
const& e)
1971 if (initial_instances_.get ())
1973 *initial_instances_ = e;
1978 initial_instances_ = resourceLimitsQosPolicy::initial_instances_auto_ptr_type (new ::XMLSchema::positiveInteger (e));
1979 initial_instances_->container (
this);
1986 timeBasedFilterQosPolicy::timeBasedFilterQosPolicy ()
1991 timeBasedFilterQosPolicy::timeBasedFilterQosPolicy (timeBasedFilterQosPolicy
const& s) :
1993 , minimum_separation_ (s.minimum_separation_.get () ? new ::dds::duration (*s.minimum_separation_) : 0)
1995 if (minimum_separation_.get ()) minimum_separation_->container (
this);
1998 timeBasedFilterQosPolicy&
1999 timeBasedFilterQosPolicy::operator= (timeBasedFilterQosPolicy
const& s)
2003 if (s.minimum_separation_.get ())
2004 minimum_separation (*(s.minimum_separation_));
2006 minimum_separation_.reset (0);
2014 bool timeBasedFilterQosPolicy::
2015 minimum_separation_p ()
const 2017 return minimum_separation_.get () != 0;
2020 ::dds::duration
const& timeBasedFilterQosPolicy::
2021 minimum_separation ()
const 2023 return *minimum_separation_;
2026 void timeBasedFilterQosPolicy::
2027 minimum_separation (::dds::duration
const& e)
2029 if (minimum_separation_.get ())
2031 *minimum_separation_ = e;
2036 minimum_separation_ = timeBasedFilterQosPolicy::minimum_separation_auto_ptr_type (new ::dds::duration (e));
2037 minimum_separation_->container (
this);
2044 topicDataQosPolicy::topicDataQosPolicy ()
2049 topicDataQosPolicy::topicDataQosPolicy (topicDataQosPolicy
const& s) :
2051 ,
value_ (s.value_.get () ? new ::XMLSchema::string<ACE_TCHAR> (*s.value_) : 0)
2057 topicDataQosPolicy::operator= (topicDataQosPolicy
const& s)
2061 if (s.value_.get ())
2062 value (*(s.value_));
2072 bool topicDataQosPolicy::
2075 return value_.get () != 0;
2085 value (::XMLSchema::string<ACE_TCHAR>
const& e)
2094 value_ = topicDataQosPolicy::value_auto_ptr_type (new ::XMLSchema::string<ACE_TCHAR> (e));
2095 value_->container (
this);
2102 transportPriorityQosPolicy::transportPriorityQosPolicy ()
2107 transportPriorityQosPolicy::transportPriorityQosPolicy (transportPriorityQosPolicy
const& s) :
2109 ,
value_ (s.value_.get () ? new ::XMLSchema::nonNegativeInteger (*s.value_) : 0)
2114 transportPriorityQosPolicy&
2115 transportPriorityQosPolicy::operator= (transportPriorityQosPolicy
const& s)
2119 if (s.value_.get ())
2120 value (*(s.value_));
2130 bool transportPriorityQosPolicy::
2133 return value_.get () != 0;
2143 value (::XMLSchema::nonNegativeInteger
const& e)
2152 value_ = transportPriorityQosPolicy::value_auto_ptr_type (new ::XMLSchema::nonNegativeInteger (e));
2153 value_->container (
this);
2160 userDataQosPolicy::userDataQosPolicy ()
2165 userDataQosPolicy::userDataQosPolicy (userDataQosPolicy
const& s) :
2167 ,
value_ (s.value_.get () ? new ::XMLSchema::string<ACE_TCHAR> (*s.value_) : 0)
2173 userDataQosPolicy::operator= (userDataQosPolicy
const& s)
2177 if (s.value_.get ())
2178 value (*(s.value_));
2188 bool userDataQosPolicy::
2191 return value_.get () != 0;
2201 value (::XMLSchema::string<ACE_TCHAR>
const& e)
2210 value_ = userDataQosPolicy::value_auto_ptr_type (new ::XMLSchema::string<ACE_TCHAR> (e));
2211 value_->container (
this);
2218 writerDataLifecycleQosPolicy::writerDataLifecycleQosPolicy ()
2223 writerDataLifecycleQosPolicy::writerDataLifecycleQosPolicy (writerDataLifecycleQosPolicy
const& s) :
2225 , autodispose_unregistered_instances_ (s.autodispose_unregistered_instances_.get () ? new ::XMLSchema::boolean (*s.autodispose_unregistered_instances_) : 0)
2227 if (autodispose_unregistered_instances_.get ()) autodispose_unregistered_instances_->container (
this);
2230 writerDataLifecycleQosPolicy&
2231 writerDataLifecycleQosPolicy::operator= (writerDataLifecycleQosPolicy
const& s)
2235 if (s.autodispose_unregistered_instances_.get ())
2236 autodispose_unregistered_instances (*(s.autodispose_unregistered_instances_));
2238 autodispose_unregistered_instances_.reset (0);
2246 bool writerDataLifecycleQosPolicy::
2247 autodispose_unregistered_instances_p ()
const 2249 return autodispose_unregistered_instances_.get () != 0;
2252 ::XMLSchema::boolean
const& writerDataLifecycleQosPolicy::
2253 autodispose_unregistered_instances ()
const 2255 return *autodispose_unregistered_instances_;
2258 void writerDataLifecycleQosPolicy::
2259 autodispose_unregistered_instances (::XMLSchema::boolean
const& e)
2261 if (autodispose_unregistered_instances_.get ())
2263 *autodispose_unregistered_instances_ = e;
2268 autodispose_unregistered_instances_ = writerDataLifecycleQosPolicy::autodispose_unregistered_instances_auto_ptr_type (new ::XMLSchema::boolean (e));
2269 autodispose_unregistered_instances_->container (
this);
2276 dataRepresentationQosPolicy::dataRepresentationQosPolicy ()
2281 dataRepresentationQosPolicy::dataRepresentationQosPolicy (dataRepresentationQosPolicy
const& s) :
2283 ,
value_ (s.value_.get () ? new ::dds::dataRepresentationIdSeq (*s.value_) : 0)
2288 dataRepresentationQosPolicy&
2289 dataRepresentationQosPolicy::operator= (dataRepresentationQosPolicy
const& s)
2293 if (s.value_.get ())
2294 value (*(s.value_));
2304 bool dataRepresentationQosPolicy::
2307 return value_.get () != 0;
2317 value (::dds::dataRepresentationIdSeq
const& e)
2326 value_ = dataRepresentationQosPolicy::value_auto_ptr_type (new ::dds::dataRepresentationIdSeq (e));
2327 value_->container (
this);
2334 typeConsistencyEnforcementQosPolicy::typeConsistencyEnforcementQosPolicy ()
2339 typeConsistencyEnforcementQosPolicy::typeConsistencyEnforcementQosPolicy (typeConsistencyEnforcementQosPolicy
const& s) :
2341 , kind_ (s.kind_.get () ? new ::dds::typeConsistencyKind (*s.kind_) : 0)
2342 , ignore_sequence_bounds_ (s.ignore_sequence_bounds_.get () ? new ::XMLSchema::boolean (*s.ignore_sequence_bounds_) : 0)
2343 , ignore_string_bounds_ (s.ignore_string_bounds_.get () ? new ::XMLSchema::boolean (*s.ignore_string_bounds_) : 0)
2344 , ignore_member_names_ (s.ignore_member_names_.get () ? new ::XMLSchema::boolean (*s.ignore_member_names_) : 0)
2345 , prevent_type_widening_ (s.prevent_type_widening_.get () ? new ::XMLSchema::boolean (*s.prevent_type_widening_) : 0)
2346 , force_type_validation_ (s.force_type_validation_.get () ? new ::XMLSchema::boolean (*s.force_type_validation_) : 0)
2348 if (kind_.get ()) kind_->container (
this);
2349 if (ignore_sequence_bounds_.get ()) ignore_sequence_bounds_->container (
this);
2350 if (ignore_string_bounds_.get ()) ignore_string_bounds_->container (
this);
2351 if (ignore_member_names_.get ()) ignore_member_names_->container (
this);
2352 if (prevent_type_widening_.get ()) prevent_type_widening_->container (
this);
2353 if (force_type_validation_.get ()) force_type_validation_->container (
this);
2356 typeConsistencyEnforcementQosPolicy&
2357 typeConsistencyEnforcementQosPolicy::operator= (typeConsistencyEnforcementQosPolicy
const& s)
2366 if (s.ignore_sequence_bounds_.get ())
2367 ignore_sequence_bounds (*(s.ignore_sequence_bounds_));
2369 ignore_sequence_bounds_.reset (0);
2371 if (s.ignore_string_bounds_.get ())
2372 ignore_string_bounds (*(s.ignore_string_bounds_));
2374 ignore_string_bounds_.reset (0);
2376 if (s.ignore_member_names_.get ())
2377 ignore_member_names (*(s.ignore_member_names_));
2379 ignore_member_names_.reset (0);
2381 if (s.prevent_type_widening_.get ())
2382 prevent_type_widening (*(s.prevent_type_widening_));
2384 prevent_type_widening_.reset (0);
2386 if (s.force_type_validation_.get ())
2387 force_type_validation (*(s.force_type_validation_));
2389 force_type_validation_.reset (0);
2397 bool typeConsistencyEnforcementQosPolicy::
2400 return kind_.get () != 0;
2403 ::dds::typeConsistencyKind
const& typeConsistencyEnforcementQosPolicy::
2409 void typeConsistencyEnforcementQosPolicy::
2410 kind (::dds::typeConsistencyKind
const& e)
2419 kind_ = typeConsistencyEnforcementQosPolicy::kind_auto_ptr_type (new ::dds::typeConsistencyKind (e));
2420 kind_->container (
this);
2425 bool typeConsistencyEnforcementQosPolicy::
2426 ignore_sequence_bounds_p ()
const 2428 return ignore_sequence_bounds_.get () != 0;
2431 ::XMLSchema::boolean
const& typeConsistencyEnforcementQosPolicy::
2432 ignore_sequence_bounds ()
const 2434 return *ignore_sequence_bounds_;
2437 void typeConsistencyEnforcementQosPolicy::
2438 ignore_sequence_bounds (::XMLSchema::boolean
const& e)
2440 if (ignore_sequence_bounds_.get ())
2442 *ignore_sequence_bounds_ = e;
2447 ignore_sequence_bounds_ = typeConsistencyEnforcementQosPolicy::ignore_sequence_bounds_auto_ptr_type (new ::XMLSchema::boolean (e));
2448 ignore_sequence_bounds_->container (
this);
2453 bool typeConsistencyEnforcementQosPolicy::
2454 ignore_string_bounds_p ()
const 2456 return ignore_string_bounds_.get () != 0;
2459 ::XMLSchema::boolean
const& typeConsistencyEnforcementQosPolicy::
2460 ignore_string_bounds ()
const 2462 return *ignore_string_bounds_;
2465 void typeConsistencyEnforcementQosPolicy::
2466 ignore_string_bounds (::XMLSchema::boolean
const& e)
2468 if (ignore_string_bounds_.get ())
2470 *ignore_string_bounds_ = e;
2475 ignore_string_bounds_ = typeConsistencyEnforcementQosPolicy::ignore_string_bounds_auto_ptr_type (new ::XMLSchema::boolean (e));
2476 ignore_string_bounds_->container (
this);
2481 bool typeConsistencyEnforcementQosPolicy::
2482 ignore_member_names_p ()
const 2484 return ignore_member_names_.get () != 0;
2487 ::XMLSchema::boolean
const& typeConsistencyEnforcementQosPolicy::
2488 ignore_member_names ()
const 2490 return *ignore_member_names_;
2493 void typeConsistencyEnforcementQosPolicy::
2494 ignore_member_names (::XMLSchema::boolean
const& e)
2496 if (ignore_member_names_.get ())
2498 *ignore_member_names_ = e;
2503 ignore_member_names_ = typeConsistencyEnforcementQosPolicy::ignore_member_names_auto_ptr_type (new ::XMLSchema::boolean (e));
2504 ignore_member_names_->container (
this);
2509 bool typeConsistencyEnforcementQosPolicy::
2510 prevent_type_widening_p ()
const 2512 return prevent_type_widening_.get () != 0;
2515 ::XMLSchema::boolean
const& typeConsistencyEnforcementQosPolicy::
2516 prevent_type_widening ()
const 2518 return *prevent_type_widening_;
2521 void typeConsistencyEnforcementQosPolicy::
2522 prevent_type_widening (::XMLSchema::boolean
const& e)
2524 if (prevent_type_widening_.get ())
2526 *prevent_type_widening_ = e;
2531 prevent_type_widening_ = typeConsistencyEnforcementQosPolicy::prevent_type_widening_auto_ptr_type (new ::XMLSchema::boolean (e));
2532 prevent_type_widening_->container (
this);
2537 bool typeConsistencyEnforcementQosPolicy::
2538 force_type_validation_p ()
const 2540 return force_type_validation_.get () != 0;
2543 ::XMLSchema::boolean
const& typeConsistencyEnforcementQosPolicy::
2544 force_type_validation ()
const 2546 return *force_type_validation_;
2549 void typeConsistencyEnforcementQosPolicy::
2550 force_type_validation (::XMLSchema::boolean
const& e)
2552 if (force_type_validation_.get ())
2554 *force_type_validation_ = e;
2559 force_type_validation_ = typeConsistencyEnforcementQosPolicy::force_type_validation_auto_ptr_type (new ::XMLSchema::boolean (e));
2560 force_type_validation_->container (
this);
2567 domainparticipantQos::domainparticipantQos ()
2572 domainparticipantQos::domainparticipantQos (domainparticipantQos
const& s) :
2574 , user_data_ (s.user_data_.get () ? new ::dds::userDataQosPolicy (*s.user_data_) : 0)
2575 , entity_factory_ (s.entity_factory_.get () ? new ::dds::entityFactoryQosPolicy (*s.entity_factory_) : 0)
2576 , name_ (s.name_.get () ? new ::XMLSchema::string<ACE_TCHAR> (*s.name_) : 0)
2577 , base_name_ (s.base_name_.get () ? new ::XMLSchema::string<ACE_TCHAR> (*s.base_name_) : 0)
2579 if (user_data_.get ()) user_data_->container (
this);
2580 if (entity_factory_.get ()) entity_factory_->container (
this);
2581 if (name_.get ()) name_->container (
this);
2582 if (base_name_.get ()) base_name_->container (
this);
2585 domainparticipantQos&
2586 domainparticipantQos::operator= (domainparticipantQos
const& s)
2590 if (s.user_data_.get ())
2591 user_data (*(s.user_data_));
2593 user_data_.reset (0);
2595 if (s.entity_factory_.get ())
2596 entity_factory (*(s.entity_factory_));
2598 entity_factory_.reset (0);
2600 if (s.name_.get ())
name (*(s.name_));
2601 else name_.reset (0);
2603 if (s.base_name_.get ()) base_name (*(s.base_name_));
2604 else base_name_.reset (0);
2612 bool domainparticipantQos::
2613 user_data_p ()
const 2615 return user_data_.get () != 0;
2618 ::dds::userDataQosPolicy
const& domainparticipantQos::
2624 void domainparticipantQos::
2625 user_data (::dds::userDataQosPolicy
const& e)
2627 if (user_data_.get ())
2634 user_data_ = domainparticipantQos::user_data_auto_ptr_type (new ::dds::userDataQosPolicy (e));
2635 user_data_->container (
this);
2640 bool domainparticipantQos::
2641 entity_factory_p ()
const 2643 return entity_factory_.get () != 0;
2646 ::dds::entityFactoryQosPolicy
const& domainparticipantQos::
2647 entity_factory ()
const 2649 return *entity_factory_;
2652 void domainparticipantQos::
2653 entity_factory (::dds::entityFactoryQosPolicy
const& e)
2655 if (entity_factory_.get ())
2657 *entity_factory_ = e;
2662 entity_factory_ = domainparticipantQos::entity_factory_auto_ptr_type (new ::dds::entityFactoryQosPolicy (e));
2663 entity_factory_->container (
this);
2668 bool domainparticipantQos::
2671 return name_.get () != 0;
2687 name (::XMLSchema::string<ACE_TCHAR>
const& e)
2696 name_ = domainparticipantQos::name_auto_ptr_type (new ::XMLSchema::string<ACE_TCHAR> (e));
2697 name_->container (
this);
2702 bool domainparticipantQos::
2703 base_name_p ()
const 2705 return base_name_.get () != 0;
2708 ::XMLSchema::string<ACE_TCHAR>
const& domainparticipantQos::
2714 ::XMLSchema::string<ACE_TCHAR>& domainparticipantQos::
2720 void domainparticipantQos::
2721 base_name (::XMLSchema::string<ACE_TCHAR>
const& e)
2723 if (base_name_.get ())
2730 base_name_ = domainparticipantQos::base_name_auto_ptr_type (new ::XMLSchema::string<ACE_TCHAR> (e));
2731 base_name_->container (
this);
2738 publisherQos::publisherQos ()
2743 publisherQos::publisherQos (publisherQos
const& s) :
2745 , presentation_ (s.presentation_.get () ? new ::dds::presentationQosPolicy (*s.presentation_) : 0)
2746 , partition_ (s.partition_.get () ? new ::dds::partitionQosPolicy (*s.partition_) : 0)
2747 , group_data_ (s.group_data_.get () ? new ::dds::groupDataQosPolicy (*s.group_data_) : 0)
2748 , entity_factory_ (s.entity_factory_.get () ? new ::dds::entityFactoryQosPolicy (*s.entity_factory_) : 0)
2749 , name_ (s.name_.get () ? new ::XMLSchema::string<ACE_TCHAR> (*s.name_) : 0)
2750 , base_name_ (s.base_name_.get () ? new ::XMLSchema::string<ACE_TCHAR> (*s.base_name_) : 0)
2752 if (presentation_.get ()) presentation_->container (
this);
2753 if (partition_.get ()) partition_->container (
this);
2754 if (group_data_.get ()) group_data_->container (
this);
2755 if (entity_factory_.get ()) entity_factory_->container (
this);
2756 if (name_.get ()) name_->container (
this);
2757 if (base_name_.get ()) base_name_->container (
this);
2761 publisherQos::operator= (publisherQos
const& s)
2765 if (s.presentation_.get ())
2766 presentation (*(s.presentation_));
2768 presentation_.reset (0);
2770 if (s.partition_.get ())
2771 partition (*(s.partition_));
2773 partition_.reset (0);
2775 if (s.group_data_.get ())
2776 group_data (*(s.group_data_));
2778 group_data_.reset (0);
2780 if (s.entity_factory_.get ())
2781 entity_factory (*(s.entity_factory_));
2783 entity_factory_.reset (0);
2785 if (s.name_.get ())
name (*(s.name_));
2786 else name_.reset (0);
2788 if (s.base_name_.get ()) base_name (*(s.base_name_));
2789 else base_name_.reset (0);
2798 presentation_p ()
const 2800 return presentation_.get () != 0;
2803 ::dds::presentationQosPolicy
const& publisherQos::
2804 presentation ()
const 2806 return *presentation_;
2810 presentation (::dds::presentationQosPolicy
const& e)
2812 if (presentation_.get ())
2819 presentation_ = publisherQos::presentation_auto_ptr_type (new ::dds::presentationQosPolicy (e));
2820 presentation_->container (
this);
2826 partition_p ()
const 2828 return partition_.get () != 0;
2831 ::dds::partitionQosPolicy
const& publisherQos::
2838 partition (::dds::partitionQosPolicy
const& e)
2840 if (partition_.get ())
2847 partition_ = publisherQos::partition_auto_ptr_type (new ::dds::partitionQosPolicy (e));
2848 partition_->container (
this);
2854 group_data_p ()
const 2856 return group_data_.get () != 0;
2859 ::dds::groupDataQosPolicy
const& publisherQos::
2862 return *group_data_;
2866 group_data (::dds::groupDataQosPolicy
const& e)
2868 if (group_data_.get ())
2875 group_data_ = publisherQos::group_data_auto_ptr_type (new ::dds::groupDataQosPolicy (e));
2876 group_data_->container (
this);
2882 entity_factory_p ()
const 2884 return entity_factory_.get () != 0;
2887 ::dds::entityFactoryQosPolicy
const& publisherQos::
2888 entity_factory ()
const 2890 return *entity_factory_;
2894 entity_factory (::dds::entityFactoryQosPolicy
const& e)
2896 if (entity_factory_.get ())
2898 *entity_factory_ = e;
2903 entity_factory_ = publisherQos::entity_factory_auto_ptr_type (new ::dds::entityFactoryQosPolicy (e));
2904 entity_factory_->container (
this);
2912 return name_.get () != 0;
2928 name (::XMLSchema::string<ACE_TCHAR>
const& e)
2937 name_ = publisherQos::name_auto_ptr_type (new ::XMLSchema::string<ACE_TCHAR> (e));
2938 name_->container (
this);
2944 base_name_p ()
const 2946 return base_name_.get () != 0;
2949 ::XMLSchema::string<ACE_TCHAR>
const& publisherQos::
2955 ::XMLSchema::string<ACE_TCHAR>& publisherQos::
2962 base_name (::XMLSchema::string<ACE_TCHAR>
const& e)
2964 if (base_name_.get ())
2971 base_name_ = publisherQos::base_name_auto_ptr_type (new ::XMLSchema::string<ACE_TCHAR> (e));
2972 base_name_->container (
this);
2979 subscriberQos::subscriberQos ()
2984 subscriberQos::subscriberQos (subscriberQos
const& s) :
2986 , presentation_ (s.presentation_.get () ? new ::dds::presentationQosPolicy (*s.presentation_) : 0)
2987 , partition_ (s.partition_.get () ? new ::dds::partitionQosPolicy (*s.partition_) : 0)
2988 , group_data_ (s.group_data_.get () ? new ::dds::groupDataQosPolicy (*s.group_data_) : 0)
2989 , entity_factory_ (s.entity_factory_.get () ? new ::dds::entityFactoryQosPolicy (*s.entity_factory_) : 0)
2990 , name_ (s.name_.get () ? new ::XMLSchema::string<ACE_TCHAR> (*s.name_) : 0)
2991 , base_name_ (s.base_name_.get () ? new ::XMLSchema::string<ACE_TCHAR> (*s.base_name_) : 0)
2993 if (presentation_.get ()) presentation_->container (
this);
2994 if (partition_.get ()) partition_->container (
this);
2995 if (group_data_.get ()) group_data_->container (
this);
2996 if (entity_factory_.get ()) entity_factory_->container (
this);
2997 if (name_.get ()) name_->container (
this);
2998 if (base_name_.get ()) base_name_->container (
this);
3002 subscriberQos::operator= (subscriberQos
const& s)
3006 if (s.presentation_.get ())
3007 presentation (*(s.presentation_));
3009 presentation_.reset (0);
3011 if (s.partition_.get ())
3012 partition (*(s.partition_));
3014 partition_.reset (0);
3016 if (s.group_data_.get ())
3017 group_data (*(s.group_data_));
3019 group_data_.reset (0);
3021 if (s.entity_factory_.get ())
3022 entity_factory (*(s.entity_factory_));
3024 entity_factory_.reset (0);
3026 if (s.name_.get ())
name (*(s.name_));
3027 else name_.reset (0);
3029 if (s.base_name_.get ()) base_name (*(s.base_name_));
3030 else base_name_.reset (0);
3038 bool subscriberQos::
3039 presentation_p ()
const 3041 return presentation_.get () != 0;
3044 ::dds::presentationQosPolicy
const& subscriberQos::
3045 presentation ()
const 3047 return *presentation_;
3050 void subscriberQos::
3051 presentation (::dds::presentationQosPolicy
const& e)
3053 if (presentation_.get ())
3060 presentation_ = subscriberQos::presentation_auto_ptr_type (new ::dds::presentationQosPolicy (e));
3061 presentation_->container (
this);
3066 bool subscriberQos::
3067 partition_p ()
const 3069 return partition_.get () != 0;
3072 ::dds::partitionQosPolicy
const& subscriberQos::
3078 void subscriberQos::
3079 partition (::dds::partitionQosPolicy
const& e)
3081 if (partition_.get ())
3088 partition_ = subscriberQos::partition_auto_ptr_type (new ::dds::partitionQosPolicy (e));
3089 partition_->container (
this);
3094 bool subscriberQos::
3095 group_data_p ()
const 3097 return group_data_.get () != 0;
3100 ::dds::groupDataQosPolicy
const& subscriberQos::
3103 return *group_data_;
3106 void subscriberQos::
3107 group_data (::dds::groupDataQosPolicy
const& e)
3109 if (group_data_.get ())
3116 group_data_ = subscriberQos::group_data_auto_ptr_type (new ::dds::groupDataQosPolicy (e));
3117 group_data_->container (
this);
3122 bool subscriberQos::
3123 entity_factory_p ()
const 3125 return entity_factory_.get () != 0;
3128 ::dds::entityFactoryQosPolicy
const& subscriberQos::
3129 entity_factory ()
const 3131 return *entity_factory_;
3134 void subscriberQos::
3135 entity_factory (::dds::entityFactoryQosPolicy
const& e)
3137 if (entity_factory_.get ())
3139 *entity_factory_ = e;
3144 entity_factory_ = subscriberQos::entity_factory_auto_ptr_type (new ::dds::entityFactoryQosPolicy (e));
3145 entity_factory_->container (
this);
3150 bool subscriberQos::
3153 return name_.get () != 0;
3169 name (::XMLSchema::string<ACE_TCHAR>
const& e)
3178 name_ = subscriberQos::name_auto_ptr_type (new ::XMLSchema::string<ACE_TCHAR> (e));
3179 name_->container (
this);
3184 bool subscriberQos::
3185 base_name_p ()
const 3187 return base_name_.get () != 0;
3190 ::XMLSchema::string<ACE_TCHAR>
const& subscriberQos::
3196 ::XMLSchema::string<ACE_TCHAR>& subscriberQos::
3202 void subscriberQos::
3203 base_name (::XMLSchema::string<ACE_TCHAR>
const& e)
3205 if (base_name_.get ())
3212 base_name_ = subscriberQos::base_name_auto_ptr_type (new ::XMLSchema::string<ACE_TCHAR> (e));
3213 base_name_->container (
this);
3220 topicQos::topicQos ()
3225 topicQos::topicQos (topicQos
const& s) :
3227 , topic_data_ (s.topic_data_.get () ? new ::dds::topicDataQosPolicy (*s.topic_data_) : 0)
3228 , durability_ (s.durability_.get () ? new ::dds::durabilityQosPolicy (*s.durability_) : 0)
3229 , durability_service_ (s.durability_service_.get () ? new ::dds::durabilityServiceQosPolicy (*s.durability_service_) : 0)
3230 , deadline_ (s.deadline_.get () ? new ::dds::deadlineQosPolicy (*s.deadline_) : 0)
3231 , latency_budget_ (s.latency_budget_.get () ? new ::dds::latencyBudgetQosPolicy (*s.latency_budget_) : 0)
3232 , liveliness_ (s.liveliness_.get () ? new ::dds::livelinessQosPolicy (*s.liveliness_) : 0)
3233 , reliability_ (s.reliability_.get () ? new ::dds::reliabilityQosPolicy (*s.reliability_) : 0)
3234 , destination_order_ (s.destination_order_.get () ? new ::dds::destinationOrderQosPolicy (*s.destination_order_) : 0)
3235 , history_ (s.history_.get () ? new ::dds::historyQosPolicy (*s.history_) : 0)
3236 , resource_limits_ (s.resource_limits_.get () ? new ::dds::resourceLimitsQosPolicy (*s.resource_limits_) : 0)
3237 , transport_priority_ (s.transport_priority_.get () ? new ::dds::transportPriorityQosPolicy (*s.transport_priority_) : 0)
3238 , lifespan_ (s.lifespan_.get () ? new ::dds::lifespanQosPolicy (*s.lifespan_) : 0)
3239 , ownership_ (s.ownership_.get () ? new ::dds::ownershipQosPolicy (*s.ownership_) : 0)
3240 , representation_ (s.representation_.get () ? new ::dds::dataRepresentationQosPolicy (*s.representation_) : 0)
3241 , name_ (s.name_.get () ? new ::XMLSchema::string<ACE_TCHAR> (*s.name_) : 0)
3242 , base_name_ (s.base_name_.get () ? new ::XMLSchema::string<ACE_TCHAR> (*s.base_name_) : 0)
3243 , topic_filter_ (s.topic_filter_.get () ? new ::XMLSchema::string<ACE_TCHAR> (*s.topic_filter_) : 0)
3245 if (topic_data_.get ()) topic_data_->container (
this);
3246 if (durability_.get ()) durability_->container (
this);
3247 if (durability_service_.get ()) durability_service_->container (
this);
3248 if (deadline_.get ()) deadline_->container (
this);
3249 if (latency_budget_.get ()) latency_budget_->container (
this);
3250 if (liveliness_.get ()) liveliness_->container (
this);
3251 if (reliability_.get ()) reliability_->container (
this);
3252 if (destination_order_.get ()) destination_order_->container (
this);
3253 if (history_.get ()) history_->container (
this);
3254 if (resource_limits_.get ()) resource_limits_->container (
this);
3255 if (transport_priority_.get ()) transport_priority_->container (
this);
3256 if (lifespan_.get ()) lifespan_->container (
this);
3257 if (ownership_.get ()) ownership_->container (
this);
3258 if (representation_.get ()) representation_->container (
this);
3259 if (name_.get ()) name_->container (
this);
3260 if (base_name_.get ()) base_name_->container (
this);
3261 if (topic_filter_.get ()) topic_filter_->container (
this);
3265 topicQos::operator= (topicQos
const& s)
3269 if (s.topic_data_.get ())
3270 topic_data (*(s.topic_data_));
3272 topic_data_.reset (0);
3274 if (s.durability_.get ())
3275 durability (*(s.durability_));
3277 durability_.reset (0);
3279 if (s.durability_service_.get ())
3280 durability_service (*(s.durability_service_));
3282 durability_service_.reset (0);
3284 if (s.deadline_.get ())
3285 deadline (*(s.deadline_));
3287 deadline_.reset (0);
3289 if (s.latency_budget_.get ())
3290 latency_budget (*(s.latency_budget_));
3292 latency_budget_.reset (0);
3294 if (s.liveliness_.get ())
3295 liveliness (*(s.liveliness_));
3297 liveliness_.reset (0);
3299 if (s.reliability_.get ())
3300 reliability (*(s.reliability_));
3302 reliability_.reset (0);
3304 if (s.destination_order_.get ())
3305 destination_order (*(s.destination_order_));
3307 destination_order_.reset (0);
3309 if (s.history_.get ())
3310 history (*(s.history_));
3314 if (s.resource_limits_.get ())
3315 resource_limits (*(s.resource_limits_));
3317 resource_limits_.reset (0);
3319 if (s.transport_priority_.get ())
3320 transport_priority (*(s.transport_priority_));
3322 transport_priority_.reset (0);
3324 if (s.lifespan_.get ())
3325 lifespan (*(s.lifespan_));
3327 lifespan_.reset (0);
3329 if (s.ownership_.get ())
3330 ownership (*(s.ownership_));
3332 ownership_.reset (0);
3334 if (s.representation_.get ())
3335 representation (*(s.representation_));
3337 representation_.reset (0);
3339 if (s.name_.get ())
name (*(s.name_));
3340 else name_.reset (0);
3342 if (s.base_name_.get ()) base_name (*(s.base_name_));
3343 else base_name_.reset (0);
3345 if (s.topic_filter_.get ()) topic_filter (*(s.topic_filter_));
3346 else topic_filter_.reset (0);
3355 topic_data_p ()
const 3357 return topic_data_.get () != 0;
3360 ::dds::topicDataQosPolicy
const& topicQos::
3363 return *topic_data_;
3367 topic_data (::dds::topicDataQosPolicy
const& e)
3369 if (topic_data_.get ())
3376 topic_data_ = topicQos::topic_data_auto_ptr_type (new ::dds::topicDataQosPolicy (e));
3377 topic_data_->container (
this);
3383 durability_p ()
const 3385 return durability_.get () != 0;
3388 ::dds::durabilityQosPolicy
const& topicQos::
3391 return *durability_;
3395 durability (::dds::durabilityQosPolicy
const& e)
3397 if (durability_.get ())
3404 durability_ = topicQos::durability_auto_ptr_type (new ::dds::durabilityQosPolicy (e));
3405 durability_->container (
this);
3411 durability_service_p ()
const 3413 return durability_service_.get () != 0;
3416 ::dds::durabilityServiceQosPolicy
const& topicQos::
3417 durability_service ()
const 3419 return *durability_service_;
3423 durability_service (::dds::durabilityServiceQosPolicy
const& e)
3425 if (durability_service_.get ())
3427 *durability_service_ = e;
3432 durability_service_ = topicQos::durability_service_auto_ptr_type (new ::dds::durabilityServiceQosPolicy (e));
3433 durability_service_->container (
this);
3441 return deadline_.get () != 0;
3444 ::dds::deadlineQosPolicy
const& topicQos::
3451 deadline (::dds::deadlineQosPolicy
const& e)
3453 if (deadline_.get ())
3460 deadline_ = topicQos::deadline_auto_ptr_type (new ::dds::deadlineQosPolicy (e));
3461 deadline_->container (
this);
3467 latency_budget_p ()
const 3469 return latency_budget_.get () != 0;
3472 ::dds::latencyBudgetQosPolicy
const& topicQos::
3473 latency_budget ()
const 3475 return *latency_budget_;
3479 latency_budget (::dds::latencyBudgetQosPolicy
const& e)
3481 if (latency_budget_.get ())
3483 *latency_budget_ = e;
3488 latency_budget_ = topicQos::latency_budget_auto_ptr_type (new ::dds::latencyBudgetQosPolicy (e));
3489 latency_budget_->container (
this);
3495 liveliness_p ()
const 3497 return liveliness_.get () != 0;
3500 ::dds::livelinessQosPolicy
const& topicQos::
3503 return *liveliness_;
3507 liveliness (::dds::livelinessQosPolicy
const& e)
3509 if (liveliness_.get ())
3516 liveliness_ = topicQos::liveliness_auto_ptr_type (new ::dds::livelinessQosPolicy (e));
3517 liveliness_->container (
this);
3523 reliability_p ()
const 3525 return reliability_.get () != 0;
3528 ::dds::reliabilityQosPolicy
const& topicQos::
3529 reliability ()
const 3531 return *reliability_;
3535 reliability (::dds::reliabilityQosPolicy
const& e)
3537 if (reliability_.get ())
3544 reliability_ = topicQos::reliability_auto_ptr_type (new ::dds::reliabilityQosPolicy (e));
3545 reliability_->container (
this);
3551 destination_order_p ()
const 3553 return destination_order_.get () != 0;
3556 ::dds::destinationOrderQosPolicy
const& topicQos::
3557 destination_order ()
const 3559 return *destination_order_;
3563 destination_order (::dds::destinationOrderQosPolicy
const& e)
3565 if (destination_order_.get ())
3567 *destination_order_ = e;
3572 destination_order_ = topicQos::destination_order_auto_ptr_type (new ::dds::destinationOrderQosPolicy (e));
3573 destination_order_->container (
this);
3581 return history_.get () != 0;
3584 ::dds::historyQosPolicy
const& topicQos::
3591 history (::dds::historyQosPolicy
const& e)
3593 if (history_.get ())
3600 history_ = topicQos::history_auto_ptr_type (new ::dds::historyQosPolicy (e));
3601 history_->container (
this);
3607 resource_limits_p ()
const 3609 return resource_limits_.get () != 0;
3612 ::dds::resourceLimitsQosPolicy
const& topicQos::
3613 resource_limits ()
const 3615 return *resource_limits_;
3619 resource_limits (::dds::resourceLimitsQosPolicy
const& e)
3621 if (resource_limits_.get ())
3623 *resource_limits_ = e;
3628 resource_limits_ = topicQos::resource_limits_auto_ptr_type (new ::dds::resourceLimitsQosPolicy (e));
3629 resource_limits_->container (
this);
3635 transport_priority_p ()
const 3637 return transport_priority_.get () != 0;
3640 ::dds::transportPriorityQosPolicy
const& topicQos::
3641 transport_priority ()
const 3643 return *transport_priority_;
3647 transport_priority (::dds::transportPriorityQosPolicy
const& e)
3649 if (transport_priority_.get ())
3651 *transport_priority_ = e;
3656 transport_priority_ = topicQos::transport_priority_auto_ptr_type (new ::dds::transportPriorityQosPolicy (e));
3657 transport_priority_->container (
this);
3665 return lifespan_.get () != 0;
3668 ::dds::lifespanQosPolicy
const& topicQos::
3675 lifespan (::dds::lifespanQosPolicy
const& e)
3677 if (lifespan_.get ())
3684 lifespan_ = topicQos::lifespan_auto_ptr_type (new ::dds::lifespanQosPolicy (e));
3685 lifespan_->container (
this);
3691 ownership_p ()
const 3693 return ownership_.get () != 0;
3696 ::dds::ownershipQosPolicy
const& topicQos::
3703 ownership (::dds::ownershipQosPolicy
const& e)
3705 if (ownership_.get ())
3712 ownership_ = topicQos::ownership_auto_ptr_type (new ::dds::ownershipQosPolicy (e));
3713 ownership_->container (
this);
3719 representation_p ()
const 3721 return representation_.get () != 0;
3724 ::dds::dataRepresentationQosPolicy
const& topicQos::
3725 representation ()
const 3727 return *representation_;
3731 representation (::dds::dataRepresentationQosPolicy
const& e)
3733 if (representation_.get ())
3735 *representation_ = e;
3740 representation_ = topicQos::representation_auto_ptr_type (new ::dds::dataRepresentationQosPolicy (e));
3741 representation_->container (
this);
3749 return name_.get () != 0;
3752 ::XMLSchema::string<ACE_TCHAR>
const&
topicQos:: 3765 name (::XMLSchema::string<ACE_TCHAR>
const& e)
3774 name_ = topicQos::name_auto_ptr_type (new ::XMLSchema::string<ACE_TCHAR> (e));
3775 name_->container (
this);
3781 base_name_p ()
const 3783 return base_name_.get () != 0;
3786 ::XMLSchema::string<ACE_TCHAR>
const& topicQos::
3792 ::XMLSchema::string<ACE_TCHAR>& topicQos::
3799 base_name (::XMLSchema::string<ACE_TCHAR>
const& e)
3801 if (base_name_.get ())
3808 base_name_ = topicQos::base_name_auto_ptr_type (new ::XMLSchema::string<ACE_TCHAR> (e));
3809 base_name_->container (
this);
3815 topic_filter_p ()
const 3817 return topic_filter_.get () != 0;
3820 ::XMLSchema::string<ACE_TCHAR>
const& topicQos::
3821 topic_filter ()
const 3823 return *topic_filter_;
3826 ::XMLSchema::string<ACE_TCHAR>& topicQos::
3829 return *topic_filter_;
3833 topic_filter (::XMLSchema::string<ACE_TCHAR>
const& e)
3835 if (topic_filter_.get ())
3842 topic_filter_ = topicQos::topic_filter_auto_ptr_type (new ::XMLSchema::string<ACE_TCHAR> (e));
3843 topic_filter_->container (
this);
3850 datareaderQos::datareaderQos ()
3855 datareaderQos::datareaderQos (datareaderQos
const& s) :
3857 , durability_ (s.durability_.get () ? new ::dds::durabilityQosPolicy (*s.durability_) : 0)
3858 , deadline_ (s.deadline_.get () ? new ::dds::deadlineQosPolicy (*s.deadline_) : 0)
3859 , latency_budget_ (s.latency_budget_.get () ? new ::dds::latencyBudgetQosPolicy (*s.latency_budget_) : 0)
3860 , liveliness_ (s.liveliness_.get () ? new ::dds::livelinessQosPolicy (*s.liveliness_) : 0)
3861 , reliability_ (s.reliability_.get () ? new ::dds::reliabilityQosPolicy (*s.reliability_) : 0)
3862 , destination_order_ (s.destination_order_.get () ? new ::dds::destinationOrderQosPolicy (*s.destination_order_) : 0)
3863 , history_ (s.history_.get () ? new ::dds::historyQosPolicy (*s.history_) : 0)
3864 , resource_limits_ (s.resource_limits_.get () ? new ::dds::resourceLimitsQosPolicy (*s.resource_limits_) : 0)
3865 , user_data_ (s.user_data_.get () ? new ::dds::userDataQosPolicy (*s.user_data_) : 0)
3866 , ownership_ (s.ownership_.get () ? new ::dds::ownershipQosPolicy (*s.ownership_) : 0)
3867 , time_based_filter_ (s.time_based_filter_.get () ? new ::dds::timeBasedFilterQosPolicy (*s.time_based_filter_) : 0)
3868 , reader_data_lifecycle_ (s.reader_data_lifecycle_.get () ? new ::dds::readerDataLifecycleQosPolicy (*s.reader_data_lifecycle_) : 0)
3869 , representation_ (s.representation_.get () ? new ::dds::dataRepresentationQosPolicy (*s.representation_) : 0)
3870 , type_consistency_ (s.type_consistency_.get () ? new ::dds::typeConsistencyEnforcementQosPolicy (*s.type_consistency_) : 0)
3871 , name_ (s.name_.get () ? new ::XMLSchema::string<ACE_TCHAR> (*s.name_) : 0)
3872 , base_name_ (s.base_name_.get () ? new ::XMLSchema::string<ACE_TCHAR> (*s.base_name_) : 0)
3873 , topic_filter_ (s.topic_filter_.get () ? new ::XMLSchema::string<ACE_TCHAR> (*s.topic_filter_) : 0)
3875 if (durability_.get ()) durability_->container (
this);
3876 if (deadline_.get ()) deadline_->container (
this);
3877 if (latency_budget_.get ()) latency_budget_->container (
this);
3878 if (liveliness_.get ()) liveliness_->container (
this);
3879 if (reliability_.get ()) reliability_->container (
this);
3880 if (destination_order_.get ()) destination_order_->container (
this);
3881 if (history_.get ()) history_->container (
this);
3882 if (resource_limits_.get ()) resource_limits_->container (
this);
3883 if (user_data_.get ()) user_data_->container (
this);
3884 if (ownership_.get ()) ownership_->container (
this);
3885 if (time_based_filter_.get ()) time_based_filter_->container (
this);
3886 if (reader_data_lifecycle_.get ()) reader_data_lifecycle_->container (
this);
3887 if (representation_.get ()) representation_->container (
this);
3888 if (type_consistency_.get ()) type_consistency_->container (
this);
3889 if (name_.get ()) name_->container (
this);
3890 if (base_name_.get ()) base_name_->container (
this);
3891 if (topic_filter_.get ()) topic_filter_->container (
this);
3895 datareaderQos::operator= (datareaderQos
const& s)
3899 if (s.durability_.get ())
3900 durability (*(s.durability_));
3902 durability_.reset (0);
3904 if (s.deadline_.get ())
3905 deadline (*(s.deadline_));
3907 deadline_.reset (0);
3909 if (s.latency_budget_.get ())
3910 latency_budget (*(s.latency_budget_));
3912 latency_budget_.reset (0);
3914 if (s.liveliness_.get ())
3915 liveliness (*(s.liveliness_));
3917 liveliness_.reset (0);
3919 if (s.reliability_.get ())
3920 reliability (*(s.reliability_));
3922 reliability_.reset (0);
3924 if (s.destination_order_.get ())
3925 destination_order (*(s.destination_order_));
3927 destination_order_.reset (0);
3929 if (s.history_.get ())
3930 history (*(s.history_));
3934 if (s.resource_limits_.get ())
3935 resource_limits (*(s.resource_limits_));
3937 resource_limits_.reset (0);
3939 if (s.user_data_.get ())
3940 user_data (*(s.user_data_));
3942 user_data_.reset (0);
3944 if (s.ownership_.get ())
3945 ownership (*(s.ownership_));
3947 ownership_.reset (0);
3949 if (s.time_based_filter_.get ())
3950 time_based_filter (*(s.time_based_filter_));
3952 time_based_filter_.reset (0);
3954 if (s.reader_data_lifecycle_.get ())
3955 reader_data_lifecycle (*(s.reader_data_lifecycle_));
3957 reader_data_lifecycle_.reset (0);
3959 if (s.representation_.get ())
3960 representation (*(s.representation_));
3962 representation_.reset (0);
3964 if (s.type_consistency_.get ())
3965 type_consistency (*(s.type_consistency_));
3967 type_consistency_.reset (0);
3969 if (s.name_.get ())
name (*(s.name_));
3970 else name_.reset (0);
3972 if (s.base_name_.get ()) base_name (*(s.base_name_));
3973 else base_name_.reset (0);
3975 if (s.topic_filter_.get ()) topic_filter (*(s.topic_filter_));
3976 else topic_filter_.reset (0);
3984 bool datareaderQos::
3985 durability_p ()
const 3987 return durability_.get () != 0;
3990 ::dds::durabilityQosPolicy
const& datareaderQos::
3993 return *durability_;
3996 void datareaderQos::
3997 durability (::dds::durabilityQosPolicy
const& e)
3999 if (durability_.get ())
4006 durability_ = datareaderQos::durability_auto_ptr_type (new ::dds::durabilityQosPolicy (e));
4007 durability_->container (
this);
4012 bool datareaderQos::
4015 return deadline_.get () != 0;
4018 ::dds::deadlineQosPolicy
const& datareaderQos::
4024 void datareaderQos::
4025 deadline (::dds::deadlineQosPolicy
const& e)
4027 if (deadline_.get ())
4034 deadline_ = datareaderQos::deadline_auto_ptr_type (new ::dds::deadlineQosPolicy (e));
4035 deadline_->container (
this);
4040 bool datareaderQos::
4041 latency_budget_p ()
const 4043 return latency_budget_.get () != 0;
4046 ::dds::latencyBudgetQosPolicy
const& datareaderQos::
4047 latency_budget ()
const 4049 return *latency_budget_;
4052 void datareaderQos::
4053 latency_budget (::dds::latencyBudgetQosPolicy
const& e)
4055 if (latency_budget_.get ())
4057 *latency_budget_ = e;
4062 latency_budget_ = datareaderQos::latency_budget_auto_ptr_type (new ::dds::latencyBudgetQosPolicy (e));
4063 latency_budget_->container (
this);
4068 bool datareaderQos::
4069 liveliness_p ()
const 4071 return liveliness_.get () != 0;
4074 ::dds::livelinessQosPolicy
const& datareaderQos::
4077 return *liveliness_;
4080 void datareaderQos::
4081 liveliness (::dds::livelinessQosPolicy
const& e)
4083 if (liveliness_.get ())
4090 liveliness_ = datareaderQos::liveliness_auto_ptr_type (new ::dds::livelinessQosPolicy (e));
4091 liveliness_->container (
this);
4096 bool datareaderQos::
4097 reliability_p ()
const 4099 return reliability_.get () != 0;
4102 ::dds::reliabilityQosPolicy
const& datareaderQos::
4103 reliability ()
const 4105 return *reliability_;
4108 void datareaderQos::
4109 reliability (::dds::reliabilityQosPolicy
const& e)
4111 if (reliability_.get ())
4118 reliability_ = datareaderQos::reliability_auto_ptr_type (new ::dds::reliabilityQosPolicy (e));
4119 reliability_->container (
this);
4124 bool datareaderQos::
4125 destination_order_p ()
const 4127 return destination_order_.get () != 0;
4130 ::dds::destinationOrderQosPolicy
const& datareaderQos::
4131 destination_order ()
const 4133 return *destination_order_;
4136 void datareaderQos::
4137 destination_order (::dds::destinationOrderQosPolicy
const& e)
4139 if (destination_order_.get ())
4141 *destination_order_ = e;
4146 destination_order_ = datareaderQos::destination_order_auto_ptr_type (new ::dds::destinationOrderQosPolicy (e));
4147 destination_order_->container (
this);
4152 bool datareaderQos::
4155 return history_.get () != 0;
4158 ::dds::historyQosPolicy
const& datareaderQos::
4164 void datareaderQos::
4165 history (::dds::historyQosPolicy
const& e)
4167 if (history_.get ())
4174 history_ = datareaderQos::history_auto_ptr_type (new ::dds::historyQosPolicy (e));
4175 history_->container (
this);
4180 bool datareaderQos::
4181 resource_limits_p ()
const 4183 return resource_limits_.get () != 0;
4186 ::dds::resourceLimitsQosPolicy
const& datareaderQos::
4187 resource_limits ()
const 4189 return *resource_limits_;
4192 void datareaderQos::
4193 resource_limits (::dds::resourceLimitsQosPolicy
const& e)
4195 if (resource_limits_.get ())
4197 *resource_limits_ = e;
4202 resource_limits_ = datareaderQos::resource_limits_auto_ptr_type (new ::dds::resourceLimitsQosPolicy (e));
4203 resource_limits_->container (
this);
4208 bool datareaderQos::
4209 user_data_p ()
const 4211 return user_data_.get () != 0;
4214 ::dds::userDataQosPolicy
const& datareaderQos::
4220 void datareaderQos::
4221 user_data (::dds::userDataQosPolicy
const& e)
4223 if (user_data_.get ())
4230 user_data_ = datareaderQos::user_data_auto_ptr_type (new ::dds::userDataQosPolicy (e));
4231 user_data_->container (
this);
4236 bool datareaderQos::
4237 ownership_p ()
const 4239 return ownership_.get () != 0;
4242 ::dds::ownershipQosPolicy
const& datareaderQos::
4248 void datareaderQos::
4249 ownership (::dds::ownershipQosPolicy
const& e)
4251 if (ownership_.get ())
4258 ownership_ = datareaderQos::ownership_auto_ptr_type (new ::dds::ownershipQosPolicy (e));
4259 ownership_->container (
this);
4264 bool datareaderQos::
4265 time_based_filter_p ()
const 4267 return time_based_filter_.get () != 0;
4270 ::dds::timeBasedFilterQosPolicy
const& datareaderQos::
4271 time_based_filter ()
const 4273 return *time_based_filter_;
4276 void datareaderQos::
4277 time_based_filter (::dds::timeBasedFilterQosPolicy
const& e)
4279 if (time_based_filter_.get ())
4281 *time_based_filter_ = e;
4286 time_based_filter_ = datareaderQos::time_based_filter_auto_ptr_type (new ::dds::timeBasedFilterQosPolicy (e));
4287 time_based_filter_->container (
this);
4292 bool datareaderQos::
4293 reader_data_lifecycle_p ()
const 4295 return reader_data_lifecycle_.get () != 0;
4298 ::dds::readerDataLifecycleQosPolicy
const& datareaderQos::
4299 reader_data_lifecycle ()
const 4301 return *reader_data_lifecycle_;
4304 void datareaderQos::
4305 reader_data_lifecycle (::dds::readerDataLifecycleQosPolicy
const& e)
4307 if (reader_data_lifecycle_.get ())
4309 *reader_data_lifecycle_ = e;
4314 reader_data_lifecycle_ = datareaderQos::reader_data_lifecycle_auto_ptr_type (new ::dds::readerDataLifecycleQosPolicy (e));
4315 reader_data_lifecycle_->container (
this);
4320 bool datareaderQos::
4321 representation_p ()
const 4323 return representation_.get () != 0;
4326 ::dds::dataRepresentationQosPolicy
const& datareaderQos::
4327 representation ()
const 4329 return *representation_;
4332 void datareaderQos::
4333 representation (::dds::dataRepresentationQosPolicy
const& e)
4335 if (representation_.get ())
4337 *representation_ = e;
4342 representation_ = datareaderQos::representation_auto_ptr_type (new ::dds::dataRepresentationQosPolicy (e));
4343 representation_->container (
this);
4348 bool datareaderQos::
4349 type_consistency_p ()
const 4351 return type_consistency_.get () != 0;
4354 ::dds::typeConsistencyEnforcementQosPolicy
const& datareaderQos::
4355 type_consistency ()
const 4357 return *type_consistency_;
4360 void datareaderQos::
4361 type_consistency (::dds::typeConsistencyEnforcementQosPolicy
const& e)
4363 if (type_consistency_.get ())
4365 *type_consistency_ = e;
4370 type_consistency_ = datareaderQos::type_consistency_auto_ptr_type (new ::dds::typeConsistencyEnforcementQosPolicy (e));
4371 type_consistency_->container (
this);
4376 bool datareaderQos::
4379 return name_.get () != 0;
4395 name (::XMLSchema::string<ACE_TCHAR>
const& e)
4404 name_ = datareaderQos::name_auto_ptr_type (new ::XMLSchema::string<ACE_TCHAR> (e));
4405 name_->container (
this);
4410 bool datareaderQos::
4411 base_name_p ()
const 4413 return base_name_.get () != 0;
4416 ::XMLSchema::string<ACE_TCHAR>
const& datareaderQos::
4422 ::XMLSchema::string<ACE_TCHAR>& datareaderQos::
4428 void datareaderQos::
4429 base_name (::XMLSchema::string<ACE_TCHAR>
const& e)
4431 if (base_name_.get ())
4438 base_name_ = datareaderQos::base_name_auto_ptr_type (new ::XMLSchema::string<ACE_TCHAR> (e));
4439 base_name_->container (
this);
4444 bool datareaderQos::
4445 topic_filter_p ()
const 4447 return topic_filter_.get () != 0;
4450 ::XMLSchema::string<ACE_TCHAR>
const& datareaderQos::
4451 topic_filter ()
const 4453 return *topic_filter_;
4456 ::XMLSchema::string<ACE_TCHAR>& datareaderQos::
4459 return *topic_filter_;
4462 void datareaderQos::
4463 topic_filter (::XMLSchema::string<ACE_TCHAR>
const& e)
4465 if (topic_filter_.get ())
4472 topic_filter_ = datareaderQos::topic_filter_auto_ptr_type (new ::XMLSchema::string<ACE_TCHAR> (e));
4473 topic_filter_->container (
this);
4480 datawriterQos::datawriterQos ()
4485 datawriterQos::datawriterQos (datawriterQos
const& s) :
4487 , durability_ (s.durability_.get () ? new ::dds::durabilityQosPolicy (*s.durability_) : 0)
4488 , durability_service_ (s.durability_service_.get () ? new ::dds::durabilityServiceQosPolicy (*s.durability_service_) : 0)
4489 , deadline_ (s.deadline_.get () ? new ::dds::deadlineQosPolicy (*s.deadline_) : 0)
4490 , latency_budget_ (s.latency_budget_.get () ? new ::dds::latencyBudgetQosPolicy (*s.latency_budget_) : 0)
4491 , liveliness_ (s.liveliness_.get () ? new ::dds::livelinessQosPolicy (*s.liveliness_) : 0)
4492 , reliability_ (s.reliability_.get () ? new ::dds::reliabilityQosPolicy (*s.reliability_) : 0)
4493 , destination_order_ (s.destination_order_.get () ? new ::dds::destinationOrderQosPolicy (*s.destination_order_) : 0)
4494 , history_ (s.history_.get () ? new ::dds::historyQosPolicy (*s.history_) : 0)
4495 , resource_limits_ (s.resource_limits_.get () ? new ::dds::resourceLimitsQosPolicy (*s.resource_limits_) : 0)
4496 , transport_priority_ (s.transport_priority_.get () ? new ::dds::transportPriorityQosPolicy (*s.transport_priority_) : 0)
4497 , lifespan_ (s.lifespan_.get () ? new ::dds::lifespanQosPolicy (*s.lifespan_) : 0)
4498 , user_data_ (s.user_data_.get () ? new ::dds::userDataQosPolicy (*s.user_data_) : 0)
4499 , ownership_ (s.ownership_.get () ? new ::dds::ownershipQosPolicy (*s.ownership_) : 0)
4500 , ownership_strength_ (s.ownership_strength_.get () ? new ::dds::ownershipStrengthQosPolicy (*s.ownership_strength_) : 0)
4501 , writer_data_lifecycle_ (s.writer_data_lifecycle_.get () ? new ::dds::writerDataLifecycleQosPolicy (*s.writer_data_lifecycle_) : 0)
4502 , representation_ (s.representation_.get () ? new ::dds::dataRepresentationQosPolicy (*s.representation_) : 0)
4503 , name_ (s.name_.get () ? new ::XMLSchema::string<ACE_TCHAR> (*s.name_) : 0)
4504 , base_name_ (s.base_name_.get () ? new ::XMLSchema::string<ACE_TCHAR> (*s.base_name_) : 0)
4505 , topic_filter_ (s.topic_filter_.get () ? new ::XMLSchema::string<ACE_TCHAR> (*s.topic_filter_) : 0)
4507 if (durability_.get ()) durability_->container (
this);
4508 if (durability_service_.get ()) durability_service_->container (
this);
4509 if (deadline_.get ()) deadline_->container (
this);
4510 if (latency_budget_.get ()) latency_budget_->container (
this);
4511 if (liveliness_.get ()) liveliness_->container (
this);
4512 if (reliability_.get ()) reliability_->container (
this);
4513 if (destination_order_.get ()) destination_order_->container (
this);
4514 if (history_.get ()) history_->container (
this);
4515 if (resource_limits_.get ()) resource_limits_->container (
this);
4516 if (transport_priority_.get ()) transport_priority_->container (
this);
4517 if (lifespan_.get ()) lifespan_->container (
this);
4518 if (user_data_.get ()) user_data_->container (
this);
4519 if (ownership_.get ()) ownership_->container (
this);
4520 if (ownership_strength_.get ()) ownership_strength_->container (
this);
4521 if (writer_data_lifecycle_.get ()) writer_data_lifecycle_->container (
this);
4522 if (representation_.get ()) representation_->container (
this);
4523 if (name_.get ()) name_->container (
this);
4524 if (base_name_.get ()) base_name_->container (
this);
4525 if (topic_filter_.get ()) topic_filter_->container (
this);
4529 datawriterQos::operator= (datawriterQos
const& s)
4533 if (s.durability_.get ())
4534 durability (*(s.durability_));
4536 durability_.reset (0);
4538 if (s.durability_service_.get ())
4539 durability_service (*(s.durability_service_));
4541 durability_service_.reset (0);
4543 if (s.deadline_.get ())
4544 deadline (*(s.deadline_));
4546 deadline_.reset (0);
4548 if (s.latency_budget_.get ())
4549 latency_budget (*(s.latency_budget_));
4551 latency_budget_.reset (0);
4553 if (s.liveliness_.get ())
4554 liveliness (*(s.liveliness_));
4556 liveliness_.reset (0);
4558 if (s.reliability_.get ())
4559 reliability (*(s.reliability_));
4561 reliability_.reset (0);
4563 if (s.destination_order_.get ())
4564 destination_order (*(s.destination_order_));
4566 destination_order_.reset (0);
4568 if (s.history_.get ())
4569 history (*(s.history_));
4573 if (s.resource_limits_.get ())
4574 resource_limits (*(s.resource_limits_));
4576 resource_limits_.reset (0);
4578 if (s.transport_priority_.get ())
4579 transport_priority (*(s.transport_priority_));
4581 transport_priority_.reset (0);
4583 if (s.lifespan_.get ())
4584 lifespan (*(s.lifespan_));
4586 lifespan_.reset (0);
4588 if (s.user_data_.get ())
4589 user_data (*(s.user_data_));
4591 user_data_.reset (0);
4593 if (s.ownership_.get ())
4594 ownership (*(s.ownership_));
4596 ownership_.reset (0);
4598 if (s.ownership_strength_.get ())
4599 ownership_strength (*(s.ownership_strength_));
4601 ownership_strength_.reset (0);
4603 if (s.writer_data_lifecycle_.get ())
4604 writer_data_lifecycle (*(s.writer_data_lifecycle_));
4606 writer_data_lifecycle_.reset (0);
4608 if (s.representation_.get ())
4609 representation (*(s.representation_));
4611 representation_.reset (0);
4613 if (s.name_.get ())
name (*(s.name_));
4614 else name_.reset (0);
4616 if (s.base_name_.get ()) base_name (*(s.base_name_));
4617 else base_name_.reset (0);
4619 if (s.topic_filter_.get ()) topic_filter (*(s.topic_filter_));
4620 else topic_filter_.reset (0);
4628 bool datawriterQos::
4629 durability_p ()
const 4631 return durability_.get () != 0;
4634 ::dds::durabilityQosPolicy
const& datawriterQos::
4637 return *durability_;
4640 void datawriterQos::
4641 durability (::dds::durabilityQosPolicy
const& e)
4643 if (durability_.get ())
4650 durability_ = datawriterQos::durability_auto_ptr_type (new ::dds::durabilityQosPolicy (e));
4651 durability_->container (
this);
4656 bool datawriterQos::
4657 durability_service_p ()
const 4659 return durability_service_.get () != 0;
4662 ::dds::durabilityServiceQosPolicy
const& datawriterQos::
4663 durability_service ()
const 4665 return *durability_service_;
4668 void datawriterQos::
4669 durability_service (::dds::durabilityServiceQosPolicy
const& e)
4671 if (durability_service_.get ())
4673 *durability_service_ = e;
4678 durability_service_ = datawriterQos::durability_service_auto_ptr_type (new ::dds::durabilityServiceQosPolicy (e));
4679 durability_service_->container (
this);
4684 bool datawriterQos::
4687 return deadline_.get () != 0;
4690 ::dds::deadlineQosPolicy
const& datawriterQos::
4696 void datawriterQos::
4697 deadline (::dds::deadlineQosPolicy
const& e)
4699 if (deadline_.get ())
4706 deadline_ = datawriterQos::deadline_auto_ptr_type (new ::dds::deadlineQosPolicy (e));
4707 deadline_->container (
this);
4712 bool datawriterQos::
4713 latency_budget_p ()
const 4715 return latency_budget_.get () != 0;
4718 ::dds::latencyBudgetQosPolicy
const& datawriterQos::
4719 latency_budget ()
const 4721 return *latency_budget_;
4724 void datawriterQos::
4725 latency_budget (::dds::latencyBudgetQosPolicy
const& e)
4727 if (latency_budget_.get ())
4729 *latency_budget_ = e;
4734 latency_budget_ = datawriterQos::latency_budget_auto_ptr_type (new ::dds::latencyBudgetQosPolicy (e));
4735 latency_budget_->container (
this);
4740 bool datawriterQos::
4741 liveliness_p ()
const 4743 return liveliness_.get () != 0;
4746 ::dds::livelinessQosPolicy
const& datawriterQos::
4749 return *liveliness_;
4752 void datawriterQos::
4753 liveliness (::dds::livelinessQosPolicy
const& e)
4755 if (liveliness_.get ())
4762 liveliness_ = datawriterQos::liveliness_auto_ptr_type (new ::dds::livelinessQosPolicy (e));
4763 liveliness_->container (
this);
4768 bool datawriterQos::
4769 reliability_p ()
const 4771 return reliability_.get () != 0;
4774 ::dds::reliabilityQosPolicy
const& datawriterQos::
4775 reliability ()
const 4777 return *reliability_;
4780 void datawriterQos::
4781 reliability (::dds::reliabilityQosPolicy
const& e)
4783 if (reliability_.get ())
4790 reliability_ = datawriterQos::reliability_auto_ptr_type (new ::dds::reliabilityQosPolicy (e));
4791 reliability_->container (
this);
4796 bool datawriterQos::
4797 destination_order_p ()
const 4799 return destination_order_.get () != 0;
4802 ::dds::destinationOrderQosPolicy
const& datawriterQos::
4803 destination_order ()
const 4805 return *destination_order_;
4808 void datawriterQos::
4809 destination_order (::dds::destinationOrderQosPolicy
const& e)
4811 if (destination_order_.get ())
4813 *destination_order_ = e;
4818 destination_order_ = datawriterQos::destination_order_auto_ptr_type (new ::dds::destinationOrderQosPolicy (e));
4819 destination_order_->container (
this);
4824 bool datawriterQos::
4827 return history_.get () != 0;
4830 ::dds::historyQosPolicy
const& datawriterQos::
4836 void datawriterQos::
4837 history (::dds::historyQosPolicy
const& e)
4839 if (history_.get ())
4846 history_ = datawriterQos::history_auto_ptr_type (new ::dds::historyQosPolicy (e));
4847 history_->container (
this);
4852 bool datawriterQos::
4853 resource_limits_p ()
const 4855 return resource_limits_.get () != 0;
4858 ::dds::resourceLimitsQosPolicy
const& datawriterQos::
4859 resource_limits ()
const 4861 return *resource_limits_;
4864 void datawriterQos::
4865 resource_limits (::dds::resourceLimitsQosPolicy
const& e)
4867 if (resource_limits_.get ())
4869 *resource_limits_ = e;
4874 resource_limits_ = datawriterQos::resource_limits_auto_ptr_type (new ::dds::resourceLimitsQosPolicy (e));
4875 resource_limits_->container (
this);
4880 bool datawriterQos::
4881 transport_priority_p ()
const 4883 return transport_priority_.get () != 0;
4886 ::dds::transportPriorityQosPolicy
const& datawriterQos::
4887 transport_priority ()
const 4889 return *transport_priority_;
4892 void datawriterQos::
4893 transport_priority (::dds::transportPriorityQosPolicy
const& e)
4895 if (transport_priority_.get ())
4897 *transport_priority_ = e;
4902 transport_priority_ = datawriterQos::transport_priority_auto_ptr_type (new ::dds::transportPriorityQosPolicy (e));
4903 transport_priority_->container (
this);
4908 bool datawriterQos::
4911 return lifespan_.get () != 0;
4914 ::dds::lifespanQosPolicy
const& datawriterQos::
4920 void datawriterQos::
4921 lifespan (::dds::lifespanQosPolicy
const& e)
4923 if (lifespan_.get ())
4930 lifespan_ = datawriterQos::lifespan_auto_ptr_type (new ::dds::lifespanQosPolicy (e));
4931 lifespan_->container (
this);
4936 bool datawriterQos::
4937 user_data_p ()
const 4939 return user_data_.get () != 0;
4942 ::dds::userDataQosPolicy
const& datawriterQos::
4948 void datawriterQos::
4949 user_data (::dds::userDataQosPolicy
const& e)
4951 if (user_data_.get ())
4958 user_data_ = datawriterQos::user_data_auto_ptr_type (new ::dds::userDataQosPolicy (e));
4959 user_data_->container (
this);
4964 bool datawriterQos::
4965 ownership_p ()
const 4967 return ownership_.get () != 0;
4970 ::dds::ownershipQosPolicy
const& datawriterQos::
4976 void datawriterQos::
4977 ownership (::dds::ownershipQosPolicy
const& e)
4979 if (ownership_.get ())
4986 ownership_ = datawriterQos::ownership_auto_ptr_type (new ::dds::ownershipQosPolicy (e));
4987 ownership_->container (
this);
4992 bool datawriterQos::
4993 ownership_strength_p ()
const 4995 return ownership_strength_.get () != 0;
4998 ::dds::ownershipStrengthQosPolicy
const& datawriterQos::
4999 ownership_strength ()
const 5001 return *ownership_strength_;
5004 void datawriterQos::
5005 ownership_strength (::dds::ownershipStrengthQosPolicy
const& e)
5007 if (ownership_strength_.get ())
5009 *ownership_strength_ = e;
5014 ownership_strength_ = datawriterQos::ownership_strength_auto_ptr_type (new ::dds::ownershipStrengthQosPolicy (e));
5015 ownership_strength_->container (
this);
5020 bool datawriterQos::
5021 writer_data_lifecycle_p ()
const 5023 return writer_data_lifecycle_.get () != 0;
5026 ::dds::writerDataLifecycleQosPolicy
const& datawriterQos::
5027 writer_data_lifecycle ()
const 5029 return *writer_data_lifecycle_;
5032 void datawriterQos::
5033 writer_data_lifecycle (::dds::writerDataLifecycleQosPolicy
const& e)
5035 if (writer_data_lifecycle_.get ())
5037 *writer_data_lifecycle_ = e;
5042 writer_data_lifecycle_ = datawriterQos::writer_data_lifecycle_auto_ptr_type (new ::dds::writerDataLifecycleQosPolicy (e));
5043 writer_data_lifecycle_->container (
this);
5048 bool datawriterQos::
5049 representation_p ()
const 5051 return representation_.get () != 0;
5054 ::dds::dataRepresentationQosPolicy
const& datawriterQos::
5055 representation ()
const 5057 return *representation_;
5060 void datawriterQos::
5061 representation (::dds::dataRepresentationQosPolicy
const& e)
5063 if (representation_.get ())
5065 *representation_ = e;
5070 representation_ = datawriterQos::representation_auto_ptr_type (new ::dds::dataRepresentationQosPolicy (e));
5071 representation_->container (
this);
5076 bool datawriterQos::
5079 return name_.get () != 0;
5095 name (::XMLSchema::string<ACE_TCHAR>
const& e)
5104 name_ = datawriterQos::name_auto_ptr_type (new ::XMLSchema::string<ACE_TCHAR> (e));
5105 name_->container (
this);
5110 bool datawriterQos::
5111 base_name_p ()
const 5113 return base_name_.get () != 0;
5116 ::XMLSchema::string<ACE_TCHAR>
const& datawriterQos::
5122 ::XMLSchema::string<ACE_TCHAR>& datawriterQos::
5128 void datawriterQos::
5129 base_name (::XMLSchema::string<ACE_TCHAR>
const& e)
5131 if (base_name_.get ())
5138 base_name_ = datawriterQos::base_name_auto_ptr_type (new ::XMLSchema::string<ACE_TCHAR> (e));
5139 base_name_->container (
this);
5144 bool datawriterQos::
5145 topic_filter_p ()
const 5147 return topic_filter_.get () != 0;
5150 ::XMLSchema::string<ACE_TCHAR>
const& datawriterQos::
5151 topic_filter ()
const 5153 return *topic_filter_;
5156 ::XMLSchema::string<ACE_TCHAR>& datawriterQos::
5159 return *topic_filter_;
5162 void datawriterQos::
5163 topic_filter (::XMLSchema::string<ACE_TCHAR>
const& e)
5165 if (topic_filter_.get ())
5172 topic_filter_ = datawriterQos::topic_filter_auto_ptr_type (new ::XMLSchema::string<ACE_TCHAR> (e));
5173 topic_filter_->container (
this);
5180 qosProfile::qosProfile (::XMLSchema::string<ACE_TCHAR>
const& name__)
5182 , name_ (new ::XMLSchema::string<ACE_TCHAR> (name__))
5184 name_->container (
this);
5187 qosProfile::qosProfile (qosProfile
const& s) :
5189 , datareader_qos_ (s.datareader_qos_)
5190 , datawriter_qos_ (s.datawriter_qos_)
5191 , topic_qos_ (s.topic_qos_)
5192 , domainparticipant_qos_ (s.domainparticipant_qos_)
5193 , publisher_qos_ (s.publisher_qos_)
5194 , subscriber_qos_ (s.subscriber_qos_)
5195 , name_ (new ::XMLSchema::string<ACE_TCHAR> (*s.name_))
5196 , base_name_ (s.base_name_.get () ? new ::XMLSchema::string<ACE_TCHAR> (*s.base_name_) : 0)
5198 name_->container (
this);
5199 if (base_name_.get ()) base_name_->container (
this);
5203 qosProfile::operator= (qosProfile
const& s)
5207 datareader_qos_ = s.datareader_qos_;
5209 datawriter_qos_ = s.datawriter_qos_;
5211 topic_qos_ = s.topic_qos_;
5213 domainparticipant_qos_ = s.domainparticipant_qos_;
5215 publisher_qos_ = s.publisher_qos_;
5217 subscriber_qos_ = s.subscriber_qos_;
5221 if (s.base_name_.get ()) base_name (*(s.base_name_));
5222 else base_name_.reset (0);
5230 qosProfile::datareader_qos_iterator qosProfile::
5231 begin_datareader_qos ()
5233 return datareader_qos_.begin ();
5236 qosProfile::datareader_qos_iterator qosProfile::
5237 end_datareader_qos ()
5239 return datareader_qos_.end ();
5242 qosProfile::datareader_qos_const_iterator qosProfile::
5243 begin_datareader_qos ()
const 5245 return datareader_qos_.begin ();
5248 qosProfile::datareader_qos_const_iterator qosProfile::
5249 end_datareader_qos ()
const 5251 return datareader_qos_.end ();
5255 add_datareader_qos (qosProfile::datareader_qos_value_type
const& e)
5257 datareader_qos_.push_back (e);
5261 count_datareader_qos()
const 5263 return datareader_qos_.size ();
5267 qosProfile::datawriter_qos_iterator qosProfile::
5268 begin_datawriter_qos ()
5270 return datawriter_qos_.begin ();
5273 qosProfile::datawriter_qos_iterator qosProfile::
5274 end_datawriter_qos ()
5276 return datawriter_qos_.end ();
5279 qosProfile::datawriter_qos_const_iterator qosProfile::
5280 begin_datawriter_qos ()
const 5282 return datawriter_qos_.begin ();
5285 qosProfile::datawriter_qos_const_iterator qosProfile::
5286 end_datawriter_qos ()
const 5288 return datawriter_qos_.end ();
5292 add_datawriter_qos (qosProfile::datawriter_qos_value_type
const& e)
5294 datawriter_qos_.push_back (e);
5298 count_datawriter_qos()
const 5300 return datawriter_qos_.size ();
5304 qosProfile::topic_qos_iterator qosProfile::
5307 return topic_qos_.begin ();
5310 qosProfile::topic_qos_iterator qosProfile::
5313 return topic_qos_.end ();
5316 qosProfile::topic_qos_const_iterator qosProfile::
5317 begin_topic_qos ()
const 5319 return topic_qos_.begin ();
5322 qosProfile::topic_qos_const_iterator qosProfile::
5323 end_topic_qos ()
const 5325 return topic_qos_.end ();
5329 add_topic_qos (qosProfile::topic_qos_value_type
const& e)
5331 topic_qos_.push_back (e);
5335 count_topic_qos()
const 5337 return topic_qos_.size ();
5341 qosProfile::domainparticipant_qos_iterator qosProfile::
5342 begin_domainparticipant_qos ()
5344 return domainparticipant_qos_.begin ();
5347 qosProfile::domainparticipant_qos_iterator qosProfile::
5348 end_domainparticipant_qos ()
5350 return domainparticipant_qos_.end ();
5353 qosProfile::domainparticipant_qos_const_iterator qosProfile::
5354 begin_domainparticipant_qos ()
const 5356 return domainparticipant_qos_.begin ();
5359 qosProfile::domainparticipant_qos_const_iterator qosProfile::
5360 end_domainparticipant_qos ()
const 5362 return domainparticipant_qos_.end ();
5366 add_domainparticipant_qos (qosProfile::domainparticipant_qos_value_type
const& e)
5368 domainparticipant_qos_.push_back (e);
5372 count_domainparticipant_qos()
const 5374 return domainparticipant_qos_.size ();
5378 qosProfile::publisher_qos_iterator qosProfile::
5379 begin_publisher_qos ()
5381 return publisher_qos_.begin ();
5384 qosProfile::publisher_qos_iterator qosProfile::
5385 end_publisher_qos ()
5387 return publisher_qos_.end ();
5390 qosProfile::publisher_qos_const_iterator qosProfile::
5391 begin_publisher_qos ()
const 5393 return publisher_qos_.begin ();
5396 qosProfile::publisher_qos_const_iterator qosProfile::
5397 end_publisher_qos ()
const 5399 return publisher_qos_.end ();
5403 add_publisher_qos (qosProfile::publisher_qos_value_type
const& e)
5405 publisher_qos_.push_back (e);
5409 count_publisher_qos()
const 5411 return publisher_qos_.size ();
5415 qosProfile::subscriber_qos_iterator qosProfile::
5416 begin_subscriber_qos ()
5418 return subscriber_qos_.begin ();
5421 qosProfile::subscriber_qos_iterator qosProfile::
5422 end_subscriber_qos ()
5424 return subscriber_qos_.end ();
5427 qosProfile::subscriber_qos_const_iterator qosProfile::
5428 begin_subscriber_qos ()
const 5430 return subscriber_qos_.begin ();
5433 qosProfile::subscriber_qos_const_iterator qosProfile::
5434 end_subscriber_qos ()
const 5436 return subscriber_qos_.end ();
5440 add_subscriber_qos (qosProfile::subscriber_qos_value_type
const& e)
5442 subscriber_qos_.push_back (e);
5446 count_subscriber_qos()
const 5448 return subscriber_qos_.size ();
5465 name (::XMLSchema::string<ACE_TCHAR>
const& e)
5472 base_name_p ()
const 5474 return base_name_.get () != 0;
5477 ::XMLSchema::string<ACE_TCHAR>
const& qosProfile::
5483 ::XMLSchema::string<ACE_TCHAR>& qosProfile::
5490 base_name (::XMLSchema::string<ACE_TCHAR>
const& e)
5492 if (base_name_.get ())
5499 base_name_ = qosProfile::base_name_auto_ptr_type (new ::XMLSchema::string<ACE_TCHAR> (e));
5500 base_name_->container (
this);
5507 qosProfile_seq::qosProfile_seq ()
5512 qosProfile_seq::qosProfile_seq (qosProfile_seq
const& s) :
5514 , qos_profile_ (s.qos_profile_)
5519 qosProfile_seq::operator= (qosProfile_seq
const& s)
5523 qos_profile_ = s.qos_profile_;
5531 qosProfile_seq::qos_profile_iterator qosProfile_seq::
5532 begin_qos_profile ()
5534 return qos_profile_.begin ();
5537 qosProfile_seq::qos_profile_iterator qosProfile_seq::
5540 return qos_profile_.end ();
5543 qosProfile_seq::qos_profile_const_iterator qosProfile_seq::
5544 begin_qos_profile ()
const 5546 return qos_profile_.begin ();
5549 qosProfile_seq::qos_profile_const_iterator qosProfile_seq::
5550 end_qos_profile ()
const 5552 return qos_profile_.end ();
5555 void qosProfile_seq::
5556 add_qos_profile (qosProfile_seq::qos_profile_value_type
const& e)
5558 qos_profile_.push_back (e);
5561 void qosProfile_seq::
5562 del_qos_profile(qosProfile_seq::qos_profile_value_type
const& e)
5564 qos_profile_.remove (e);
5567 size_t qosProfile_seq::
5568 count_qos_profile()
const 5570 return qos_profile_.size ();
5578 destinationOrderKind::
5579 destinationOrderKind (::XSCRT::XML::Element<ACE_TCHAR>
const& e)
5582 std::basic_string<ACE_TCHAR> v (e.value ());
5584 if (v ==
ACE_TEXT (
"BY_RECEPTION_TIMESTAMP_DESTINATIONORDER_QOS")) v_ = BY_RECEPTION_TIMESTAMP_DESTINATIONORDER_QOS_l;
5585 else if (v ==
ACE_TEXT (
"BY_SOURCE_TIMESTAMP_DESTINATIONORDER_QOS")) v_ = BY_SOURCE_TIMESTAMP_DESTINATIONORDER_QOS_l;
5591 destinationOrderKind::
5592 destinationOrderKind (::XSCRT::XML::Attribute<ACE_TCHAR>
const& a)
5595 std::basic_string<ACE_TCHAR> v (a.value ());
5597 if (v ==
ACE_TEXT (
"BY_RECEPTION_TIMESTAMP_DESTINATIONORDER_QOS")) v_ = BY_RECEPTION_TIMESTAMP_DESTINATIONORDER_QOS_l;
5598 else if (v ==
ACE_TEXT (
"BY_SOURCE_TIMESTAMP_DESTINATIONORDER_QOS")) v_ = BY_SOURCE_TIMESTAMP_DESTINATIONORDER_QOS_l;
5610 durabilityKind (::XSCRT::XML::Element<ACE_TCHAR>
const& e)
5613 std::basic_string<ACE_TCHAR> v (e.value ());
5615 if (v ==
ACE_TEXT (
"VOLATILE_DURABILITY_QOS")) v_ = VOLATILE_DURABILITY_QOS_l;
5616 else if (v ==
ACE_TEXT (
"TRANSIENT_LOCAL_DURABILITY_QOS")) v_ = TRANSIENT_LOCAL_DURABILITY_QOS_l;
5617 else if (v ==
ACE_TEXT (
"TRANSIENT_DURABILITY_QOS")) v_ = TRANSIENT_DURABILITY_QOS_l;
5618 else if (v ==
ACE_TEXT (
"PERSISTENT_DURABILITY_QOS")) v_ = PERSISTENT_DURABILITY_QOS_l;
5625 durabilityKind (::XSCRT::XML::Attribute<ACE_TCHAR>
const& a)
5628 std::basic_string<ACE_TCHAR> v (a.value ());
5630 if (v ==
ACE_TEXT (
"VOLATILE_DURABILITY_QOS")) v_ = VOLATILE_DURABILITY_QOS_l;
5631 else if (v ==
ACE_TEXT (
"TRANSIENT_LOCAL_DURABILITY_QOS")) v_ = TRANSIENT_LOCAL_DURABILITY_QOS_l;
5632 else if (v ==
ACE_TEXT (
"TRANSIENT_DURABILITY_QOS")) v_ = TRANSIENT_DURABILITY_QOS_l;
5633 else if (v ==
ACE_TEXT (
"PERSISTENT_DURABILITY_QOS")) v_ = PERSISTENT_DURABILITY_QOS_l;
5647 historyKind (::XSCRT::XML::Element<ACE_TCHAR>
const& e)
5650 std::basic_string<ACE_TCHAR> v (e.value ());
5652 if (v ==
ACE_TEXT (
"KEEP_LAST_HISTORY_QOS")) v_ = KEEP_LAST_HISTORY_QOS_l;
5653 else if (v ==
ACE_TEXT (
"KEEP_ALL_HISTORY_QOS")) v_ = KEEP_ALL_HISTORY_QOS_l;
5660 historyKind (::XSCRT::XML::Attribute<ACE_TCHAR>
const& a)
5663 std::basic_string<ACE_TCHAR> v (a.value ());
5665 if (v ==
ACE_TEXT (
"KEEP_LAST_HISTORY_QOS")) v_ = KEEP_LAST_HISTORY_QOS_l;
5666 else if (v ==
ACE_TEXT (
"KEEP_ALL_HISTORY_QOS")) v_ = KEEP_ALL_HISTORY_QOS_l;
5678 livelinessKind (::XSCRT::XML::Element<ACE_TCHAR>
const& e)
5681 std::basic_string<ACE_TCHAR> v (e.value ());
5683 if (v ==
ACE_TEXT (
"AUTOMATIC_LIVELINESS_QOS")) v_ = AUTOMATIC_LIVELINESS_QOS_l;
5684 else if (v ==
ACE_TEXT (
"MANUAL_BY_PARTICIPANT_LIVELINESS_QOS")) v_ = MANUAL_BY_PARTICIPANT_LIVELINESS_QOS_l;
5685 else if (v ==
ACE_TEXT (
"MANUAL_BY_TOPIC_LIVELINESS_QOS")) v_ = MANUAL_BY_TOPIC_LIVELINESS_QOS_l;
5692 livelinessKind (::XSCRT::XML::Attribute<ACE_TCHAR>
const& a)
5695 std::basic_string<ACE_TCHAR> v (a.value ());
5697 if (v ==
ACE_TEXT (
"AUTOMATIC_LIVELINESS_QOS")) v_ = AUTOMATIC_LIVELINESS_QOS_l;
5698 else if (v ==
ACE_TEXT (
"MANUAL_BY_PARTICIPANT_LIVELINESS_QOS")) v_ = MANUAL_BY_PARTICIPANT_LIVELINESS_QOS_l;
5699 else if (v ==
ACE_TEXT (
"MANUAL_BY_TOPIC_LIVELINESS_QOS")) v_ = MANUAL_BY_TOPIC_LIVELINESS_QOS_l;
5711 presentationAccessScopeKind::
5712 presentationAccessScopeKind (::XSCRT::XML::Element<ACE_TCHAR>
const& e)
5715 std::basic_string<ACE_TCHAR> v (e.value ());
5717 if (v ==
ACE_TEXT (
"INSTANCE_PRESENTATION_QOS")) v_ = INSTANCE_PRESENTATION_QOS_l;
5718 else if (v ==
ACE_TEXT (
"TOPIC_PRESENTATION_QOS")) v_ = TOPIC_PRESENTATION_QOS_l;
5719 else if (v ==
ACE_TEXT (
"GROUP_PRESENTATION_QOS")) v_ = GROUP_PRESENTATION_QOS_l;
5725 presentationAccessScopeKind::
5726 presentationAccessScopeKind (::XSCRT::XML::Attribute<ACE_TCHAR>
const& a)
5729 std::basic_string<ACE_TCHAR> v (a.value ());
5731 if (v ==
ACE_TEXT (
"INSTANCE_PRESENTATION_QOS")) v_ = INSTANCE_PRESENTATION_QOS_l;
5732 else if (v ==
ACE_TEXT (
"TOPIC_PRESENTATION_QOS")) v_ = TOPIC_PRESENTATION_QOS_l;
5733 else if (v ==
ACE_TEXT (
"GROUP_PRESENTATION_QOS")) v_ = GROUP_PRESENTATION_QOS_l;
5746 reliabilityKind (::XSCRT::XML::Element<ACE_TCHAR>
const& e)
5749 std::basic_string<ACE_TCHAR> v (e.value ());
5751 if (v ==
ACE_TEXT (
"BEST_EFFORT_RELIABILITY_QOS")) v_ = BEST_EFFORT_RELIABILITY_QOS_l;
5752 else if (v ==
ACE_TEXT (
"RELIABLE_RELIABILITY_QOS")) v_ = RELIABLE_RELIABILITY_QOS_l;
5759 reliabilityKind (::XSCRT::XML::Attribute<ACE_TCHAR>
const& a)
5762 std::basic_string<ACE_TCHAR> v (a.value ());
5764 if (v ==
ACE_TEXT (
"BEST_EFFORT_RELIABILITY_QOS")) v_ = BEST_EFFORT_RELIABILITY_QOS_l;
5765 else if (v ==
ACE_TEXT (
"RELIABLE_RELIABILITY_QOS")) v_ = RELIABLE_RELIABILITY_QOS_l;
5777 ownershipKind (::XSCRT::XML::Element<ACE_TCHAR>
const& e)
5780 std::basic_string<ACE_TCHAR> v (e.value ());
5782 if (v ==
ACE_TEXT (
"SHARED_OWNERSHIP_QOS")) v_ = SHARED_OWNERSHIP_QOS_l;
5783 else if (v ==
ACE_TEXT (
"EXCLUSIVE_OWNERSHIP_QOS")) v_ = EXCLUSIVE_OWNERSHIP_QOS_l;
5790 ownershipKind (::XSCRT::XML::Attribute<ACE_TCHAR>
const& a)
5793 std::basic_string<ACE_TCHAR> v (a.value ());
5795 if (v ==
ACE_TEXT (
"SHARED_OWNERSHIP_QOS")) v_ = SHARED_OWNERSHIP_QOS_l;
5796 else if (v ==
ACE_TEXT (
"EXCLUSIVE_OWNERSHIP_QOS")) v_ = EXCLUSIVE_OWNERSHIP_QOS_l;
5807 dataRepresentationIdKind::
5808 dataRepresentationIdKind (::XSCRT::XML::Element<ACE_TCHAR>
const& e)
5811 std::basic_string<ACE_TCHAR> v (e.value ());
5813 if (v ==
ACE_TEXT (
"XCDR_DATA_REPRESENTATION")) v_ = XCDR_DATA_REPRESENTATION_l;
5814 else if (v ==
ACE_TEXT (
"XML_DATA_REPRESENTATION")) v_ = XML_DATA_REPRESENTATION_l;
5815 else if (v ==
ACE_TEXT (
"XCDR2_DATA_REPRESENTATION")) v_ = XCDR2_DATA_REPRESENTATION_l;
5816 else if (v ==
ACE_TEXT (
"UNALIGNED_CDR_DATA_REPRESENTATION")) v_ = UNALIGNED_CDR_DATA_REPRESENTATION_l;
5822 dataRepresentationIdKind::
5823 dataRepresentationIdKind (::XSCRT::XML::Attribute<ACE_TCHAR>
const& a)
5826 std::basic_string<ACE_TCHAR> v (a.value ());
5828 if (v ==
ACE_TEXT (
"XCDR_DATA_REPRESENTATION")) v_ = XCDR_DATA_REPRESENTATION_l;
5829 else if (v ==
ACE_TEXT (
"XML_DATA_REPRESENTATION")) v_ = XML_DATA_REPRESENTATION_l;
5830 else if (v ==
ACE_TEXT (
"XCDR2_DATA_REPRESENTATION")) v_ = XCDR2_DATA_REPRESENTATION_l;
5831 else if (v ==
ACE_TEXT (
"UNALIGNED_CDR_DATA_REPRESENTATION")) v_ = UNALIGNED_CDR_DATA_REPRESENTATION_l;
5844 typeConsistencyKind::
5845 typeConsistencyKind (::XSCRT::XML::Element<ACE_TCHAR>
const& e)
5848 std::basic_string<ACE_TCHAR> v (e.value ());
5850 if (v ==
ACE_TEXT (
"DISALLOW_TYPE_COERCION")) v_ = DISALLOW_TYPE_COERCION_l;
5851 else if (v ==
ACE_TEXT (
"ALLOW_TYPE_COERCION")) v_ = ALLOW_TYPE_COERCION_l;
5857 typeConsistencyKind::
5858 typeConsistencyKind (::XSCRT::XML::Attribute<ACE_TCHAR>
const& a)
5861 std::basic_string<ACE_TCHAR> v (a.value ());
5863 if (v ==
ACE_TEXT (
"DISALLOW_TYPE_COERCION")) v_ = DISALLOW_TYPE_COERCION_l;
5864 else if (v ==
ACE_TEXT (
"ALLOW_TYPE_COERCION")) v_ = ALLOW_TYPE_COERCION_l;
5876 duration (::XSCRT::XML::Element<ACE_TCHAR>
const& e)
5880 ::XSCRT::Parser<ACE_TCHAR> p (e);
5882 while (p.more_elements ())
5884 ::XSCRT::XML::Element<ACE_TCHAR> e (p.next_element ());
5885 std::basic_string<ACE_TCHAR> n (::XSCRT::XML::uq_name (e.name ()));
5889 ::XMLSchema::string<ACE_TCHAR> t (e);
5895 ::XMLSchema::string<ACE_TCHAR> t (e);
5908 stringSeq (::XSCRT::XML::Element<ACE_TCHAR>
const& e)
5912 ::XSCRT::Parser<ACE_TCHAR> p (e);
5914 while (p.more_elements ())
5916 ::XSCRT::XML::Element<ACE_TCHAR> e (p.next_element ());
5917 std::basic_string<ACE_TCHAR> n (::XSCRT::XML::uq_name (e.name ()));
5921 element_value_type t (new ::XMLSchema::string<ACE_TCHAR> (e));
5933 dataRepresentationIdSeq::
5934 dataRepresentationIdSeq (::XSCRT::XML::Element<ACE_TCHAR>
const& e)
5938 ::XSCRT::Parser<ACE_TCHAR> p (e);
5940 while (p.more_elements ())
5942 ::XSCRT::XML::Element<ACE_TCHAR> e (p.next_element ());
5943 std::basic_string<ACE_TCHAR> n (::XSCRT::XML::uq_name (e.name ()));
5947 element_value_type t (new ::dds::dataRepresentationIdKind (e));
5960 deadlineQosPolicy (::XSCRT::XML::Element<ACE_TCHAR>
const& e)
5964 ::XSCRT::Parser<ACE_TCHAR> p (e);
5966 while (p.more_elements ())
5968 ::XSCRT::XML::Element<ACE_TCHAR> e (p.next_element ());
5969 std::basic_string<ACE_TCHAR> n (::XSCRT::XML::uq_name (e.name ()));
5973 ::dds::duration t (e);
5985 destinationOrderQosPolicy::
5986 destinationOrderQosPolicy (::XSCRT::XML::Element<ACE_TCHAR>
const& e)
5990 ::XSCRT::Parser<ACE_TCHAR> p (e);
5992 while (p.more_elements ())
5994 ::XSCRT::XML::Element<ACE_TCHAR> e (p.next_element ());
5995 std::basic_string<ACE_TCHAR> n (::XSCRT::XML::uq_name (e.name ()));
5999 ::dds::destinationOrderKind t (e);
6011 durabilityQosPolicy::
6012 durabilityQosPolicy (::XSCRT::XML::Element<ACE_TCHAR>
const& e)
6016 ::XSCRT::Parser<ACE_TCHAR> p (e);
6018 while (p.more_elements ())
6020 ::XSCRT::XML::Element<ACE_TCHAR> e (p.next_element ());
6021 std::basic_string<ACE_TCHAR> n (::XSCRT::XML::uq_name (e.name ()));
6025 ::dds::durabilityKind t (e);
6037 durabilityServiceQosPolicy::
6038 durabilityServiceQosPolicy (::XSCRT::XML::Element<ACE_TCHAR>
const& e)
6042 ::XSCRT::Parser<ACE_TCHAR> p (e);
6044 while (p.more_elements ())
6046 ::XSCRT::XML::Element<ACE_TCHAR> e (p.next_element ());
6047 std::basic_string<ACE_TCHAR> n (::XSCRT::XML::uq_name (e.name ()));
6049 if (n ==
ACE_TEXT(
"service_cleanup_delay"))
6051 ::dds::duration t (e);
6052 service_cleanup_delay (t);
6055 else if (n ==
ACE_TEXT(
"history_kind"))
6057 ::dds::historyKind t (e);
6061 else if (n ==
ACE_TEXT(
"history_depth"))
6063 ::XMLSchema::positiveInteger t (e);
6067 else if (n ==
ACE_TEXT(
"max_samples"))
6069 ::XMLSchema::string<ACE_TCHAR> t (e);
6073 else if (n ==
ACE_TEXT(
"max_instances"))
6075 ::XMLSchema::string<ACE_TCHAR> t (e);
6079 else if (n ==
ACE_TEXT(
"max_samples_per_instance"))
6081 ::XMLSchema::string<ACE_TCHAR> t (e);
6082 max_samples_per_instance (t);
6093 entityFactoryQosPolicy::
6094 entityFactoryQosPolicy (::XSCRT::XML::Element<ACE_TCHAR>
const& e)
6098 ::XSCRT::Parser<ACE_TCHAR> p (e);
6100 while (p.more_elements ())
6102 ::XSCRT::XML::Element<ACE_TCHAR> e (p.next_element ());
6103 std::basic_string<ACE_TCHAR> n (::XSCRT::XML::uq_name (e.name ()));
6105 if (n ==
ACE_TEXT(
"autoenable_created_entities"))
6107 ::XMLSchema::boolean t (e);
6108 autoenable_created_entities (t);
6119 groupDataQosPolicy::
6120 groupDataQosPolicy (::XSCRT::XML::Element<ACE_TCHAR>
const& e)
6124 ::XSCRT::Parser<ACE_TCHAR> p (e);
6126 while (p.more_elements ())
6128 ::XSCRT::XML::Element<ACE_TCHAR> e (p.next_element ());
6129 std::basic_string<ACE_TCHAR> n (::XSCRT::XML::uq_name (e.name ()));
6133 ::XMLSchema::string<ACE_TCHAR> t (e);
6146 historyQosPolicy (::XSCRT::XML::Element<ACE_TCHAR>
const& e)
6150 ::XSCRT::Parser<ACE_TCHAR> p (e);
6152 while (p.more_elements ())
6154 ::XSCRT::XML::Element<ACE_TCHAR> e (p.next_element ());
6155 std::basic_string<ACE_TCHAR> n (::XSCRT::XML::uq_name (e.name ()));
6159 ::dds::historyKind t (e);
6165 ::XMLSchema::positiveInteger t (e);
6177 latencyBudgetQosPolicy::
6178 latencyBudgetQosPolicy (::XSCRT::XML::Element<ACE_TCHAR>
const& e)
6182 ::XSCRT::Parser<ACE_TCHAR> p (e);
6184 while (p.more_elements ())
6186 ::XSCRT::XML::Element<ACE_TCHAR> e (p.next_element ());
6187 std::basic_string<ACE_TCHAR> n (::XSCRT::XML::uq_name (e.name ()));
6191 ::dds::duration t (e);
6204 lifespanQosPolicy (::XSCRT::XML::Element<ACE_TCHAR>
const& e)
6208 ::XSCRT::Parser<ACE_TCHAR> p (e);
6210 while (p.more_elements ())
6212 ::XSCRT::XML::Element<ACE_TCHAR> e (p.next_element ());
6213 std::basic_string<ACE_TCHAR> n (::XSCRT::XML::uq_name (e.name ()));
6217 ::dds::duration t (e);
6229 livelinessQosPolicy::
6230 livelinessQosPolicy (::XSCRT::XML::Element<ACE_TCHAR>
const& e)
6234 ::XSCRT::Parser<ACE_TCHAR> p (e);
6236 while (p.more_elements ())
6238 ::XSCRT::XML::Element<ACE_TCHAR> e (p.next_element ());
6239 std::basic_string<ACE_TCHAR> n (::XSCRT::XML::uq_name (e.name ()));
6243 ::dds::livelinessKind t (e);
6247 else if (n ==
ACE_TEXT(
"lease_duration"))
6249 ::dds::duration t (e);
6261 ownershipQosPolicy::
6262 ownershipQosPolicy (::XSCRT::XML::Element<ACE_TCHAR>
const& e)
6266 ::XSCRT::Parser<ACE_TCHAR> p (e);
6268 while (p.more_elements ())
6270 ::XSCRT::XML::Element<ACE_TCHAR> e (p.next_element ());
6271 std::basic_string<ACE_TCHAR> n (::XSCRT::XML::uq_name (e.name ()));
6275 ::dds::ownershipKind t (e);
6287 ownershipStrengthQosPolicy::
6288 ownershipStrengthQosPolicy (::XSCRT::XML::Element<ACE_TCHAR>
const& e)
6292 ::XSCRT::Parser<ACE_TCHAR> p (e);
6294 while (p.more_elements ())
6296 ::XSCRT::XML::Element<ACE_TCHAR> e (p.next_element ());
6297 std::basic_string<ACE_TCHAR> n (::XSCRT::XML::uq_name (e.name ()));
6301 ::XMLSchema::nonNegativeInteger t (e);
6313 partitionQosPolicy::
6314 partitionQosPolicy (::XSCRT::XML::Element<ACE_TCHAR>
const& e)
6318 ::XSCRT::Parser<ACE_TCHAR> p (e);
6320 while (p.more_elements ())
6322 ::XSCRT::XML::Element<ACE_TCHAR> e (p.next_element ());
6323 std::basic_string<ACE_TCHAR> n (::XSCRT::XML::uq_name (e.name ()));
6327 ::dds::stringSeq t (e);
6339 presentationQosPolicy::
6340 presentationQosPolicy (::XSCRT::XML::Element<ACE_TCHAR>
const& e)
6344 ::XSCRT::Parser<ACE_TCHAR> p (e);
6346 while (p.more_elements ())
6348 ::XSCRT::XML::Element<ACE_TCHAR> e (p.next_element ());
6349 std::basic_string<ACE_TCHAR> n (::XSCRT::XML::uq_name (e.name ()));
6353 ::dds::presentationAccessScopeKind t (e);
6357 else if (n ==
ACE_TEXT(
"coherent_access"))
6359 ::XMLSchema::boolean t (e);
6360 coherent_access (t);
6363 else if (n ==
ACE_TEXT(
"ordered_access"))
6365 ::XMLSchema::boolean t (e);
6377 readerDataLifecycleQosPolicy::
6378 readerDataLifecycleQosPolicy (::XSCRT::XML::Element<ACE_TCHAR>
const& e)
6382 ::XSCRT::Parser<ACE_TCHAR> p (e);
6384 while (p.more_elements ())
6386 ::XSCRT::XML::Element<ACE_TCHAR> e (p.next_element ());
6387 std::basic_string<ACE_TCHAR> n (::XSCRT::XML::uq_name (e.name ()));
6389 if (n ==
ACE_TEXT(
"autopurge_nowriter_samples_delay"))
6391 ::dds::duration t (e);
6392 autopurge_nowriter_samples_delay (t);
6395 else if (n ==
ACE_TEXT(
"autopurge_disposed_samples_delay"))
6397 ::dds::duration t (e);
6398 autopurge_disposed_samples_delay (t);
6409 reliabilityQosPolicy::
6410 reliabilityQosPolicy (::XSCRT::XML::Element<ACE_TCHAR>
const& e)
6414 ::XSCRT::Parser<ACE_TCHAR> p (e);
6416 while (p.more_elements ())
6418 ::XSCRT::XML::Element<ACE_TCHAR> e (p.next_element ());
6419 std::basic_string<ACE_TCHAR> n (::XSCRT::XML::uq_name (e.name ()));
6423 ::dds::reliabilityKind t (e);
6427 else if (n ==
ACE_TEXT(
"max_blocking_time"))
6429 ::dds::duration t (e);
6430 max_blocking_time (t);
6441 resourceLimitsQosPolicy::
6442 resourceLimitsQosPolicy (::XSCRT::XML::Element<ACE_TCHAR>
const& e)
6446 ::XSCRT::Parser<ACE_TCHAR> p (e);
6448 while (p.more_elements ())
6450 ::XSCRT::XML::Element<ACE_TCHAR> e (p.next_element ());
6451 std::basic_string<ACE_TCHAR> n (::XSCRT::XML::uq_name (e.name ()));
6455 ::XMLSchema::string<ACE_TCHAR> t (e);
6459 else if (n ==
ACE_TEXT(
"max_instances"))
6461 ::XMLSchema::string<ACE_TCHAR> t (e);
6465 else if (n ==
ACE_TEXT(
"max_samples_per_instance"))
6467 ::XMLSchema::string<ACE_TCHAR> t (e);
6468 max_samples_per_instance (t);
6471 else if (n ==
ACE_TEXT(
"initial_samples"))
6473 ::XMLSchema::positiveInteger t (e);
6474 initial_samples (t);
6477 else if (n ==
ACE_TEXT(
"initial_instances"))
6479 ::XMLSchema::positiveInteger t (e);
6480 initial_instances (t);
6491 timeBasedFilterQosPolicy::
6492 timeBasedFilterQosPolicy (::XSCRT::XML::Element<ACE_TCHAR>
const& e)
6496 ::XSCRT::Parser<ACE_TCHAR> p (e);
6498 while (p.more_elements ())
6500 ::XSCRT::XML::Element<ACE_TCHAR> e (p.next_element ());
6501 std::basic_string<ACE_TCHAR> n (::XSCRT::XML::uq_name (e.name ()));
6503 if (n ==
ACE_TEXT(
"minimum_separation"))
6505 ::dds::duration t (e);
6506 minimum_separation (t);
6517 topicDataQosPolicy::
6518 topicDataQosPolicy (::XSCRT::XML::Element<ACE_TCHAR>
const& e)
6522 ::XSCRT::Parser<ACE_TCHAR> p (e);
6524 while (p.more_elements ())
6526 ::XSCRT::XML::Element<ACE_TCHAR> e (p.next_element ());
6527 std::basic_string<ACE_TCHAR> n (::XSCRT::XML::uq_name (e.name ()));
6531 ::XMLSchema::string<ACE_TCHAR> t (e);
6543 transportPriorityQosPolicy::
6544 transportPriorityQosPolicy (::XSCRT::XML::Element<ACE_TCHAR>
const& e)
6548 ::XSCRT::Parser<ACE_TCHAR> p (e);
6550 while (p.more_elements ())
6552 ::XSCRT::XML::Element<ACE_TCHAR> e (p.next_element ());
6553 std::basic_string<ACE_TCHAR> n (::XSCRT::XML::uq_name (e.name ()));
6557 ::XMLSchema::nonNegativeInteger t (e);
6570 userDataQosPolicy (::XSCRT::XML::Element<ACE_TCHAR>
const& e)
6574 ::XSCRT::Parser<ACE_TCHAR> p (e);
6576 while (p.more_elements ())
6578 ::XSCRT::XML::Element<ACE_TCHAR> e (p.next_element ());
6579 std::basic_string<ACE_TCHAR> n (::XSCRT::XML::uq_name (e.name ()));
6583 ::XMLSchema::string<ACE_TCHAR> t (e);
6595 writerDataLifecycleQosPolicy::
6596 writerDataLifecycleQosPolicy (::XSCRT::XML::Element<ACE_TCHAR>
const& e)
6600 ::XSCRT::Parser<ACE_TCHAR> p (e);
6602 while (p.more_elements ())
6604 ::XSCRT::XML::Element<ACE_TCHAR> e (p.next_element ());
6605 std::basic_string<ACE_TCHAR> n (::XSCRT::XML::uq_name (e.name ()));
6607 if (n ==
ACE_TEXT(
"autodispose_unregistered_instances"))
6609 ::XMLSchema::boolean t (e);
6610 autodispose_unregistered_instances (t);
6621 dataRepresentationQosPolicy::
6622 dataRepresentationQosPolicy (::XSCRT::XML::Element<ACE_TCHAR>
const& e)
6626 ::XSCRT::Parser<ACE_TCHAR> p (e);
6628 while (p.more_elements ())
6630 ::XSCRT::XML::Element<ACE_TCHAR> e (p.next_element ());
6631 std::basic_string<ACE_TCHAR> n (::XSCRT::XML::uq_name (e.name ()));
6635 ::dds::dataRepresentationIdSeq t (e);
6647 typeConsistencyEnforcementQosPolicy::
6648 typeConsistencyEnforcementQosPolicy (::XSCRT::XML::Element<ACE_TCHAR>
const& e)
6652 ::XSCRT::Parser<ACE_TCHAR> p (e);
6654 while (p.more_elements ())
6656 ::XSCRT::XML::Element<ACE_TCHAR> e (p.next_element ());
6657 std::basic_string<ACE_TCHAR> n (::XSCRT::XML::uq_name (e.name ()));
6661 ::dds::typeConsistencyKind t (e);
6665 else if (n ==
ACE_TEXT(
"ignore_sequence_bounds"))
6667 ::XMLSchema::boolean t (e);
6668 ignore_sequence_bounds (t);
6671 else if (n ==
ACE_TEXT(
"ignore_string_bounds"))
6673 ::XMLSchema::boolean t (e);
6674 ignore_string_bounds (t);
6677 else if (n ==
ACE_TEXT(
"ignore_member_names"))
6679 ::XMLSchema::boolean t (e);
6680 ignore_member_names (t);
6683 else if (n ==
ACE_TEXT(
"prevent_type_widening"))
6685 ::XMLSchema::boolean t (e);
6686 prevent_type_widening (t);
6689 else if (n ==
ACE_TEXT(
"force_type_validation"))
6691 ::XMLSchema::boolean t (e);
6692 force_type_validation (t);
6703 domainparticipantQos::
6704 domainparticipantQos (::XSCRT::XML::Element<ACE_TCHAR>
const& e)
6708 ::XSCRT::Parser<ACE_TCHAR> p (e);
6710 while (p.more_elements ())
6712 ::XSCRT::XML::Element<ACE_TCHAR> e (p.next_element ());
6713 std::basic_string<ACE_TCHAR> n (::XSCRT::XML::uq_name (e.name ()));
6717 ::dds::userDataQosPolicy t (e);
6721 else if (n ==
ACE_TEXT(
"entity_factory"))
6723 ::dds::entityFactoryQosPolicy t (e);
6732 while (p.more_attributes ())
6734 ::XSCRT::XML::Attribute<ACE_TCHAR> a (p.next_attribute ());
6735 std::basic_string<ACE_TCHAR> n (::XSCRT::XML::uq_name (a.name ()));
6738 ::XMLSchema::string<ACE_TCHAR> t (a);
6742 else if (n ==
ACE_TEXT (
"base_name"))
6744 ::XMLSchema::string<ACE_TCHAR> t (a);
6757 publisherQos (::XSCRT::XML::Element<ACE_TCHAR>
const& e)
6761 ::XSCRT::Parser<ACE_TCHAR> p (e);
6763 while (p.more_elements ())
6765 ::XSCRT::XML::Element<ACE_TCHAR> e (p.next_element ());
6766 std::basic_string<ACE_TCHAR> n (::XSCRT::XML::uq_name (e.name ()));
6770 ::dds::presentationQosPolicy t (e);
6774 else if (n ==
ACE_TEXT(
"partition"))
6776 ::dds::partitionQosPolicy t (e);
6780 else if (n ==
ACE_TEXT(
"group_data"))
6782 ::dds::groupDataQosPolicy t (e);
6786 else if (n ==
ACE_TEXT(
"entity_factory"))
6788 ::dds::entityFactoryQosPolicy t (e);
6797 while (p.more_attributes ())
6799 ::XSCRT::XML::Attribute<ACE_TCHAR> a (p.next_attribute ());
6800 std::basic_string<ACE_TCHAR> n (::XSCRT::XML::uq_name (a.name ()));
6803 ::XMLSchema::string<ACE_TCHAR> t (a);
6807 else if (n ==
ACE_TEXT (
"base_name"))
6809 ::XMLSchema::string<ACE_TCHAR> t (a);
6822 subscriberQos (::XSCRT::XML::Element<ACE_TCHAR>
const& e)
6826 ::XSCRT::Parser<ACE_TCHAR> p (e);
6828 while (p.more_elements ())
6830 ::XSCRT::XML::Element<ACE_TCHAR> e (p.next_element ());
6831 std::basic_string<ACE_TCHAR> n (::XSCRT::XML::uq_name (e.name ()));
6835 ::dds::presentationQosPolicy t (e);
6839 else if (n ==
ACE_TEXT(
"partition"))
6841 ::dds::partitionQosPolicy t (e);
6845 else if (n ==
ACE_TEXT(
"group_data"))
6847 ::dds::groupDataQosPolicy t (e);
6851 else if (n ==
ACE_TEXT(
"entity_factory"))
6853 ::dds::entityFactoryQosPolicy t (e);
6862 while (p.more_attributes ())
6864 ::XSCRT::XML::Attribute<ACE_TCHAR> a (p.next_attribute ());
6865 std::basic_string<ACE_TCHAR> n (::XSCRT::XML::uq_name (a.name ()));
6868 ::XMLSchema::string<ACE_TCHAR> t (a);
6872 else if (n ==
ACE_TEXT (
"base_name"))
6874 ::XMLSchema::string<ACE_TCHAR> t (a);
6887 topicQos (::XSCRT::XML::Element<ACE_TCHAR>
const& e)
6891 ::XSCRT::Parser<ACE_TCHAR> p (e);
6893 while (p.more_elements ())
6895 ::XSCRT::XML::Element<ACE_TCHAR> e (p.next_element ());
6896 std::basic_string<ACE_TCHAR> n (::XSCRT::XML::uq_name (e.name ()));
6900 ::dds::topicDataQosPolicy t (e);
6904 else if (n ==
ACE_TEXT(
"durability"))
6906 ::dds::durabilityQosPolicy t (e);
6910 else if (n ==
ACE_TEXT(
"durability_service"))
6912 ::dds::durabilityServiceQosPolicy t (e);
6913 durability_service (t);
6916 else if (n ==
ACE_TEXT(
"deadline"))
6918 ::dds::deadlineQosPolicy t (e);
6922 else if (n ==
ACE_TEXT(
"latency_budget"))
6924 ::dds::latencyBudgetQosPolicy t (e);
6928 else if (n ==
ACE_TEXT(
"liveliness"))
6930 ::dds::livelinessQosPolicy t (e);
6934 else if (n ==
ACE_TEXT(
"reliability"))
6936 ::dds::reliabilityQosPolicy t (e);
6940 else if (n ==
ACE_TEXT(
"destination_order"))
6942 ::dds::destinationOrderQosPolicy t (e);
6943 destination_order (t);
6948 ::dds::historyQosPolicy t (e);
6952 else if (n ==
ACE_TEXT(
"resource_limits"))
6954 ::dds::resourceLimitsQosPolicy t (e);
6955 resource_limits (t);
6958 else if (n ==
ACE_TEXT(
"transport_priority"))
6960 ::dds::transportPriorityQosPolicy t (e);
6961 transport_priority (t);
6964 else if (n ==
ACE_TEXT(
"lifespan"))
6966 ::dds::lifespanQosPolicy t (e);
6970 else if (n ==
ACE_TEXT(
"ownership"))
6972 ::dds::ownershipQosPolicy t (e);
6976 else if (n ==
ACE_TEXT(
"representation"))
6978 ::dds::dataRepresentationQosPolicy t (e);
6987 while (p.more_attributes ())
6989 ::XSCRT::XML::Attribute<ACE_TCHAR> a (p.next_attribute ());
6990 std::basic_string<ACE_TCHAR> n (::XSCRT::XML::uq_name (a.name ()));
6993 ::XMLSchema::string<ACE_TCHAR> t (a);
6997 else if (n ==
ACE_TEXT (
"base_name"))
6999 ::XMLSchema::string<ACE_TCHAR> t (a);
7003 else if (n ==
ACE_TEXT (
"topic_filter"))
7005 ::XMLSchema::string<ACE_TCHAR> t (a);
7018 datareaderQos (::XSCRT::XML::Element<ACE_TCHAR>
const& e)
7022 ::XSCRT::Parser<ACE_TCHAR> p (e);
7024 while (p.more_elements ())
7026 ::XSCRT::XML::Element<ACE_TCHAR> e (p.next_element ());
7027 std::basic_string<ACE_TCHAR> n (::XSCRT::XML::uq_name (e.name ()));
7031 ::dds::durabilityQosPolicy t (e);
7035 else if (n ==
ACE_TEXT(
"deadline"))
7037 ::dds::deadlineQosPolicy t (e);
7041 else if (n ==
ACE_TEXT(
"latency_budget"))
7043 ::dds::latencyBudgetQosPolicy t (e);
7047 else if (n ==
ACE_TEXT(
"liveliness"))
7049 ::dds::livelinessQosPolicy t (e);
7053 else if (n ==
ACE_TEXT(
"reliability"))
7055 ::dds::reliabilityQosPolicy t (e);
7059 else if (n ==
ACE_TEXT(
"destination_order"))
7061 ::dds::destinationOrderQosPolicy t (e);
7062 destination_order (t);
7067 ::dds::historyQosPolicy t (e);
7071 else if (n ==
ACE_TEXT(
"resource_limits"))
7073 ::dds::resourceLimitsQosPolicy t (e);
7074 resource_limits (t);
7077 else if (n ==
ACE_TEXT(
"user_data"))
7079 ::dds::userDataQosPolicy t (e);
7083 else if (n ==
ACE_TEXT(
"ownership"))
7085 ::dds::ownershipQosPolicy t (e);
7089 else if (n ==
ACE_TEXT(
"time_based_filter"))
7091 ::dds::timeBasedFilterQosPolicy t (e);
7092 time_based_filter (t);
7095 else if (n ==
ACE_TEXT(
"reader_data_lifecycle"))
7097 ::dds::readerDataLifecycleQosPolicy t (e);
7098 reader_data_lifecycle (t);
7101 else if (n ==
ACE_TEXT(
"representation"))
7103 ::dds::dataRepresentationQosPolicy t (e);
7107 else if (n ==
ACE_TEXT(
"type_consistency"))
7109 ::dds::typeConsistencyEnforcementQosPolicy t (e);
7110 type_consistency (t);
7118 while (p.more_attributes ())
7120 ::XSCRT::XML::Attribute<ACE_TCHAR> a (p.next_attribute ());
7121 std::basic_string<ACE_TCHAR> n (::XSCRT::XML::uq_name (a.name ()));
7124 ::XMLSchema::string<ACE_TCHAR> t (a);
7128 else if (n ==
ACE_TEXT (
"base_name"))
7130 ::XMLSchema::string<ACE_TCHAR> t (a);
7134 else if (n ==
ACE_TEXT (
"topic_filter"))
7136 ::XMLSchema::string<ACE_TCHAR> t (a);
7149 datawriterQos (::XSCRT::XML::Element<ACE_TCHAR>
const& e)
7153 ::XSCRT::Parser<ACE_TCHAR> p (e);
7155 while (p.more_elements ())
7157 ::XSCRT::XML::Element<ACE_TCHAR> e (p.next_element ());
7158 std::basic_string<ACE_TCHAR> n (::XSCRT::XML::uq_name (e.name ()));
7162 ::dds::durabilityQosPolicy t (e);
7166 else if (n ==
ACE_TEXT(
"durability_service"))
7168 ::dds::durabilityServiceQosPolicy t (e);
7169 durability_service (t);
7172 else if (n ==
ACE_TEXT(
"deadline"))
7174 ::dds::deadlineQosPolicy t (e);
7178 else if (n ==
ACE_TEXT(
"latency_budget"))
7180 ::dds::latencyBudgetQosPolicy t (e);
7184 else if (n ==
ACE_TEXT(
"liveliness"))
7186 ::dds::livelinessQosPolicy t (e);
7190 else if (n ==
ACE_TEXT(
"reliability"))
7192 ::dds::reliabilityQosPolicy t (e);
7196 else if (n ==
ACE_TEXT(
"destination_order"))
7198 ::dds::destinationOrderQosPolicy t (e);
7199 destination_order (t);
7204 ::dds::historyQosPolicy t (e);
7208 else if (n ==
ACE_TEXT(
"resource_limits"))
7210 ::dds::resourceLimitsQosPolicy t (e);
7211 resource_limits (t);
7214 else if (n ==
ACE_TEXT(
"transport_priority"))
7216 ::dds::transportPriorityQosPolicy t (e);
7217 transport_priority (t);
7220 else if (n ==
ACE_TEXT(
"lifespan"))
7222 ::dds::lifespanQosPolicy t (e);
7226 else if (n ==
ACE_TEXT(
"user_data"))
7228 ::dds::userDataQosPolicy t (e);
7232 else if (n ==
ACE_TEXT(
"ownership"))
7234 ::dds::ownershipQosPolicy t (e);
7238 else if (n ==
ACE_TEXT(
"ownership_strength"))
7240 ::dds::ownershipStrengthQosPolicy t (e);
7241 ownership_strength (t);
7244 else if (n ==
ACE_TEXT(
"writer_data_lifecycle"))
7246 ::dds::writerDataLifecycleQosPolicy t (e);
7247 writer_data_lifecycle (t);
7250 else if (n ==
ACE_TEXT(
"representation"))
7252 ::dds::dataRepresentationQosPolicy t (e);
7261 while (p.more_attributes ())
7263 ::XSCRT::XML::Attribute<ACE_TCHAR> a (p.next_attribute ());
7264 std::basic_string<ACE_TCHAR> n (::XSCRT::XML::uq_name (a.name ()));
7267 ::XMLSchema::string<ACE_TCHAR> t (a);
7271 else if (n ==
ACE_TEXT (
"base_name"))
7273 ::XMLSchema::string<ACE_TCHAR> t (a);
7277 else if (n ==
ACE_TEXT (
"topic_filter"))
7279 ::XMLSchema::string<ACE_TCHAR> t (a);
7292 qosProfile (::XSCRT::XML::Element<ACE_TCHAR>
const& e)
7296 ::XSCRT::Parser<ACE_TCHAR> p (e);
7298 while (p.more_elements ())
7300 ::XSCRT::XML::Element<ACE_TCHAR> e (p.next_element ());
7301 std::basic_string<ACE_TCHAR> n (::XSCRT::XML::uq_name (e.name ()));
7303 if (n ==
ACE_TEXT(
"datareader_qos"))
7305 datareader_qos_value_type t (new ::dds::datareaderQos (e));
7306 add_datareader_qos (t);
7309 else if (n ==
ACE_TEXT(
"datawriter_qos"))
7311 datawriter_qos_value_type t (new ::dds::datawriterQos (e));
7312 add_datawriter_qos (t);
7315 else if (n ==
ACE_TEXT(
"topic_qos"))
7317 topic_qos_value_type t (new ::dds::topicQos (e));
7321 else if (n ==
ACE_TEXT(
"domainparticipant_qos"))
7323 domainparticipant_qos_value_type t (new ::dds::domainparticipantQos (e));
7324 add_domainparticipant_qos (t);
7327 else if (n ==
ACE_TEXT(
"publisher_qos"))
7329 publisher_qos_value_type t (new ::dds::publisherQos (e));
7330 add_publisher_qos (t);
7333 else if (n ==
ACE_TEXT(
"subscriber_qos"))
7335 subscriber_qos_value_type t (new ::dds::subscriberQos (e));
7336 add_subscriber_qos (t);
7344 while (p.more_attributes ())
7346 ::XSCRT::XML::Attribute<ACE_TCHAR> a (p.next_attribute ());
7347 std::basic_string<ACE_TCHAR> n (::XSCRT::XML::uq_name (a.name ()));
7350 name_ = qosProfile::name_auto_ptr_type (new ::XMLSchema::string<ACE_TCHAR> (a));
7351 name_->container (
this);
7354 else if (n ==
ACE_TEXT (
"base_name"))
7356 ::XMLSchema::string<ACE_TCHAR> t (a);
7369 qosProfile_seq (::XSCRT::XML::Element<ACE_TCHAR>
const& e)
7373 ::XSCRT::Parser<ACE_TCHAR> p (e);
7375 while (p.more_elements ())
7377 ::XSCRT::XML::Element<ACE_TCHAR> e (p.next_element ());
7378 std::basic_string<ACE_TCHAR> n (::XSCRT::XML::uq_name (e.name ()));
7382 qos_profile_value_type t (new ::dds::qosProfile (e));
7383 add_qos_profile (t);
7397 ::dds::qosProfile_seq
7398 dds (xercesc::DOMDocument
const* d)
7403 xercesc::DOMElement* dom_element = d->getDocumentElement ();
7409 ::XSCRT::XML::Element<ACE_TCHAR> e (dom_element);
7412 ::dds::qosProfile_seq r (e);
7414 (*TSS_ID_Map)->resolve_idref();
const LogLevel::Value value
bool operator!=(::dds::destinationOrderKind const &a, ::dds::destinationOrderKind const &b)
const DataRepresentationId_t XCDR_DATA_REPRESENTATION
::dds::qosProfile_seq dds(xercesc::DOMDocument const *d)
const TypeConsistencyEnforcementQosPolicyKind_t ALLOW_TYPE_COERCION
const DataRepresentationId_t XCDR2_DATA_REPRESENTATION
const DataRepresentationId_t XML_DATA_REPRESENTATION
const DDS::DataRepresentationId_t UNALIGNED_CDR_DATA_REPRESENTATION
bool operator==(::dds::destinationOrderKind const &a, ::dds::destinationOrderKind const &b)
local interface<%TYPE%> inout ::DDS::SampleInfoSeq in long max_samples
const TypeConsistencyEnforcementQosPolicyKind_t DISALLOW_TYPE_COERCION