OpenDDS  Snapshot(2023/04/07-19:43)
Public Member Functions | Public Attributes | List of all members
OpenDDS::DCPS::PublicationInstance Class Reference

Struct that has information about an instance and the instance sample list. More...

#include <PublicationInstance.h>

Inheritance diagram for OpenDDS::DCPS::PublicationInstance:
Inheritance graph
[legend]
Collaboration diagram for OpenDDS::DCPS::PublicationInstance:
Collaboration graph
[legend]

Public Member Functions

 PublicationInstance (Message_Block_Ptr registered_sample)
 
 ~PublicationInstance ()
 
- Public Member Functions inherited from OpenDDS::DCPS::RcObject
virtual ~RcObject ()
 
virtual void _add_ref ()
 
virtual void _remove_ref ()
 
long ref_count () const
 
WeakObject_get_weak_object () const
 

Public Attributes

SequenceNumber sequence_
 The sequence number. More...
 
CoherencyGroup group_id_
 The group id. // NOT USED IN FIRST IMPL. More...
 
Message_Block_Ptr registered_sample_
 The sample data for registration. More...
 
InstanceDataSampleList samples_
 History of the instance samples. More...
 
DDS::InstanceHandle_t instance_handle_
 The instance handle for the registered object. More...
 
ssize_t durable_samples_remaining_
 Only used by WriteDataContainer::reenqueue_all() while WDC is locked. More...
 
MonotonicTimePoint deadline_
 Deadline for Deadline QoS. More...
 

Additional Inherited Members

- Protected Member Functions inherited from OpenDDS::DCPS::RcObject
 RcObject ()
 

Detailed Description

Struct that has information about an instance and the instance sample list.

Note
This struct retains the ownership of the registered sample data from typed datawriter. The data will be duplicated for the register, unregister and dispose control message.

Definition at line 40 of file PublicationInstance.h.

Constructor & Destructor Documentation

◆ PublicationInstance()

OpenDDS::DCPS::PublicationInstance::PublicationInstance ( Message_Block_Ptr  registered_sample)
inline

Definition at line 42 of file PublicationInstance.h.

References release().

43  : sequence_(),
44  group_id_(0),
45  registered_sample_(registered_sample.release()),
48  deadline_()
49  {
50  }
ssize_t durable_samples_remaining_
Only used by WriteDataContainer::reenqueue_all() while WDC is locked.
SequenceNumber sequence_
The sequence number.
CoherencyGroup group_id_
The group id. // NOT USED IN FIRST IMPL.
DDS::InstanceHandle_t instance_handle_
The instance handle for the registered object.
Message_Block_Ptr registered_sample_
The sample data for registration.
MonotonicTimePoint deadline_
Deadline for Deadline QoS.

◆ ~PublicationInstance()

OpenDDS::DCPS::PublicationInstance::~PublicationInstance ( )
inline

Definition at line 52 of file PublicationInstance.h.

52  {
53  }

Member Data Documentation

◆ deadline_

MonotonicTimePoint OpenDDS::DCPS::PublicationInstance::deadline_

◆ durable_samples_remaining_

ssize_t OpenDDS::DCPS::PublicationInstance::durable_samples_remaining_

Only used by WriteDataContainer::reenqueue_all() while WDC is locked.

Definition at line 71 of file PublicationInstance.h.

Referenced by OpenDDS::DCPS::WriteDataContainer::copy_and_prepend().

◆ group_id_

CoherencyGroup OpenDDS::DCPS::PublicationInstance::group_id_

The group id. // NOT USED IN FIRST IMPL.

Definition at line 59 of file PublicationInstance.h.

◆ instance_handle_

DDS::InstanceHandle_t OpenDDS::DCPS::PublicationInstance::instance_handle_

The instance handle for the registered object.

Definition at line 68 of file PublicationInstance.h.

Referenced by OpenDDS::DCPS::WriteDataContainer::process_deadlines(), and OpenDDS::DCPS::WriteDataContainer::register_instance().

◆ registered_sample_

Message_Block_Ptr OpenDDS::DCPS::PublicationInstance::registered_sample_

The sample data for registration.

Definition at line 62 of file PublicationInstance.h.

Referenced by OpenDDS::DCPS::WriteDataContainer::register_instance(), and OpenDDS::DCPS::WriteDataContainer::remove_instance().

◆ samples_

InstanceDataSampleList OpenDDS::DCPS::PublicationInstance::samples_

◆ sequence_

SequenceNumber OpenDDS::DCPS::PublicationInstance::sequence_

The sequence number.

Definition at line 56 of file PublicationInstance.h.


The documentation for this class was generated from the following file: