OpenSplice ISO C++ 2 DCPS  v6.x
ISO C++ 2 OpenSplice Data Distribution Service Data-Centric Publish-Subscribe API
CorePolicyImpl.hpp
Go to the documentation of this file.
1 /*
2  * Vortex OpenSplice
3  *
4  * This software and documentation are Copyright 2006 to 2021 ADLINK
5  * Technology Limited, its affiliated companies and licensors. All rights
6  * reserved.
7  *
8  * Licensed under the Apache License, Version 2.0 (the "License");
9  * you may not use this file except in compliance with the License.
10  * You may obtain a copy of the License at
11  *
12  * http://www.apache.org/licenses/LICENSE-2.0
13  *
14  * Unless required by applicable law or agreed to in writing, software
15  * distributed under the License is distributed on an "AS IS" BASIS,
16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * See the License for the specific language governing permissions and
18  * limitations under the License.
19  *
20  */
21 #ifndef OSPL_DDS_CORE_POLICY_TCOREPOLICY_IMPL_HPP_
22 #define OSPL_DDS_CORE_POLICY_TCOREPOLICY_IMPL_HPP_
23 
28 /*
29  * OMG PSM class declaration
30  */
32 #include <org/opensplice/core/ReportUtils.hpp>
33 
34 // Implementation
35 
36 namespace dds
37 {
38 namespace core
39 {
40 namespace policy
41 {
42 
43 //UserData
44 
45 
46 UserData::UserData() : dds::core::Value() { }
47 
48 
49 UserData::UserData(const dds::core::ByteSeq& sequence) : dds::core::Value(sequence) { }
50 
53 UserData::UserData(const uint8_t* value_begin, const uint8_t* value_end)
54 {
55  ISOCPP_THROW_EXCEPTION(ISOCPP_ERROR, "Function not currently supported");
56 }
57 
58 
59 UserData::UserData(const UserData& other) : dds::core::Value(other.delegate()) { }
60 
61 
63 {
64  this->delegate().value(sequence);
65  return *this;
66 }
67 
70 template <typename OCTET_ITER>
71 UserData& UserData::value(OCTET_ITER begin, OCTET_ITER end)
72 {
73 #ifdef _WIN32
74 #pragma warning( push )
75 #pragma warning( disable : 4702 ) //disable warning caused by temporary exception, remove later
76 #endif
77  ISOCPP_THROW_EXCEPTION(ISOCPP_ERROR, "Function not currently supported");
78 #ifdef _WIN32
79 #pragma warning ( pop ) //re-enable warning to prevent leaking to user code, remove later
80 #endif
81  return *this;
82 }
83 
84 
86 {
87  return this->delegate().value();
88 }
89 
92 const uint8_t* UserData::begin() const
93 {
94 #ifdef _WIN32
95 #pragma warning( push )
96 #pragma warning( disable : 4702 ) //disable warning caused by temporary exception, remove later
97 #endif
98  ISOCPP_THROW_EXCEPTION(ISOCPP_ERROR, "Function not currently supported");
99 #ifdef _WIN32
100 #pragma warning ( pop ) //re-enable warning to prevent leaking to user code, remove later
101 #endif
102  return NULL;
103 }
104 
107 const uint8_t* UserData::end() const
108 {
109 #ifdef _WIN32
110 #pragma warning( push )
111 #pragma warning( disable : 4702 ) //disable warning caused by temporary exception, remove later
112 #endif
113  ISOCPP_THROW_EXCEPTION(ISOCPP_ERROR, "Function not currently supported");
114 #ifdef _WIN32
115 #pragma warning ( pop ) //re-enable warning to prevent leaking to user code, remove later
116 #endif
117  return NULL;
118 }
119 
120 //GroupData
121 
122 
124 
125 
126 GroupData::GroupData(const dds::core::ByteSeq& sequence) : dds::core::Value(sequence) { }
127 
128 
129 GroupData::GroupData(const GroupData& other) : dds::core::Value(other.delegate()) { }
130 
131 
132 GroupData::GroupData(const uint8_t* value_begin, const uint8_t* value_end)
133 {
134 #ifdef _WIN32
135 #pragma warning( push )
136 #pragma warning( disable : 4702 ) //disable warning caused by temporary exception, remove later
137 #endif
138  ISOCPP_THROW_EXCEPTION(ISOCPP_ERROR, "Function not currently supported");
139 #ifdef _WIN32
140 #pragma warning ( pop ) //re-enable warning to prevent leaking to user code, remove later
141 #endif
142 }
143 
144 
146 {
147  this->delegate().value(sequence);
148  return *this;
149 }
150 
153 template <typename OCTET_ITER>
154 GroupData& GroupData::value(OCTET_ITER begin, OCTET_ITER end)
155 {
156 #ifdef _WIN32
157 #pragma warning( push )
158 #pragma warning( disable : 4702 ) //disable warning caused by temporary exception, remove later
159 #endif
160  ISOCPP_THROW_EXCEPTION(ISOCPP_ERROR, "Function not currently supported");
161 #ifdef _WIN32
162 #pragma warning ( pop ) //re-enable warning to prevent leaking to user code, remove later
163 #endif
164  return *this;
165 }
166 
167 
169 {
170  return this->delegate().value();
171 }
172 
175 const uint8_t* GroupData::begin() const
176 {
177 #ifdef _WIN32
178 #pragma warning( push )
179 #pragma warning( disable : 4702 ) //disable warning caused by temporary exception, remove later
180 #endif
181  ISOCPP_THROW_EXCEPTION(ISOCPP_ERROR, "Function not currently supported");
182 #ifdef _WIN32
183 #pragma warning ( pop ) //re-enable warning to prevent leaking to user code, remove later
184 #endif
185  return NULL;
186 }
187 
190 const uint8_t* GroupData::end() const
191 {
192 #ifdef _WIN32
193 #pragma warning( push )
194 #pragma warning( disable : 4702 ) //disable warning caused by temporary exception, remove later
195 #endif
196  ISOCPP_THROW_EXCEPTION(ISOCPP_ERROR, "Function not currently supported");
197 #ifdef _WIN32
198 #pragma warning ( pop ) //re-enable warning to prevent leaking to user code, remove later
199 #endif
200  return NULL;
201 }
202 
203 //TopicData
204 
205 
207 
208 
209 TopicData::TopicData(const dds::core::ByteSeq& sequence) : dds::core::Value(sequence) { }
210 
211 
212 TopicData::TopicData(const TopicData& other) : dds::core::Value(other.delegate()) { }
213 
216 TopicData::TopicData(const uint8_t* value_begin, const uint8_t* value_end)
217 {
218  ISOCPP_THROW_EXCEPTION(ISOCPP_ERROR, "Function not currently supported");
219 }
220 
221 
223 {
224  this->delegate().value(sequence);
225  return *this;
226 }
227 
230 template <typename OCTET_ITER>
231 TopicData& TopicData::value(OCTET_ITER begin, OCTET_ITER end)
232 {
233 #ifdef _WIN32
234 #pragma warning( push )
235 #pragma warning( disable : 4702 ) //disable warning caused by temporary exception, remove later
236 #endif
237  ISOCPP_THROW_EXCEPTION(ISOCPP_ERROR, "Function not currently supported");
238 #ifdef _WIN32
239 #pragma warning ( pop ) //re-enable warning to prevent leaking to user code, remove later
240 #endif
241  return *this;
242 }
243 
244 
246 {
247  return this->delegate().value();
248 }
249 
252 const uint8_t* TopicData::begin() const
253 {
254 #ifdef _WIN32
255 #pragma warning( push )
256 #pragma warning( disable : 4702 ) //disable warning caused by temporary exception, remove later
257 #endif
258  ISOCPP_THROW_EXCEPTION(ISOCPP_ERROR, "Function not currently supported");
259 #ifdef _WIN32
260 #pragma warning ( pop ) //re-enable warning to prevent leaking to user code, remove later
261 #endif
262  return NULL;
263 }
264 
267 const uint8_t* TopicData::end() const
268 {
269 #ifdef _WIN32
270 #pragma warning( push )
271 #pragma warning( disable : 4702 ) //disable warning caused by temporary exception, remove later
272 #endif
273  ISOCPP_THROW_EXCEPTION(ISOCPP_ERROR, "Function not currently supported");
274 #ifdef _WIN32
275 #pragma warning ( pop ) //re-enable warning to prevent leaking to user code, remove later
276 #endif
277  return NULL;
278 }
279 
280 //EntityFactory
281 
282 
283 EntityFactory::EntityFactory(bool autoenable_created_entities) : dds::core::Value(autoenable_created_entities) { }
284 
285 
286 EntityFactory::EntityFactory(const EntityFactory& other) : dds::core::Value(other.delegate()) { }
287 
288 
290 {
291  this->delegate().auto_enable(autoenable_created_entities);
292  return *this;
293 }
294 
295 
297 {
298  return this->delegate().auto_enable();
299 }
300 
301 
303 {
304  return EntityFactory(true);
305 }
306 
307 
309 {
310  return EntityFactory(false);
311 }
312 
313 //TransportPriority
314 
315 
316 TransportPriority::TransportPriority(int32_t priority) : dds::core::Value(priority) { }
317 
318 
319 TransportPriority::TransportPriority(const TransportPriority& other) : dds::core::Value(other.delegate()) { }
320 
321 
323 {
324  this->delegate().value(priority);
325  return *this;
326 }
327 
328 
330 {
331  return this->delegate().value();
332 }
333 
334 //TLifeSpan
335 
336 
337 Lifespan::Lifespan(const dds::core::Duration& duration) : dds::core::Value(duration) { }
338 
339 
340 Lifespan::Lifespan(const Lifespan& other) : dds::core::Value(other.delegate()) { }
341 
342 
344 {
345  this->delegate().duration(duration);
346  return *this;
347 }
348 
349 
351 {
352  return this->delegate().duration();
353 }
354 
355 //Deadline
356 
357 
358 Deadline::Deadline(const dds::core::Duration& period) : dds::core::Value(period) { }
359 
360 
361 Deadline::Deadline(const Deadline& other) : dds::core::Value(other.delegate()) { }
362 
363 
365 {
366  this->delegate().period(period);
367  return *this;
368 }
369 
370 
372 {
373  return this->delegate().period();
374 }
375 
376 //LatencyBudget
377 
378 
379 LatencyBudget::LatencyBudget(const dds::core::Duration& duration) : dds::core::Value(duration) { }
380 
381 
382 LatencyBudget::LatencyBudget(const LatencyBudget& other) : dds::core::Value(other.delegate()) { }
383 
384 
386 {
387  this->delegate().duration(duration);
388  return *this;
389 }
390 
391 
393 {
394  return this->delegate().duration();
395 }
396 
397 //TimeBasedFilter
398 
399 TimeBasedFilter::TimeBasedFilter(const dds::core::Duration& minimum_separation) : dds::core::Value(minimum_separation) { }
400 
401 
402 TimeBasedFilter::TimeBasedFilter(const TimeBasedFilter& other) : dds::core::Value(other.delegate()) { }
403 
404 
406 {
407  this->delegate().min_separation(minimum_separation);
408  return *this;
409 }
410 
411 
413 {
414  return this->delegate().min_separation();
415 }
416 
417 //Partition
418 
419 
420 Partition::Partition(const std::string& name) : dds::core::Value(name)
421 {
422 
423 }
424 
425 
426 Partition::Partition(const dds::core::StringSeq& names) : dds::core::Value(names)
427 {
428 
429 }
430 
431 
432 Partition::Partition(const Partition& other) : dds::core::Value(other.delegate())
433 {
434 
435 }
436 
437 
438 Partition&
439 Partition::name(const std::string& name)
440 {
441  this->delegate().name(name);
442  return *this;
443 }
444 
445 
446 Partition&
448 {
449  this->delegate().name(names);
450  return *this;
451 }
452 
453 
456 {
457  return this->delegate().name();
458 }
459 
460 #ifdef OMG_DDS_OWNERSHIP_SUPPORT
461 
462 //Ownership
463 
464 
466 
467 
468 Ownership::Ownership(const Ownership& other) : dds::core::Value(other.delegate()) { }
469 
470 
472 {
473  this->delegate().kind(kind);
474  return *this;
475 }
476 
477 
479 {
480  return this->delegate().kind();
481 }
482 
483 
485 {
487 }
488 
489 
491 {
493 }
494 
495 //OwnershipStrength
496 
497 OwnershipStrength::OwnershipStrength(int32_t strength) : dds::core::Value(strength) { }
498 
499 
500 OwnershipStrength::OwnershipStrength(const OwnershipStrength& other) : dds::core::Value(other.delegate()) { }
501 
502 
504 {
505  return this->delegate().strength();
506 }
507 
508 
510 {
511  this->delegate().strength(strength);
512  return *this;
513 }
514 
515 #endif // OMG_DDS_OWNERSHIP_SUPPORT
516 
517 //TWriterDataLifeCycle
518 
519 WriterDataLifecycle::WriterDataLifecycle(bool autodispose_unregistered_instances) : dds::core::Value(autodispose_unregistered_instances) { }
520 
521 
522 WriterDataLifecycle::WriterDataLifecycle(const WriterDataLifecycle& other) : dds::core::Value(other.delegate()) { }
523 
524 
526 {
527  return this->delegate().autodispose();
528 }
529 
530 
532 {
533  this->delegate().autodispose(autodispose_unregistered_instances);
534  return *this;
535 }
536 
537 
539 {
540  return WriterDataLifecycle(true);
541 }
542 
543 
545 {
546  return WriterDataLifecycle(false);
547 }
548 
549 //ReaderDataLifecycle
550 
551 ReaderDataLifecycle::ReaderDataLifecycle(const dds::core::Duration& autopurge_nowriter_samples_delay, const dds::core::Duration& autopurge_disposed_samples_delay)
552  : dds::core::Value(autopurge_nowriter_samples_delay, autopurge_disposed_samples_delay) { }
553 
554 
556  : dds::core::Value(other.delegate()) { }
557 
558 
560 {
561  return this->delegate().autopurge_nowriter_samples_delay();
562 }
563 
564 
566 {
567  this->delegate().autopurge_nowriter_samples_delay(autopurge_nowriter_samples_delay);
568  return *this;
569 }
570 
571 
573 {
574  return this->delegate().autopurge_disposed_samples_delay();
575 }
576 
577 
579 {
580  this->delegate().autopurge_disposed_samples_delay(autopurge_disposed_samples_delay);
581  return *this;
582 }
583 
584 
586 {
587  return ReaderDataLifecycle();
588 }
589 
590 
592 {
593  return ReaderDataLifecycle().autopurge_disposed_samples_delay(autopurge_disposed_samples_delay);
594 }
595 
596 //Durability
597 
598 
600 
601 
602 Durability::Durability(const Durability& other) : dds::core::Value(other.delegate()) { }
603 
604 
606 {
607  this->delegate().kind(kind);
608  return *this;
609 }
610 
611 
613 {
614  return this->delegate().kind();
615 }
616 
617 
619 {
621 }
622 
623 
625 {
627 }
628 
629 
631 {
633 }
634 
635 
637 {
639 }
640 
641 //Presentation
642 
643 Presentation::Presentation(dds::core::policy::PresentationAccessScopeKind::Type access_scope, bool coherent_access, bool ordered_access)
644  : dds::core::Value(access_scope, coherent_access, ordered_access) { }
645 
646 
648  : dds::core::Value(other.delegate()) { }
649 
650 
652 {
653  this->delegate().access_scope(access_scope);
654  return *this;
655 }
656 
657 
659 {
660  return this->delegate().access_scope();
661 }
662 
663 
665 {
666  this->delegate().coherent_access(coherent_access);
667  return *this;
668 }
669 
670 
672 {
673  return this->delegate().coherent_access();
674 }
675 
676 
678 {
679  this->delegate().ordered_access(ordered_access);
680  return *this;
681 }
682 
683 
685 {
686  return this->delegate().ordered_access();
687 }
688 
689 
691 {
692  return Presentation(dds::core::policy::PresentationAccessScopeKind::GROUP, coherent_access, ordered_access);
693 }
694 
695 
697 {
698  return Presentation(dds::core::policy::PresentationAccessScopeKind::INSTANCE, coherent_access, ordered_access);
699 }
700 
701 
703 {
704  return Presentation(dds::core::policy::PresentationAccessScopeKind::TOPIC, coherent_access, ordered_access);
705 }
706 
707 //Reliability
708 
710  : dds::core::Value(kind, max_blocking_time) { }
711 
712 
714  : dds::core::Value(other.delegate()) { }
715 
716 
718 {
719  this->delegate().kind(kind);
720  return *this;
721 }
722 
723 
725 {
726  return this->delegate().kind();
727 }
728 
729 
731 {
732  this->delegate().max_blocking_time(max_blocking_time);
733  return *this;
734 }
735 
736 
738 {
739  return this->delegate().max_blocking_time();
740 }
741 
742 
744 {
746 }
747 
748 
750 {
752 }
753 
754 //DestinationOrder
755 
756 
758  : dds::core::Value(kind) { }
759 
760 
761 DestinationOrder::DestinationOrder(const DestinationOrder& other) : dds::core::Value(other.delegate()) { }
762 
763 
765 {
766  this->delegate().kind(kind);
767  return *this;
768 }
769 
770 
772 {
773  return this->delegate().kind();
774 }
775 
776 
778 {
780 }
781 
782 
784 {
786 }
787 
788 //History
789 
791  : dds::core::Value(kind, depth) { }
792 
793 
794 History::History(const History& other) : dds::core::Value(other.delegate()) { }
795 
796 
798 {
799  return this->delegate().kind();
800 }
801 
802 
804 {
805  this->delegate().kind(kind);
806  return *this;
807 }
808 
809 
810 int32_t History::depth() const
811 {
812  return this->delegate().depth();
813 }
814 
815 
817 {
818  this->delegate().depth(depth);
819  return *this;
820 }
821 
822 
824 {
826 }
827 
828 
830 {
832 }
833 
834 //ResourceLimits
835 
836 ResourceLimits::ResourceLimits(int32_t max_samples, int32_t max_instances, int32_t max_samples_per_instance)
837  : dds::core::Value(max_samples, max_instances, max_samples_per_instance) { }
838 
839 
841  : dds::core::Value(other.delegate()) { }
842 
843 
845 {
846  this->delegate().max_samples(max_samples);
847  return *this;
848 }
849 
850 
852 {
853  return this->delegate().max_samples();
854 }
855 
856 
858 {
859  this->delegate().max_instances(max_instances);
860  return *this;
861 }
862 
863 
865 {
866  return this->delegate().max_instances();
867 }
868 
869 
871 {
872  this->delegate().max_samples_per_instance(max_samples_per_instance);
873  return *this;
874 }
875 
876 
878 {
879  return this->delegate().max_samples_per_instance();
880 }
881 
882 //Liveliness
883 
885  : dds::core::Value(kind, lease_duration) { }
886 
887 
888 Liveliness::Liveliness(const Liveliness& other) : dds::core::Value(other.delegate()) { }
889 
890 
892 {
893  this->delegate().kind(kind);
894  return *this;
895 }
896 
897 
899 {
900  return this->delegate().kind();
901 }
902 
903 
905 {
906  this->delegate().lease_duration(lease_duration);
907  return *this;
908 }
909 
910 
912 {
913  return this->delegate().lease_duration();
914 }
915 
916 
918 {
920 }
921 
922 
924 {
926 }
927 
928 
930 {
932 }
933 
934 
935 #ifdef OMG_DDS_PERSISTENCE_SUPPORT
936 
937 //DurabilityService
938 
939 
941  const dds::core::Duration& service_cleanup_delay,
943  int32_t history_depth,
944  int32_t max_samples,
945  int32_t max_instances,
946  int32_t max_samples_per_instance)
947  : dds::core::Value(service_cleanup_delay,
948  history_kind,
949  history_depth,
950  max_samples,
951  max_instances,
952  max_samples_per_instance) { }
953 
954 
956  : dds::core::Value(other.delegate()) { }
957 
958 
960 {
961  this->delegate().service_cleanup_delay(service_cleanup_delay);
962  return *this;
963 }
964 
965 
967 {
968  return this->delegate().service_cleanup_delay();
969 }
970 
971 
973 {
974  this->delegate().history_kind(kind);
975  return *this;
976 }
977 
978 
980 {
981  return this->delegate().history_kind();
982 }
983 
984 
986 {
987  this->delegate().history_depth(history_depth);
988  return *this;
989 }
990 
991 
993 {
994  return this->delegate().history_depth();
995 }
996 
997 
999 {
1000  this->delegate().max_samples(max_samples);
1001  return *this;
1002 }
1003 
1004 
1006 {
1007  return this->delegate().max_samples();
1008 }
1009 
1010 
1012 {
1013  this->delegate().max_instances(max_instances);
1014  return *this;
1015 }
1016 
1017 
1019 {
1020  return this->delegate().max_instances();
1021 }
1022 
1023 
1025 {
1026  this->delegate().max_samples_per_instance(max_samples_per_instance);
1027  return *this;
1028 }
1029 
1030 
1032 {
1033  return this->delegate().max_samples_per_instance();
1034 }
1035 
1036 #endif // OMG_DDS_PERSISTENCE_SUPPORT
1037 
1038 
1039 #ifdef OMG_DDS_EXTENSIBLE_AND_DYNAMIC_TOPIC_TYPE_SUPPORT
1040 
1041 //DataRepresentation
1042 
1045 DataRepresentation::DataRepresentation(const dds::core::policy::DataRepresentationIdSeq& value);
1046 
1047 
1048 DataRepresentation::DataRepresentation(const DataRepresentation& other) : dds::core::Value(other.delegate()) { }
1049 
1052 DataRepresentation& DataRepresentation::value(const dds::core::policy::DataRepresentationIdSeq& value);
1053 
1056 const dds::core::policy::DataRepresentationIdSeq DataRepresentation::value() const;
1057 
1058 #endif // defined(OMG_DDS_EXTENSIBLE_AND_DYNAMIC_TOPIC_TYPE_SUPPORT)
1059 
1060 #ifdef OMG_DDS_EXTENSIBLE_AND_DYNAMIC_TOPIC_TYPE_SUPPORT
1061 
1062 //TypeConsistencyEnforcement
1063 
1066 TypeConsistencyEnforcement::TypeConsistencyEnforcement(dds::core::policy::TypeConsistencyEnforcementKind::Type kind) { }
1067 
1070 TypeConsistencyEnforcement& TypeConsistencyEnforcement::kind(dds::core::policy::TypeConsistencyEnforcementKind::Typekind) { }
1071 
1074 dds::core::policy::TypeConsistencyEnforcementKind::Type TypeConsistencyEnforcement::kind() const { }
1075 
1076 #endif // defined(OMG_DDS_EXTENSIBLE_AND_DYNAMIC_TOPIC_TYPE_SUPPORT)
1077 
1078 }
1079 }
1080 }
1081 
1082 // End of implementation
1083 // OMG PSM class declaration
1084 
1085 #endif /* OSPL_DDS_CORE_POLICY_TCOREPOLICY_IMPL_HPP_ */
1086 // OMG PSM class declaration
dds::core::policy::PresentationAccessScopeKind::Type access_scope() const
dds::sub::functors::MaxSamplesManipulatorFunctor max_samples(uint32_t n)
static ReaderDataLifecycle AutoPurgeDisposedSamples(const dds::core::Duration &autopurge_disposed_samples_delay)
static Reliability Reliable(const dds::core::Duration &max_blocking_time=dds::core::Duration::from_millisecs(100))
static ReaderDataLifecycle NoAutoPurgeDisposedSamples()
const dds::core::ByteSeq value() const
EntityFactory(bool autoenable_created_entities=true)
void value(DDT &dd, uint32_t mid, const T &v)
ResourceLimits(int32_t max_samples=dds::core::LENGTH_UNLIMITED, int32_t max_instances=dds::core::LENGTH_UNLIMITED, int32_t max_samples_per_instance=dds::core::LENGTH_UNLIMITED)
static EntityFactory AutoEnable()
dds::core::policy::DurabilityKind::Type kind() const
const dds::core::StringSeq name() const
dds::core::policy::DestinationOrderKind::Type kind() const
DurabilityService(const dds::core::Duration &service_cleanup_delay=dds::core::Duration::zero(), dds::core::policy::HistoryKind::Type history_kind=dds::core::policy::HistoryKind::KEEP_LAST, int32_t history_depth=1, int32_t max_samples=dds::core::LENGTH_UNLIMITED, int32_t max_instances=dds::core::LENGTH_UNLIMITED, int32_t max_samples_per_instance=dds::core::LENGTH_UNLIMITED)
Deadline(const dds::core::Duration &period=dds::core::Duration::infinite())
const uint8_t * end() const
Presentation(dds::core::policy::PresentationAccessScopeKind::Type access_scope=dds::core::policy::PresentationAccessScopeKind::INSTANCE, bool coherent_access=false, bool ordered_access=false)
const dds::core::Duration max_blocking_time() const
dds::core::policy::ReliabilityKind::Type kind() const
This class is the base for various value-type dds objects.
Definition: Value.hpp:28
static Liveliness ManualByTopic(const dds::core::Duration &lease_duration=dds::core::Duration::infinite())
ReaderDataLifecycle(const dds::core::Duration &autopurge_nowriter_samples_delay=dds::core::Duration::infinite(), const dds::core::Duration &autopurge_disposed_samples_delay=dds::core::Duration::infinite())
static const Duration infinite()
dds::core::policy::LivelinessKind::Type kind() const
const dds::core::ByteSeq value() const
static Reliability BestEffort(const dds::core::Duration &max_blocking_time=dds::core::Duration::from_millisecs(100))
Ownership(dds::core::policy::OwnershipKind::Type kind=dds::core::policy::OwnershipKind::SHARED)
DestinationOrder(dds::core::policy::DestinationOrderKind::Type kind=dds::core::policy::DestinationOrderKind::BY_RECEPTION_TIMESTAMP)
static Presentation TopicAccessScope(bool coherent_access=false, bool ordered_access=false)
static Durability TransientLocal()
Liveliness(dds::core::policy::LivelinessKind::Type kind=dds::core::policy::LivelinessKind::AUTOMATIC, const dds::core::Duration &lease_duration=dds::core::Duration::infinite())
static Presentation GroupAccessScope(bool coherent_access=false, bool ordered_access=false)
const dds::core::Duration minimum_separation() const
dds::core::policy::HistoryKind::Type kind() const
static EntityFactory ManuallyEnable()
static WriterDataLifecycle ManuallyDisposeUnregisteredInstances()
Definition: array.hpp:23
static Presentation InstanceAccessScope(bool coherent_access=false, bool ordered_access=false)
const dds::core::Duration lease_duration() const
const uint8_t * begin() const
static DestinationOrder ReceptionTimestamp()
static Durability Persistent()
TimeBasedFilter(const dds::core::Duration &period=dds::core::Duration::zero())
const dds::core::Duration duration() const
const uint8_t * end() const
LatencyBudget(const dds::core::Duration &duration=dds::core::Duration::zero())
std::vector< std::string > StringSeq
Definition: types.hpp:43
dds::core::policy::OwnershipKind::Type kind() const
Durability(dds::core::policy::DurabilityKind::Type kind=dds::core::policy::DurabilityKind::VOLATILE)
static WriterDataLifecycle AutoDisposeUnregisteredInstances()
static Liveliness ManualByParticipant(const dds::core::Duration &lease_duration=dds::core::Duration::infinite())
History(dds::core::policy::HistoryKind::Type kind=dds::core::policy::HistoryKind::KEEP_LAST, int32_t depth=1)
const dds::core::ByteSeq value() const
Partition(const std::string &name="")
const dds::core::Duration autopurge_disposed_samples_delay() const
dds::core::policy::HistoryKind::Type history_kind() const
const uint8_t * end() const
static DestinationOrder SourceTimestamp()
Lifespan(const dds::core::Duration &duration=dds::core::Duration::infinite())
const uint8_t * begin() const
const uint8_t * begin() const
WriterDataLifecycle(bool autodispose_unregistered_instances=true)
Reliability(dds::core::policy::ReliabilityKind::Type kind=dds::core::policy::ReliabilityKind::BEST_EFFORT, const dds::core::Duration &max_blocking_time=dds::core::Duration::from_millisecs(100))
const dds::core::Duration period() const
const dds::core::Duration service_cleanup_delay() const
const dds::core::Duration autopurge_nowriter_samples_delay() const
std::vector< uint8_t > ByteSeq
Definition: types.hpp:38
static History KeepLast(uint32_t depth)
const dds::core::Duration duration() const