VISR  0.11.8
Versatile Interactive Scene Renderer
visr::CommunicationProtocolToId< CommunicationProtocolClass > Struct Template Reference

#include <communication_protocol_type.hpp>

Detailed Description

template<class CommunicationProtocolClass>
struct visr::CommunicationProtocolToId< CommunicationProtocolClass >

Type trait (metaprogramming construct) for compile-time translation between a type and its corresponding ID. Must be specialized by derived parameter types, with the specialized template definining an unnamed enum with a value 'id' holding the type id of this type For convenience the macro DEFINE_COMMUNICATION_PROTOCOL should be used.


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