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]

List of all members.

Public Member Functions

 PublicationInstance (Message_Block_Ptr registered_sample)
 ~PublicationInstance ()

Public Attributes

SequenceNumber sequence_
 The sequence number.
CoherencyGroup group_id_
 The group id. // NOT USED IN FIRST IMPL.
Message_Block_Ptr registered_sample_
 The sample data for registration.
InstanceDataSampleList samples_
 History of the instance samples.
bool unregistered_
 The flag to indicate whether the instance is unregistered.
DDS::InstanceHandle_t instance_handle_
 The instance handle for the registered object.
ACE_Time_Value last_sample_tv_
ACE_Time_Value cur_sample_tv_
long deadline_timer_id_
ssize_t durable_samples_remaining_
 Only used by WriteDataContainer::reenqueue_all() while WDC is locked.

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 39 of file PublicationInstance.h.


Constructor & Destructor Documentation

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

Definition at line 41 of file PublicationInstance.h.

References release().

00042     : sequence_(),
00043       group_id_(0),
00044       registered_sample_(registered_sample.release()),
00045       unregistered_(false),
00046       instance_handle_(0),
00047       deadline_timer_id_(-1),
00048       durable_samples_remaining_(0) {
00049   }

Here is the call graph for this function:

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

Definition at line 51 of file PublicationInstance.h.

00051                          {
00052   }


Member Data Documentation

Definition at line 74 of file PublicationInstance.h.

Definition at line 76 of file PublicationInstance.h.

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

Definition at line 79 of file PublicationInstance.h.

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

Definition at line 58 of file PublicationInstance.h.

The instance handle for the registered object.

Definition at line 70 of file PublicationInstance.h.

Definition at line 72 of file PublicationInstance.h.

The sample data for registration.

Definition at line 61 of file PublicationInstance.h.

History of the instance samples.

Definition at line 64 of file PublicationInstance.h.

The sequence number.

Definition at line 55 of file PublicationInstance.h.

The flag to indicate whether the instance is unregistered.

Definition at line 67 of file PublicationInstance.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 10 Aug 2018 for OpenDDS by  doxygen 1.6.1