forked from OpenDDS/OpenDDS
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request OpenDDS#4519 from mitza-oci/submessage-idl
Support the IDL4 `@value` annotation in IDL-to-C++11 and use it for RTPS SubmessageKind
- Loading branch information
Showing
41 changed files
with
603 additions
and
265 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,12 @@ | ||
// This base project is only meant to be used by the core OpenDDS | ||
// libraries | ||
|
||
project : taoidldefaults { | ||
project: taoidldefaults, dcps_ts_defaults { | ||
idlflags += -Wb,versioning_begin=OPENDDS_BEGIN_VERSIONED_NAMESPACE_DECL \ | ||
-Wb,versioning_end=OPENDDS_END_VERSIONED_NAMESPACE_DECL \ | ||
-Wb,versioning_include=dds/Versioned_Namespace.h | ||
|
||
dcps_ts_flags += -Wb,versioning_begin=OPENDDS_BEGIN_VERSIONED_NAMESPACE_DECL \ | ||
-Wb,versioning_end=OPENDDS_END_VERSIONED_NAMESPACE_DECL \ | ||
-Wb,versioning_name=OPENDDS_VERSIONED_NAMESPACE_NAME | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
/* | ||
* Distributed under the OpenDDS License. | ||
* See: http://www.opendds.org/license.html | ||
*/ | ||
|
||
#ifndef OPENDDS_DCPS_RTPS_RTPSSUBMESSAGEKIND_IDL | ||
#define OPENDDS_DCPS_RTPS_RTPSSUBMESSAGEKIND_IDL | ||
|
||
module OpenDDS { | ||
module RTPS { | ||
|
||
enum SubmessageKind { | ||
@value(0x00) RTPS_HE, /* HeaderExtension */ | ||
@value(0x01) PAD, /* Pad */ | ||
@value(0x06) ACKNACK, /* AckNack */ | ||
@value(0x07) HEARTBEAT, /* Heartbeat */ | ||
@value(0x08) GAP, /* Gap */ | ||
@value(0x09) INFO_TS, /* InfoTimestamp */ | ||
@value(0x0c) INFO_SRC, /* InfoSource */ | ||
@value(0x0d) INFO_REPLY_IP4, /* InfoReplyIp4 */ | ||
@value(0x0e) INFO_DST, /* InfoDestination */ | ||
@value(0x0f) INFO_REPLY, /* InfoReply */ | ||
@value(0x12) NACK_FRAG, /* NackFrag */ | ||
@value(0x13) HEARTBEAT_FRAG, /* HeartbeatFrag */ | ||
@value(0x15) DATA, /* Data */ | ||
@value(0x16) DATA_FRAG, /* DataFrag */ | ||
|
||
// SubmessageKinds 0x30-3f are reserved for DDS Security | ||
@value(0x30) SEC_BODY, | ||
@value(0x31) SEC_PREFIX, | ||
@value(0x32) SEC_POSTFIX, | ||
@value(0x33) SRTPS_PREFIX, | ||
@value(0x34) SRTPS_POSTFIX | ||
|
||
// SubmessageKinds 0x80 and above are vendor-specific | ||
}; | ||
|
||
}; | ||
}; | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.