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.

Reply
 
Thread Tools Search this Thread Display Modes
Old July 20th, 2019   #1
shawn
Junior Member
 
Join Date: Nov 2018
Location: Oakland, CA, USA
Posts: 18
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, 106 views)
shawn is offline   Reply With Quote
Old July 20th, 2019   #2
shawn
Junior Member
 
Join Date: Nov 2018
Location: Oakland, CA, USA
Posts: 18
Default

I've updated to a new version with more constants from E1.37-7. This one is `rdmconst-beta2.h`.
Attached Files
File Type: h rdmconst-beta2.h (52.1 KB, 36 views)
shawn is offline   Reply With Quote
Reply

Bookmarks

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 07:33 AM.


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