cpp: RTypesI: use static locals in place of duplicated globals
cpp: callbacks: Move constant strings out of header into anonymous namespace
Merge pull request #2435 from rleigh-dundee/cpp-rtypesi-locals

cpp: RTypesI: use static locals in place of duplicated globals