6 #ifndef OPENDDS_DCPS_TRANSPORT_SHMEM_SHMEMDATALINK_H 7 #define OPENDDS_DCPS_TRANSPORT_SHMEM_SHMEMDATALINK_H 29 class ReceivedDataSample;
56 bool open(
const std::string& peer_address);
58 int make_reservation(
const GUID_t& remote_pub,
64 void stop_resend_association_msgs(
const GUID_t& local,
const GUID_t& remote);
68 std::string local_address();
69 std::string peer_address();
75 void read() { recv_strategy_->read(); }
76 void signal_semaphore();
84 virtual void stop_i();
87 void send_association_msg(
const GUID_t& local,
const GUID_t& remote);
107 #ifdef __ACE_INLINE__ ShmemSendStrategy_rch send_strategy_
ACE_Thread_Mutex assoc_resends_mutex_
DCPS::RcHandle< SmPeriodicTask > assoc_resends_task_
ShmemReceiveStrategy_rch recv_strategy_
ACE_Thread_Mutex peer_alloc_mutex_
static const ACE_UINT32 TRANSPORT_HDR_SERIALIZED_SZ(28)
ACE_HANDLE open(const char *filename, int mode, mode_t perms=ACE_DEFAULT_OPEN_PERMS, LPSECURITY_ATTRIBUTES sa=0)
Holds a data sample received by the transport.
std::string peer_address_
char transport_header_[TRANSPORT_HDR_SERIALIZED_SZ]
ACE_Based_Pointer_Basic< char > payload_
ShmemAllocator * peer_alloc_
std::set< GuidPair > AssocResends
#define OPENDDS_END_VERSIONED_NAMESPACE_DECL
PmfPeriodicTask< ShmemDataLink > SmPeriodicTask
AssocResends assoc_resends_
The Internal API and Implementation of OpenDDS.
ReactorTask_rch reactor_task_
#define OpenDDS_Shmem_Export