8 #ifndef OPENDDS_DCPS_WRITE_DATA_CONTAINER_H 9 #define OPENDDS_DCPS_WRITE_DATA_CONTAINER_H 22 #include <dds/DdsDcpsInfrastructureC.h> 23 #include <dds/DdsDcpsCoreC.h> 32 #if !defined (ACE_LACKS_PRAGMA_ONCE) 41 class InstanceDataSampleList;
43 #ifndef OPENDDS_NO_PERSISTENCE_PROFILE 44 class DataDurabilityCache;
46 class FilterEvaluator;
49 PublicationInstanceMapType;
146 char const * topic_name,
148 char const * type_name,
149 #ifndef OPENDDS_NO_PERSISTENCE_PROFILE
185 #ifndef OPENDDS_NO_CONTENT_FILTERED_TOPIC
217 bool dup_registered_sample =
true);
230 bool dup_registered_sample =
true);
242 size_t num_all_samples();
283 bool dropped_by_transport);
314 void unregister_all();
322 #ifndef OPENDDS_NO_PERSISTENCE_PROFILE 340 void get_instance_handles(InstanceHandleVec& instance_handles);
343 bool deadline_is_infinite,
352 bool dup_registered_sample);
356 friend class ::DDS_TEST;
375 #ifndef OPENDDS_NO_CONTENT_FILTERED_TOPIC
390 void remove_excess_durable();
415 void remove_reader_acks(
const GUID_t& reader);
543 #ifndef OPENDDS_NO_PERSISTENCE_PROFILE 573 void set_deadline_period(
const TimeDuration& deadline_period);
DataSampleElementAllocator sample_list_element_allocator_
RcHandle< PublicationInstance > PublicationInstance_rch
DDS::Duration_t max_blocking_time_
AckedSequenceMap acked_sequences_
const GUID_t GUID_UNKNOWN
Nil value for GUID.
#define OpenDDS_Dcps_Export
GUID_t publication_id_
The publication Id from repo.
CORBA::Long max_num_instances_
Underlying data cache for both OpenDDS TRANSIENT and PERSISTENT DURABILITY implementations..
CORBA::Long max_num_samples_
#define OPENDDS_MULTIMAP(K, T)
SendStateDataSampleList orphaned_to_transport_
ACE_Recursive_Thread_Mutex & deadline_status_lock_
Lock for synchronization of status_ member.
::DDS::ReturnCode_t dispose(in<%SCOPED%> instance_data, in ::DDS::InstanceHandle_t instance_handle)
CORBA::Long history_depth_
DOMAINID_TYPE_NATIVE DomainId_t
WriterDataSampleList data_holder_
Implements the OpenDDS::DCPS::DataWriterRemote interfaces and DDS::DataWriter interfaces.
ACE_Thread_Mutex wfa_lock_
Lock used for wait_for_acks() processing.
DDS::DurabilityServiceQosPolicy const & durability_service_
DURABILITY_SERVICE QoS specific to the DataWriter.
CORBA::Long max_samples_per_instance_
TimeDuration deadline_period_
SendStateDataSampleList sending_data_
List of data that is currently being sent.
typedef OPENDDS_MAP_CMP(GUID_t, WriterCoherentSample, GUID_tKeyLessThan) GroupCoherentSamples
SequenceNumber cached_cumulative_ack_
HANDLE_TYPE_NATIVE InstanceHandle_t
ACE_Recursive_Thread_Mutex lock_
PublicationInstanceMapType instances_
The individual instance queue threads in the data.
bool waiting_on_release_
The block waiting flag.
bool cached_cumulative_ack_valid_
unsigned long long ACE_UINT64
DDS::OfferedDeadlineMissedStatus & deadline_status_
Reference to the missed requested deadline status structure.
SendStateDataSampleList resend_data_
WfaConditionVariableType wfa_condition_
Used to block in wait_for_acks().
DataWriterImpl * writer_
The writer that owns this container.
ConditionVariableType condition_
CORBA::Long max_durable_per_instance_
CORBA::Long & deadline_last_total_count_
Last total_count when status was last checked.
Sequence number abstraction. Only allows positive 64 bit values.
#define OPENDDS_END_VERSIONED_NAMESPACE_DECL
SendStateDataSampleList sent_data_
List of data that has already been sent.
DDS::DomainId_t const domain_id_
Domain ID.
DeadlineMapType deadline_map_
typedef OPENDDS_VECTOR(ActionConnectionRecord) ConnectionRecords
DataDurabilityCache *const durability_cache_
Pointer to the data durability cache.
char const *const topic_name_
Topic name.
ACE_UINT64 transaction_id_
The Internal API and Implementation of OpenDDS.
A container for instances sample data.
ConditionVariable< ACE_Thread_Mutex > WfaConditionVariableType
SendStateDataSampleList unsent_data_
List of data that has not been sent yet.
ConditionVariableType empty_condition_
char const *const type_name_
Type name.
typedef OPENDDS_MAP(OPENDDS_STRING, OPENDDS_STRING) ValueMap
Helper types and functions for config file parsing.
ConditionVariable< ACE_Recursive_Thread_Mutex > ConditionVariableType
sequence< string > StringSeq
bool shutdown_
The flag indicates the datawriter will be destroyed.
RcHandle< DCPS::PmfSporadicTask< WriteDataContainer > > deadline_task_
Timer responsible for reporting missed offered deadlines.