OpenDDS  Snapshot(2023/04/28-20:55)
RtpsCustomizedElement.h
Go to the documentation of this file.
1 /*
2  *
3  *
4  * Distributed under the OpenDDS License.
5  * See: http://www.opendds.org/license.html
6  */
7 
8 #ifndef OPENDDS_DCPS_TRANSPORT_RTPS_UDP_RTPSCUSTOMIZEDELEMENT_H
9 #define OPENDDS_DCPS_TRANSPORT_RTPS_UDP_RTPSCUSTOMIZEDELEMENT_H
10 
11 #include "Rtps_Udp_Export.h"
12 
14 
16 
18 
19 namespace OpenDDS {
20 namespace DCPS {
21 
24 
25 public:
26 
28  Message_Block_Ptr msg);
29 
30  SequenceNumber last_fragment() const;
31 
32 private:
33 
34  virtual ~RtpsCustomizedElement();
35 
36  TqePair fragment(size_t size);
37  const ACE_Message_Block* msg_payload() const;
38 
40 };
41 
44 
45 
46 } // namespace DCPS
47 } // namespace OpenDDS
48 
50 
51 #if defined (__ACE_INLINE__)
53 #endif /* __ACE_INLINE__ */
54 
55 #endif /* OPENDDS_RTPSCUSTOMIZEDELEMENT_H */
std::pair< TransportQueueElement *, TransportQueueElement * > TqePair
Dynamic_Cached_Allocator_With_Overflow< ACE_Thread_Mutex > RtpsCustomizedElementAllocator
Sequence number abstraction. Only allows positive 64 bit values.
#define OPENDDS_END_VERSIONED_NAMESPACE_DECL
The Internal API and Implementation of OpenDDS.
Definition: AddressCache.h:28
Base wrapper class around a data/control sample to be sent.
#define OpenDDS_Rtps_Udp_Export