21 #ifndef OSPL_DDS_CORE_POLICY_TCOREPOLICY_IMPL_HPP_ 22 #define OSPL_DDS_CORE_POLICY_TCOREPOLICY_IMPL_HPP_ 32 #include <org/opensplice/core/ReportUtils.hpp> 55 ISOCPP_THROW_EXCEPTION(ISOCPP_ERROR,
"Function not currently supported");
64 this->delegate().value(sequence);
70 template <
typename OCTET_ITER>
74 #pragma warning( push ) 75 #pragma warning( disable : 4702 ) //disable warning caused by temporary exception, remove later 77 ISOCPP_THROW_EXCEPTION(ISOCPP_ERROR,
"Function not currently supported");
79 #pragma warning ( pop ) //re-enable warning to prevent leaking to user code, remove later 87 return this->delegate().value();
95 #pragma warning( push ) 96 #pragma warning( disable : 4702 ) //disable warning caused by temporary exception, remove later 98 ISOCPP_THROW_EXCEPTION(ISOCPP_ERROR,
"Function not currently supported");
100 #pragma warning ( pop ) //re-enable warning to prevent leaking to user code, remove later 110 #pragma warning( push ) 111 #pragma warning( disable : 4702 ) //disable warning caused by temporary exception, remove later 113 ISOCPP_THROW_EXCEPTION(ISOCPP_ERROR,
"Function not currently supported");
115 #pragma warning ( pop ) //re-enable warning to prevent leaking to user code, remove later 135 #pragma warning( push ) 136 #pragma warning( disable : 4702 ) //disable warning caused by temporary exception, remove later 138 ISOCPP_THROW_EXCEPTION(ISOCPP_ERROR,
"Function not currently supported");
140 #pragma warning ( pop ) //re-enable warning to prevent leaking to user code, remove later 147 this->delegate().value(sequence);
153 template <
typename OCTET_ITER>
157 #pragma warning( push ) 158 #pragma warning( disable : 4702 ) //disable warning caused by temporary exception, remove later 160 ISOCPP_THROW_EXCEPTION(ISOCPP_ERROR,
"Function not currently supported");
162 #pragma warning ( pop ) //re-enable warning to prevent leaking to user code, remove later 170 return this->delegate().value();
178 #pragma warning( push ) 179 #pragma warning( disable : 4702 ) //disable warning caused by temporary exception, remove later 181 ISOCPP_THROW_EXCEPTION(ISOCPP_ERROR,
"Function not currently supported");
183 #pragma warning ( pop ) //re-enable warning to prevent leaking to user code, remove later 193 #pragma warning( push ) 194 #pragma warning( disable : 4702 ) //disable warning caused by temporary exception, remove later 196 ISOCPP_THROW_EXCEPTION(ISOCPP_ERROR,
"Function not currently supported");
198 #pragma warning ( pop ) //re-enable warning to prevent leaking to user code, remove later 218 ISOCPP_THROW_EXCEPTION(ISOCPP_ERROR,
"Function not currently supported");
224 this->delegate().value(sequence);
230 template <
typename OCTET_ITER>
234 #pragma warning( push ) 235 #pragma warning( disable : 4702 ) //disable warning caused by temporary exception, remove later 237 ISOCPP_THROW_EXCEPTION(ISOCPP_ERROR,
"Function not currently supported");
239 #pragma warning ( pop ) //re-enable warning to prevent leaking to user code, remove later 247 return this->delegate().value();
255 #pragma warning( push ) 256 #pragma warning( disable : 4702 ) //disable warning caused by temporary exception, remove later 258 ISOCPP_THROW_EXCEPTION(ISOCPP_ERROR,
"Function not currently supported");
260 #pragma warning ( pop ) //re-enable warning to prevent leaking to user code, remove later 270 #pragma warning( push ) 271 #pragma warning( disable : 4702 ) //disable warning caused by temporary exception, remove later 273 ISOCPP_THROW_EXCEPTION(ISOCPP_ERROR,
"Function not currently supported");
275 #pragma warning ( pop ) //re-enable warning to prevent leaking to user code, remove later 291 this->delegate().auto_enable(autoenable_created_entities);
298 return this->delegate().auto_enable();
324 this->delegate().value(priority);
331 return this->delegate().value();
345 this->delegate().duration(duration);
352 return this->delegate().duration();
366 this->delegate().period(period);
373 return this->delegate().period();
387 this->delegate().duration(duration);
394 return this->delegate().duration();
407 this->delegate().min_separation(minimum_separation);
414 return this->delegate().min_separation();
441 this->delegate().name(name);
449 this->delegate().name(names);
457 return this->delegate().name();
460 #ifdef OMG_DDS_OWNERSHIP_SUPPORT 473 this->delegate().kind(kind);
480 return this->delegate().kind();
505 return this->delegate().strength();
511 this->delegate().strength(strength);
515 #endif // OMG_DDS_OWNERSHIP_SUPPORT 527 return this->delegate().autodispose();
533 this->delegate().autodispose(autodispose_unregistered_instances);
552 :
dds::core::
Value(autopurge_nowriter_samples_delay, autopurge_disposed_samples_delay) { }
556 :
dds::core::
Value(other.delegate()) { }
561 return this->delegate().autopurge_nowriter_samples_delay();
567 this->delegate().autopurge_nowriter_samples_delay(autopurge_nowriter_samples_delay);
574 return this->delegate().autopurge_disposed_samples_delay();
580 this->delegate().autopurge_disposed_samples_delay(autopurge_disposed_samples_delay);
593 return ReaderDataLifecycle().autopurge_disposed_samples_delay(autopurge_disposed_samples_delay);
607 this->delegate().kind(kind);
614 return this->delegate().kind();
644 :
dds::core::
Value(access_scope, coherent_access, ordered_access) { }
648 :
dds::core::
Value(other.delegate()) { }
653 this->delegate().access_scope(access_scope);
660 return this->delegate().access_scope();
666 this->delegate().coherent_access(coherent_access);
673 return this->delegate().coherent_access();
679 this->delegate().ordered_access(ordered_access);
686 return this->delegate().ordered_access();
710 :
dds::core::
Value(kind, max_blocking_time) { }
714 :
dds::core::
Value(other.delegate()) { }
719 this->delegate().kind(kind);
726 return this->delegate().kind();
732 this->delegate().max_blocking_time(max_blocking_time);
739 return this->delegate().max_blocking_time();
766 this->delegate().kind(kind);
773 return this->delegate().kind();
799 return this->delegate().kind();
805 this->delegate().kind(kind);
812 return this->delegate().depth();
818 this->delegate().depth(depth);
837 :
dds::core::
Value(max_samples, max_instances, max_samples_per_instance) { }
841 :
dds::core::
Value(other.delegate()) { }
846 this->delegate().max_samples(max_samples);
853 return this->delegate().max_samples();
859 this->delegate().max_instances(max_instances);
866 return this->delegate().max_instances();
872 this->delegate().max_samples_per_instance(max_samples_per_instance);
879 return this->delegate().max_samples_per_instance();
885 :
dds::core::
Value(kind, lease_duration) { }
893 this->delegate().kind(kind);
900 return this->delegate().kind();
906 this->delegate().lease_duration(lease_duration);
913 return this->delegate().lease_duration();
935 #ifdef OMG_DDS_PERSISTENCE_SUPPORT 943 int32_t history_depth,
945 int32_t max_instances,
946 int32_t max_samples_per_instance)
947 :
dds::core::
Value(service_cleanup_delay,
952 max_samples_per_instance) { }
956 :
dds::core::
Value(other.delegate()) { }
961 this->delegate().service_cleanup_delay(service_cleanup_delay);
968 return this->delegate().service_cleanup_delay();
974 this->delegate().history_kind(kind);
981 return this->delegate().history_kind();
987 this->delegate().history_depth(history_depth);
994 return this->delegate().history_depth();
1000 this->delegate().max_samples(max_samples);
1007 return this->delegate().max_samples();
1013 this->delegate().max_instances(max_instances);
1020 return this->delegate().max_instances();
1026 this->delegate().max_samples_per_instance(max_samples_per_instance);
1033 return this->delegate().max_samples_per_instance();
1036 #endif // OMG_DDS_PERSISTENCE_SUPPORT 1039 #ifdef OMG_DDS_EXTENSIBLE_AND_DYNAMIC_TOPIC_TYPE_SUPPORT 1045 DataRepresentation::DataRepresentation(
const dds::core::policy::DataRepresentationIdSeq&
value);
1048 DataRepresentation::DataRepresentation(
const DataRepresentation& other) :
dds::core::Value(other.delegate()) { }
1058 #endif // defined(OMG_DDS_EXTENSIBLE_AND_DYNAMIC_TOPIC_TYPE_SUPPORT) 1060 #ifdef OMG_DDS_EXTENSIBLE_AND_DYNAMIC_TOPIC_TYPE_SUPPORT 1070 TypeConsistencyEnforcement& TypeConsistencyEnforcement::kind(dds::core::policy::TypeConsistencyEnforcementKind::Typekind) { }
1076 #endif // defined(OMG_DDS_EXTENSIBLE_AND_DYNAMIC_TOPIC_TYPE_SUPPORT)
dds::core::policy::PresentationAccessScopeKind::Type access_scope() const
static Ownership Shared()
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()
bool ordered_access() const
const dds::core::ByteSeq value() const
bool autodispose_unregistered_instances() 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()
int32_t max_samples() const
dds::core::policy::DurabilityKind::Type kind() const
const dds::core::StringSeq name() const
TransportPriority(int32_t priority=0)
dds::core::policy::DestinationOrderKind::Type kind() const
int32_t max_samples_per_instance() 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
static Ownership Exclusive()
This class is the base for various value-type dds objects.
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
int32_t max_samples() const
const dds::core::ByteSeq value() const
int32_t max_samples_per_instance() 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)
OwnershipStrength(int32_t strength=0)
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()
static Durability Transient()
bool autoenable_created_entities() const
int32_t history_depth() const
bool coherent_access() const
static Presentation InstanceAccessScope(bool coherent_access=false, bool ordered_access=false)
const dds::core::Duration lease_duration() const
const uint8_t * begin() const
static Liveliness Automatic()
static DestinationOrder ReceptionTimestamp()
static Durability Persistent()
TimeBasedFilter(const dds::core::Duration &period=dds::core::Duration::zero())
int32_t max_instances() const
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
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())
int32_t max_instances() const
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
static History KeepLast(uint32_t depth)
const dds::core::Duration duration() const
static Durability Volatile()