MCPcopy Create free account
hub / github.com/OSVR/OSVR-Core / MessageHandler

Method MessageHandler

inc/osvr/Common/MessageHandler.h:92–96  ·  view source on GitHub ↗

@brief Constructor taking your handler's basic info, and optionally a sender, and optionally a message type

Source from the content-addressed store, hash-verified

90 /// @brief Constructor taking your handler's basic info, and optionally
91 /// a sender, and optionally a message type
92 MessageHandler(handler_type handler, void *userdata = nullptr,
93 RawSenderType sender = RawSenderType(),
94 RawMessageType msgType = RawMessageType())
95 : m_handler(handler), m_data(userdata), m_sender(sender),
96 m_msgType(msgType) {}
97
98 /// @brief Constructor taking your handler's basic info and a message
99 /// type

Callers

nothing calls this directly

Calls 2

RawSenderTypeClass · 0.85
RawMessageTypeClass · 0.85

Tested by

no test coverage detected