RtpsUdpDataLink.cpp File Reference

#include "RtpsUdpDataLink.h"
#include "RtpsUdpTransport.h"
#include "RtpsUdpInst.h"
#include "dds/DCPS/transport/framework/TransportCustomizedElement.h"
#include "dds/DCPS/transport/framework/TransportSendElement.h"
#include "dds/DCPS/transport/framework/TransportSendControlElement.h"
#include "dds/DCPS/transport/framework/NetworkAddress.h"
#include "dds/DCPS/RTPS/RtpsCoreTypeSupportImpl.h"
#include "dds/DCPS/RTPS/BaseMessageUtils.h"
#include "dds/DCPS/RTPS/BaseMessageTypes.h"
#include "dds/DCPS/RTPS/MessageTypes.h"
#include "ace/Default_Constants.h"
#include "ace/Log_Msg.h"
#include "ace/Message_Block.h"
#include "ace/Reverse_Lock_T.h"
#include "ace/Reactor.h"
#include <string.h>
#include "RtpsUdpDataLink.inl"

Include dependency graph for RtpsUdpDataLink.cpp:

Go to the source code of this file.

Namespaces

namespace  OpenDDS
namespace  OpenDDS::DCPS

Functions

CORBA::ULong bitmap_num_longs (const OpenDDS::DCPS::SequenceNumber &low, const OpenDDS::DCPS::SequenceNumber &high)
ACE_Message_Block * OpenDDS::DCPS::submsgs_to_msgblock (const RTPS::SubmessageSeq &subm)


Function Documentation

CORBA::ULong @66::bitmap_num_longs ( const OpenDDS::DCPS::SequenceNumber low,
const OpenDDS::DCPS::SequenceNumber high 
) [static]

Return the number of CORBA::Longs required for the bitmap representation of sequence numbers between low and high, inclusive (maximum 8 longs).

Definition at line 39 of file RtpsUdpDataLink.cpp.

References OpenDDS::DCPS::SequenceNumber::getValue().

Referenced by OpenDDS::DCPS::RtpsUdpDataLink::marshal_gaps(), and OpenDDS::DCPS::RtpsUdpDataLink::send_ack_nacks().

00041 {
00042   return std::min(CORBA::ULong(8),
00043                   CORBA::ULong((high.getValue() - low.getValue() + 32) / 32));
00044 }


Generated on Fri Feb 12 20:05:43 2016 for OpenDDS by  doxygen 1.4.7