25 #ifndef INCLUDED_MessageRegistration_h_GUID_F431F1DB_4193_42AB_3376_C67740E2C6FE
26 #define INCLUDED_MessageRegistration_h_GUID_F431F1DB_4193_42AB_3376_C67740E2C6FE
46 static const char *identifier() {
return Derived::identifier(); }
52 Derived &derived() {
return *
static_cast<Derived *
>(
this); }
53 Derived
const &derived()
const {
54 return *
static_cast<Derived
const *
>(
this);
61 #endif // INCLUDED_MessageRegistration_h_GUID_F431F1DB_4193_42AB_3376_C67740E2C6FE
CRTP class template wrapping message-specific data and/or logic.
Type-safe wrapper with built-in default for a VRPN "message type" integer.