RTI Connext DDS Micro
Version 2.4.6
Main Page
Related Pages
Manuals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
rtps_rtps_impl.h
Go to the documentation of this file.
1
/*
2
* FILE: rtps_rtps_impl.h
3
*
4
* Copyright 2004-2015 Real-Time Innovations, Inc.
5
*
6
* No duplications, whole or partial, manual or electronic, may be made
7
* without express written permission. Any such copies, or
8
* revisions thereof, must display this notice unaltered.
9
* This code contains trade secrets of Real-Time Innovations, Inc.
10
*
11
* Modification History
12
* --------------------
13
* 23feb2015,eh MICRO-1081: fix function/var names to conform to coding std
14
* 23feb2015,eh MICRO-1075: remove and replace macros
15
* 09may2014,eh MICRO-261 (Verocel PR#1421): remove RTPS_SubmessageId_toString
16
* for Cert
17
* 22oct2008,rmw Added well-known ports
18
* 26jun2008,rmw Added new functions for RTPS 2.0 support
19
* 01dec2004,cc Created, based on Waveworks tree.
20
*/
21
22
/*e \file
23
* \brief Implementation of RTPS interface functions and types
24
*
25
* \details
26
* RTPS protocol defined types, implemented in C.
27
*
28
*
29
*/
30
31
#ifndef rtps_rtps_impl_h
32
#define rtps_rtps_impl_h
33
34
35
#ifndef reda_sequenceNumber_h
36
#include "reda/reda_sequenceNumber.h"
37
#endif
38
39
/* -------------------------------------------------------------------------- */
40
/*ci \brief Get major field of vendor ID */
41
#define RTPS_VendorId_get_major(vendor) (*(vendor) >> 8)
42
43
/*ci \brief Get minor field of vendor ID */
44
#define RTPS_VendorId_get_minor(vendor) (*(vendor) & 0x00ff)
45
46
/* -------------------------------------------------------------------------- */
47
/*ci \brief Deserialize epoch of HEARTBEAT or ACKNACK from stream buffer */
48
#define RTPS_Epoch_deserialize(me_, stream_, swap_) \
49
CDR_deserialize_long((stream_), (me_), (swap_))
50
51
/*ci \brief Serialized size of 2 octets */
52
#define RTPS_get_2_octets_max_size_serialized(size_) (2)
53
54
#endif
/* rtps_rtps_impl_h */
RTI Connext DDS Micro Version 2.4.6
Copyright © Mon Jan 25 2016
Real-Time Innovations, Inc