| 35 | namespace 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 |
nothing calls this directly
no test coverage detected