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

Method DeviceWrapper

src/osvr/Common/DeviceWrapper.cpp:37–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35namespace common {
36
37 DeviceWrapper::DeviceWrapper(std::string const &name,
38 vrpn_ConnectionPtr const &conn, bool client)
39 : vrpn_BaseClass(name.c_str(), conn.get()), m_conn(conn),
40 m_client(client) {
41 vrpn_BaseClass::init();
42 m_setup(conn, common::RawSenderType(d_sender_id), name);
43
44 // Clients: don't print "haven't heard from server" messages.
45 if (client) {
46 shutup = true;
47 }
48 }
49
50 DeviceWrapper::~DeviceWrapper() {}
51

Callers

nothing calls this directly

Calls 2

RawSenderTypeClass · 0.85
getMethod · 0.45

Tested by

no test coverage detected