OpenDDS::DCPS::DataWriterImpl::AckToken Struct Reference

#include <DataWriterImpl.h>

Collaboration diagram for OpenDDS::DCPS::DataWriterImpl::AckToken:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 AckToken (const DDS::Duration_t &max_wait, const SequenceNumber &sequence)
 ~AckToken ()
ACE_Time_Value deadline () const
DDS::Time_t timestamp () const

Public Attributes

ACE_Time_Value tstamp_
DDS::Duration_t max_wait_
SequenceNumber sequence_

Detailed Description

Definition at line 89 of file DataWriterImpl.h.


Constructor & Destructor Documentation

OpenDDS::DCPS::DataWriterImpl::AckToken::AckToken ( const DDS::Duration_t max_wait,
const SequenceNumber sequence 
) [inline]

Definition at line 94 of file DataWriterImpl.h.

00096       : tstamp_(ACE_OS::gettimeofday()),
00097         max_wait_(max_wait),
00098         sequence_(sequence) {}

OpenDDS::DCPS::DataWriterImpl::AckToken::~AckToken (  )  [inline]

Definition at line 100 of file DataWriterImpl.h.

00100 {}


Member Function Documentation

ACE_Time_Value OpenDDS::DCPS::DataWriterImpl::AckToken::deadline (  )  const [inline]

Definition at line 102 of file DataWriterImpl.h.

References OpenDDS::DCPS::duration_to_absolute_time_value().

Referenced by OpenDDS::DCPS::DataWriterImpl::wait_for_specific_ack().

00102                                     {
00103       return duration_to_absolute_time_value(this->max_wait_, this->tstamp_);
00104     }

DDS::Time_t OpenDDS::DCPS::DataWriterImpl::AckToken::timestamp (  )  const [inline]

Definition at line 106 of file DataWriterImpl.h.

References OpenDDS::DCPS::time_value_to_time().

00106                                 {
00107       return time_value_to_time(this->tstamp_);
00108     }


Member Data Documentation

DDS::Duration_t OpenDDS::DCPS::DataWriterImpl::AckToken::max_wait_

Definition at line 91 of file DataWriterImpl.h.

SequenceNumber OpenDDS::DCPS::DataWriterImpl::AckToken::sequence_

Definition at line 92 of file DataWriterImpl.h.

Referenced by OpenDDS::DCPS::DataWriterImpl::wait_for_acknowledgments(), and OpenDDS::DCPS::DataWriterImpl::wait_for_specific_ack().

ACE_Time_Value OpenDDS::DCPS::DataWriterImpl::AckToken::tstamp_

Definition at line 90 of file DataWriterImpl.h.


The documentation for this struct was generated from the following file:
Generated on Fri Feb 12 20:06:14 2016 for OpenDDS by  doxygen 1.4.7