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

Method sendData

src/osvr/Connection/DeviceToken.cpp:81–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79std::string const &OSVR_DeviceTokenObject::getName() const { return m_name; }
80
81void OSVR_DeviceTokenObject::sendData(MessageType *type, const char *bytestream,
82 size_t len) {
83 osvr::util::time::TimeValue tv;
84 osvr::util::time::getNow(tv);
85 m_sendData(tv, type, bytestream, len);
86}
87void OSVR_DeviceTokenObject::sendData(
88 osvr::util::time::TimeValue const &timestamp, MessageType *type,
89 const char *bytestream, size_t len) {

Callers 7

m_sendDataMethod · 0.45
m_sendDataMethod · 0.45
m_sendDataMethod · 0.45
m_sendDataMethod · 0.45
osvrDeviceSendDataFunction · 0.45
updateMethod · 0.45

Calls 1

getNowFunction · 0.85

Tested by

no test coverage detected