MessageTypes.h

Go to the documentation of this file.
00001 /*
00002  *
00003  *
00004  * Distributed under the OpenDDS License.
00005  * See: http://www.opendds.org/license.html
00006  */
00007 
00008 #ifndef RTPS_MESSAGETYPES_H
00009 #define RTPS_MESSAGETYPES_H
00010 
00011 #include "RtpsCoreC.h"
00012 
00013 OPENDDS_BEGIN_VERSIONED_NAMESPACE_DECL
00014 
00015 namespace OpenDDS {
00016   namespace RTPS {
00017 
00018     // For messages we create, the "octetsToInlineQoS" value will be constant.
00019     const ACE_CDR::UShort DATA_OCTETS_TO_IQOS = 16;
00020     const ACE_CDR::UShort DATA_FRAG_OCTETS_TO_IQOS = 28;
00021 
00022     const ACE_CDR::UShort RTPSHDR_SZ = 20, // size of RTPS Message Header
00023       SMHDR_SZ = 4, // size of SubmessageHeader
00024       HEARTBEAT_SZ = 28, // size (octetsToNextHeader) of HeartBeatSubmessage
00025       INFO_DST_SZ = 12, // size (octetsToNextHeader) of InfoDestSubmessage
00026       INFO_TS_SZ = 8; // size of InfoTimestampSubmessage with FLAG_I == 0
00027 
00028     const OctetArray4
00029       PARTICIPANT_MESSAGE_DATA_KIND_UNKNOWN =
00030         { 0x00, 0x00, 0x00, 0x00 },
00031       PARTICIPANT_MESSAGE_DATA_KIND_AUTOMATIC_LIVELINESS_UPDATE =
00032         { 0x00, 0x00, 0x00, 0x01 },
00033       PARTICIPANT_MESSAGE_DATA_KIND_MANUAL_LIVELINESS_UPDATE =
00034         { 0x00, 0x00, 0x00, 0x02 };
00035 
00036   }
00037 }
00038 
00039 OPENDDS_END_VERSIONED_NAMESPACE_DECL
00040 
00041 #endif /* RTPS_MESSAGETYPES_H */
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 10 Aug 2018 for OpenDDS by  doxygen 1.6.1