OpenDDS  Snapshot(2023/04/28-20:55)
Public Member Functions | Private Member Functions | Private Attributes | List of all members
OpenDDS::DCPS::RtpsUdpDataLink::ReplayDurableData Class Reference
Inheritance diagram for OpenDDS::DCPS::RtpsUdpDataLink::ReplayDurableData:
Inheritance graph
[legend]
Collaboration diagram for OpenDDS::DCPS::RtpsUdpDataLink::ReplayDurableData:
Collaboration graph
[legend]

Public Member Functions

 ReplayDurableData (WeakRcHandle< RtpsUdpDataLink > link, const GUID_t &local_pub_id, const GUID_t &remote_sub_id)
 
- Public Member Functions inherited from OpenDDS::DCPS::EventBase
virtual ~EventBase ()
 
virtual void handle_error ()
 Only called when an exception is caught during handle_event. More...
 
virtual void handle_cancel ()
 
void operator() ()
 
- 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
 

Private Member Functions

void handle_event ()
 Called when the event is dispatched by an EventDispatcher. More...
 

Private Attributes

WeakRcHandle< RtpsUdpDataLinklink_
 
const GUID_t local_pub_id_
 
const GUID_t remote_sub_id_
 

Additional Inherited Members

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

Detailed Description

Definition at line 400 of file RtpsUdpDataLink.h.

Constructor & Destructor Documentation

◆ ReplayDurableData()

OpenDDS::DCPS::RtpsUdpDataLink::ReplayDurableData::ReplayDurableData ( WeakRcHandle< RtpsUdpDataLink link,
const GUID_t local_pub_id,
const GUID_t remote_sub_id 
)
inline

Definition at line 402 of file RtpsUdpDataLink.h.

403  : link_(link)
404  , local_pub_id_(local_pub_id)
405  , remote_sub_id_(remote_sub_id)
406  {}

Member Function Documentation

◆ handle_event()

void OpenDDS::DCPS::RtpsUdpDataLink::ReplayDurableData::handle_event ( )
inlineprivatevirtual

Called when the event is dispatched by an EventDispatcher.

Implements OpenDDS::DCPS::EventBase.

Definition at line 413 of file RtpsUdpDataLink.h.

References OpenDDS::DCPS::WeakRcHandle< T >::lock(), and OpenDDS::DCPS::DataLink::replay_durable_data().

413  {
414  RtpsUdpDataLink_rch link = link_.lock();
415 
416  if (!link) {
417  return;
418  }
419 
420  link->replay_durable_data(local_pub_id_, remote_sub_id_);
421  }
RcHandle< RtpsUdpDataLink > RtpsUdpDataLink_rch

Member Data Documentation

◆ link_

WeakRcHandle<RtpsUdpDataLink> OpenDDS::DCPS::RtpsUdpDataLink::ReplayDurableData::link_
private

Definition at line 409 of file RtpsUdpDataLink.h.

◆ local_pub_id_

const GUID_t OpenDDS::DCPS::RtpsUdpDataLink::ReplayDurableData::local_pub_id_
private

Definition at line 410 of file RtpsUdpDataLink.h.

◆ remote_sub_id_

const GUID_t OpenDDS::DCPS::RtpsUdpDataLink::ReplayDurableData::remote_sub_id_
private

Definition at line 411 of file RtpsUdpDataLink.h.


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