OSVR-Core
Public Member Functions | Static Public Member Functions | List of all members
osvr::common::MessageRegistration< Derived > Class Template Reference

CRTP class template wrapping message-specific data and/or logic. More...

#include <MessageRegistration.h>

Public Member Functions

RawMessageType getMessageType () const
 
void setMessageType (RawMessageType msgType)
 

Static Public Member Functions

static const char * identifier ()
 

Detailed Description

template<typename Derived>
class osvr::common::MessageRegistration< Derived >

CRTP class template wrapping message-specific data and/or logic.

Template Parameters
DerivedDerived class, your message-specific type: must have a static const char * identifier() method returning the string ID of the message.

The documentation for this class was generated from the following file: