E1.20 RDM (Remote Device Management) Protocol Forums  

Go Back   E1.20 RDM (Remote Device Management) Protocol Forums > RDM Developer Forums > RDM General Implementation Discussion

RDM General Implementation Discussion General Discussion and questions relating to implementing RDM in a product.

Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old July 20th, 2019   #1
Junior Member
Join Date: Nov 2018
Location: Oakland, CA, USA
Posts: 19
Default New C++-oriented `rdmconst.h` header

I recreated the intent of `rdm.h` into a new, more C++-oriented, `rdmconst.h` file. Notes about the file:
  1. Uses `constexpr` instead of `#define`s.
  2. Fixes some spelling mistakes from the standard by introducing new constants, but keeping the old constants and tagging them with `[[deprecated("spelling")]]`.
  3. Puts everything into an `rdm` namespace.

Feel free to make comments and suggestions. Consider this a beta version.

The file is attached.
Attached Files
File Type: h rdmconst-beta.h (46.4 KB, 8863 views)
shawn is offline   Reply With Quote


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
RDM Appendix A #define header file attached sblair RDM General Implementation Discussion 12 August 1st, 2012 04:38 AM

All times are GMT -6. The time now is 04:44 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2021, vBulletin Solutions, Inc.