ConnectionDevice implementation for a VrpnBasedConnection. More...
#include <osvr/Connection/VrpnConnectionDevice.h>
Public Member Functions | |
| VrpnConnectionDevice (DeviceInitObject &init, vrpn_ConnectionPtr const &vrpnConn) | |
| virtual void | m_process () |
| (Subclass implementation) Process messages. This shouldn't block. | |
| virtual void | m_sendData (util::time::TimeValue const ×tamp, MessageType *type, const char *bytestream, size_t len) |
| (Subclass implementation) Send message. | |
Public Member Functions inherited from osvr::connection::ConnectionDevice | |
| virtual | ~ConnectionDevice () |
| destructor | |
| std::string const & | getName () const |
| accessor for (primary) device name | |
| NameList const & | getNames () const |
| accessor for device names | |
| void | process () |
| Process messages. This shouldn't block. More... | |
| void | sendData (util::time::TimeValue const ×tamp, MessageType *type, const char *bytestream, size_t len) |
| Send message (as primary device name) | |
| void | setDeviceToken (DeviceToken &token) |
| For use only by DeviceToken. | |
| void | setDeviceDescriptor (std::string const &jsonString) |
| Send new/updated JSON device descriptor. More... | |
| std::string const & | getDeviceDescriptor () const |
| Get the most current JSON device descriptor. | |
Additional Inherited Members | |
Public Types inherited from osvr::connection::ConnectionDevice | |
| typedef std::vector< std::string > | NameList |
Protected Member Functions inherited from osvr::connection::ConnectionDevice | |
| bool | m_hasDeviceToken () const |
| Does this connection device have a device token? Should be true in nearly every case. | |
| DeviceToken & | m_getDeviceToken () |
| accessor for device token | |
| ConnectionDevice (std::string const &name) | |
| Constructor for use by derived classes only. | |
| ConnectionDevice (NameList const &names) | |
| Constructor for use by derived classes only. | |
ConnectionDevice implementation for a VrpnBasedConnection.
Definition at line 44 of file VrpnConnectionDevice.h.